-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon CodeBuild SDK.
--
-- Derived from API version 2016-10-06 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- 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.
--
-- It is recommended to use generic lenses or optics from packages such
-- as generic-lens or optics to modify optional fields and
-- deconstruct responses.
--
-- Generated lenses can be found in Amazonka.CodeBuild.Lens and
-- are suitable for use with a lens package such as lens or
-- lens-family-core.
--
-- See Amazonka.CodeBuild and the AWS documentation to get
-- started.
@package amazonka-codebuild
@version 2.0
module Amazonka.CodeBuild.Types.ArtifactNamespace
newtype ArtifactNamespace
ArtifactNamespace' :: Text -> ArtifactNamespace
[fromArtifactNamespace] :: ArtifactNamespace -> Text
pattern ArtifactNamespace_BUILD_ID :: ArtifactNamespace
pattern ArtifactNamespace_NONE :: ArtifactNamespace
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance GHC.Read.Read Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
instance GHC.Show.Show Amazonka.CodeBuild.Types.ArtifactNamespace.ArtifactNamespace
module Amazonka.CodeBuild.Types.ArtifactPackaging
newtype ArtifactPackaging
ArtifactPackaging' :: Text -> ArtifactPackaging
[fromArtifactPackaging] :: ArtifactPackaging -> Text
pattern ArtifactPackaging_NONE :: ArtifactPackaging
pattern ArtifactPackaging_ZIP :: ArtifactPackaging
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance GHC.Read.Read Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
instance GHC.Show.Show Amazonka.CodeBuild.Types.ArtifactPackaging.ArtifactPackaging
module Amazonka.CodeBuild.Types.ArtifactsType
newtype ArtifactsType
ArtifactsType' :: Text -> ArtifactsType
[fromArtifactsType] :: ArtifactsType -> Text
pattern ArtifactsType_CODEPIPELINE :: ArtifactsType
pattern ArtifactsType_NO_ARTIFACTS :: ArtifactsType
pattern ArtifactsType_S3 :: ArtifactsType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance GHC.Read.Read Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
instance GHC.Show.Show Amazonka.CodeBuild.Types.ArtifactsType.ArtifactsType
module Amazonka.CodeBuild.Types.AuthType
newtype AuthType
AuthType' :: Text -> AuthType
[fromAuthType] :: AuthType -> Text
pattern AuthType_BASIC_AUTH :: AuthType
pattern AuthType_OAUTH :: AuthType
pattern AuthType_PERSONAL_ACCESS_TOKEN :: AuthType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.AuthType.AuthType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.AuthType.AuthType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.AuthType.AuthType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.AuthType.AuthType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.AuthType.AuthType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.AuthType.AuthType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.AuthType.AuthType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.AuthType.AuthType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.AuthType.AuthType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.AuthType.AuthType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.AuthType.AuthType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.AuthType.AuthType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.AuthType.AuthType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.AuthType.AuthType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.AuthType.AuthType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.AuthType.AuthType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.AuthType.AuthType
instance GHC.Read.Read Amazonka.CodeBuild.Types.AuthType.AuthType
instance GHC.Show.Show Amazonka.CodeBuild.Types.AuthType.AuthType
module Amazonka.CodeBuild.Types.BatchReportModeType
newtype BatchReportModeType
BatchReportModeType' :: Text -> BatchReportModeType
[fromBatchReportModeType] :: BatchReportModeType -> Text
pattern BatchReportModeType_REPORT_AGGREGATED_BATCH :: BatchReportModeType
pattern BatchReportModeType_REPORT_INDIVIDUAL_BUILDS :: BatchReportModeType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance GHC.Read.Read Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
instance GHC.Show.Show Amazonka.CodeBuild.Types.BatchReportModeType.BatchReportModeType
module Amazonka.CodeBuild.Types.BatchRestrictions
-- | Specifies restrictions for the batch build.
--
-- See: newBatchRestrictions smart constructor.
data BatchRestrictions
BatchRestrictions' :: Maybe [Text] -> Maybe Int -> BatchRestrictions
-- | An array of strings that specify the compute types that are allowed
-- for the batch build. See Build environment compute types in the
-- CodeBuild User Guide for these values.
[$sel:computeTypesAllowed:BatchRestrictions'] :: BatchRestrictions -> Maybe [Text]
-- | Specifies the maximum number of builds allowed.
[$sel:maximumBuildsAllowed:BatchRestrictions'] :: BatchRestrictions -> Maybe Int
-- | Create a value of BatchRestrictions with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:computeTypesAllowed:BatchRestrictions',
-- batchRestrictions_computeTypesAllowed - An array of strings
-- that specify the compute types that are allowed for the batch build.
-- See Build environment compute types in the CodeBuild User
-- Guide for these values.
--
-- $sel:maximumBuildsAllowed:BatchRestrictions',
-- batchRestrictions_maximumBuildsAllowed - Specifies the maximum
-- number of builds allowed.
newBatchRestrictions :: BatchRestrictions
-- | An array of strings that specify the compute types that are allowed
-- for the batch build. See Build environment compute types in the
-- CodeBuild User Guide for these values.
batchRestrictions_computeTypesAllowed :: Lens' BatchRestrictions (Maybe [Text])
-- | Specifies the maximum number of builds allowed.
batchRestrictions_maximumBuildsAllowed :: Lens' BatchRestrictions (Maybe Int)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.BatchRestrictions.BatchRestrictions
instance GHC.Show.Show Amazonka.CodeBuild.Types.BatchRestrictions.BatchRestrictions
instance GHC.Read.Read Amazonka.CodeBuild.Types.BatchRestrictions.BatchRestrictions
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.BatchRestrictions.BatchRestrictions
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.BatchRestrictions.BatchRestrictions
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.BatchRestrictions.BatchRestrictions
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.BatchRestrictions.BatchRestrictions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.BatchRestrictions.BatchRestrictions
module Amazonka.CodeBuild.Types.BucketOwnerAccess
-- | Specifies the bucket owner's access for objects that another account
-- uploads to their Amazon S3 bucket. By default, only the account that
-- uploads the objects to the bucket has access to these objects. This
-- property allows you to give the bucket owner access to these objects.
--
-- To use this property, your CodeBuild service role must have the
-- s3:PutBucketAcl permission. This permission allows CodeBuild
-- to modify the access control list for the bucket.
--
-- This property can be one of the following values:
--
--
-- - NONE The bucket owner does not have access to the objects.
-- This is the default.
-- - READ_ONLY The bucket owner has read-only access to the
-- objects. The uploading account retains ownership of the objects.
-- - FULL The bucket owner has full access to the objects.
-- Object ownership is determined by the following criteria:
- If
-- the bucket is configured with the Bucket owner preferred
-- setting, the bucket owner owns the objects. The uploading account will
-- have object access as specified by the bucket's
-- policy.
- Otherwise, the uploading account retains ownership of
-- the objects.
For more information about Amazon S3 object
-- ownership, see Controlling ownership of uploaded objects using S3
-- Object Ownership in the Amazon Simple Storage Service User
-- Guide.
--
newtype BucketOwnerAccess
BucketOwnerAccess' :: Text -> BucketOwnerAccess
[fromBucketOwnerAccess] :: BucketOwnerAccess -> Text
pattern BucketOwnerAccess_FULL :: BucketOwnerAccess
pattern BucketOwnerAccess_NONE :: BucketOwnerAccess
pattern BucketOwnerAccess_READ_ONLY :: BucketOwnerAccess
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance GHC.Read.Read Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
instance GHC.Show.Show Amazonka.CodeBuild.Types.BucketOwnerAccess.BucketOwnerAccess
module Amazonka.CodeBuild.Types.BuildArtifacts
-- | Information about build output artifacts.
--
-- See: newBuildArtifacts smart constructor.
data BuildArtifacts
BuildArtifacts' :: Maybe Text -> Maybe BucketOwnerAccess -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> BuildArtifacts
-- | An identifier for this artifact definition.
[$sel:artifactIdentifier:BuildArtifacts'] :: BuildArtifacts -> Maybe Text
[$sel:bucketOwnerAccess:BuildArtifacts'] :: BuildArtifacts -> Maybe BucketOwnerAccess
-- | Information that tells you if encryption for build artifacts is
-- disabled.
[$sel:encryptionDisabled:BuildArtifacts'] :: BuildArtifacts -> Maybe Bool
-- | Information about the location of the build artifacts.
[$sel:location:BuildArtifacts'] :: BuildArtifacts -> Maybe Text
-- | The MD5 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
[$sel:md5sum:BuildArtifacts'] :: BuildArtifacts -> Maybe Text
-- | If this flag is set, a name specified in the buildspec file overrides
-- the artifact name. The name specified in a buildspec file is
-- calculated at build time and uses the Shell Command Language. For
-- example, you can append a date and time to your artifact name so that
-- it is always unique.
[$sel:overrideArtifactName:BuildArtifacts'] :: BuildArtifacts -> Maybe Bool
-- | The SHA-256 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
[$sel:sha256sum:BuildArtifacts'] :: BuildArtifacts -> Maybe Text
-- | Create a value of BuildArtifacts with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:artifactIdentifier:BuildArtifacts',
-- buildArtifacts_artifactIdentifier - An identifier for this
-- artifact definition.
--
-- $sel:bucketOwnerAccess:BuildArtifacts',
-- buildArtifacts_bucketOwnerAccess - Undocumented member.
--
-- $sel:encryptionDisabled:BuildArtifacts',
-- buildArtifacts_encryptionDisabled - Information that tells you
-- if encryption for build artifacts is disabled.
--
-- $sel:location:BuildArtifacts', buildArtifacts_location -
-- Information about the location of the build artifacts.
--
-- $sel:md5sum:BuildArtifacts', buildArtifacts_md5sum - The
-- MD5 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
--
-- $sel:overrideArtifactName:BuildArtifacts',
-- buildArtifacts_overrideArtifactName - If this flag is set, a
-- name specified in the buildspec file overrides the artifact name. The
-- name specified in a buildspec file is calculated at build time and
-- uses the Shell Command Language. For example, you can append a date
-- and time to your artifact name so that it is always unique.
--
-- $sel:sha256sum:BuildArtifacts', buildArtifacts_sha256sum
-- - The SHA-256 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
newBuildArtifacts :: BuildArtifacts
-- | An identifier for this artifact definition.
buildArtifacts_artifactIdentifier :: Lens' BuildArtifacts (Maybe Text)
-- | Undocumented member.
buildArtifacts_bucketOwnerAccess :: Lens' BuildArtifacts (Maybe BucketOwnerAccess)
-- | Information that tells you if encryption for build artifacts is
-- disabled.
buildArtifacts_encryptionDisabled :: Lens' BuildArtifacts (Maybe Bool)
-- | Information about the location of the build artifacts.
buildArtifacts_location :: Lens' BuildArtifacts (Maybe Text)
-- | The MD5 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
buildArtifacts_md5sum :: Lens' BuildArtifacts (Maybe Text)
-- | If this flag is set, a name specified in the buildspec file overrides
-- the artifact name. The name specified in a buildspec file is
-- calculated at build time and uses the Shell Command Language. For
-- example, you can append a date and time to your artifact name so that
-- it is always unique.
buildArtifacts_overrideArtifactName :: Lens' BuildArtifacts (Maybe Bool)
-- | The SHA-256 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
buildArtifacts_sha256sum :: Lens' BuildArtifacts (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.BuildArtifacts.BuildArtifacts
instance GHC.Show.Show Amazonka.CodeBuild.Types.BuildArtifacts.BuildArtifacts
instance GHC.Read.Read Amazonka.CodeBuild.Types.BuildArtifacts.BuildArtifacts
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.BuildArtifacts.BuildArtifacts
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.BuildArtifacts.BuildArtifacts
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.BuildArtifacts.BuildArtifacts
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.BuildArtifacts.BuildArtifacts
module Amazonka.CodeBuild.Types.BuildBatchPhaseType
newtype BuildBatchPhaseType
BuildBatchPhaseType' :: Text -> BuildBatchPhaseType
[fromBuildBatchPhaseType] :: BuildBatchPhaseType -> Text
pattern BuildBatchPhaseType_COMBINE_ARTIFACTS :: BuildBatchPhaseType
pattern BuildBatchPhaseType_DOWNLOAD_BATCHSPEC :: BuildBatchPhaseType
pattern BuildBatchPhaseType_FAILED :: BuildBatchPhaseType
pattern BuildBatchPhaseType_IN_PROGRESS :: BuildBatchPhaseType
pattern BuildBatchPhaseType_STOPPED :: BuildBatchPhaseType
pattern BuildBatchPhaseType_SUBMITTED :: BuildBatchPhaseType
pattern BuildBatchPhaseType_SUCCEEDED :: BuildBatchPhaseType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance GHC.Read.Read Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
instance GHC.Show.Show Amazonka.CodeBuild.Types.BuildBatchPhaseType.BuildBatchPhaseType
module Amazonka.CodeBuild.Types.BuildNotDeleted
-- | Information about a build that could not be successfully deleted.
--
-- See: newBuildNotDeleted smart constructor.
data BuildNotDeleted
BuildNotDeleted' :: Maybe Text -> Maybe Text -> BuildNotDeleted
-- | The ID of the build that could not be successfully deleted.
[$sel:id:BuildNotDeleted'] :: BuildNotDeleted -> Maybe Text
-- | Additional information about the build that could not be successfully
-- deleted.
[$sel:statusCode:BuildNotDeleted'] :: BuildNotDeleted -> Maybe Text
-- | Create a value of BuildNotDeleted with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:BuildNotDeleted', buildNotDeleted_id - The ID of
-- the build that could not be successfully deleted.
--
-- $sel:statusCode:BuildNotDeleted',
-- buildNotDeleted_statusCode - Additional information about the
-- build that could not be successfully deleted.
newBuildNotDeleted :: BuildNotDeleted
-- | The ID of the build that could not be successfully deleted.
buildNotDeleted_id :: Lens' BuildNotDeleted (Maybe Text)
-- | Additional information about the build that could not be successfully
-- deleted.
buildNotDeleted_statusCode :: Lens' BuildNotDeleted (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.BuildNotDeleted.BuildNotDeleted
instance GHC.Show.Show Amazonka.CodeBuild.Types.BuildNotDeleted.BuildNotDeleted
instance GHC.Read.Read Amazonka.CodeBuild.Types.BuildNotDeleted.BuildNotDeleted
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.BuildNotDeleted.BuildNotDeleted
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.BuildNotDeleted.BuildNotDeleted
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.BuildNotDeleted.BuildNotDeleted
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.BuildNotDeleted.BuildNotDeleted
module Amazonka.CodeBuild.Types.BuildPhaseType
newtype BuildPhaseType
BuildPhaseType' :: Text -> BuildPhaseType
[fromBuildPhaseType] :: BuildPhaseType -> Text
pattern BuildPhaseType_BUILD :: BuildPhaseType
pattern BuildPhaseType_COMPLETED :: BuildPhaseType
pattern BuildPhaseType_DOWNLOAD_SOURCE :: BuildPhaseType
pattern BuildPhaseType_FINALIZING :: BuildPhaseType
pattern BuildPhaseType_INSTALL :: BuildPhaseType
pattern BuildPhaseType_POST_BUILD :: BuildPhaseType
pattern BuildPhaseType_PRE_BUILD :: BuildPhaseType
pattern BuildPhaseType_PROVISIONING :: BuildPhaseType
pattern BuildPhaseType_QUEUED :: BuildPhaseType
pattern BuildPhaseType_SUBMITTED :: BuildPhaseType
pattern BuildPhaseType_UPLOAD_ARTIFACTS :: BuildPhaseType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance GHC.Read.Read Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
instance GHC.Show.Show Amazonka.CodeBuild.Types.BuildPhaseType.BuildPhaseType
module Amazonka.CodeBuild.Types.BuildStatusConfig
-- | Contains information that defines how the CodeBuild build project
-- reports the build status to the source provider.
--
-- See: newBuildStatusConfig smart constructor.
data BuildStatusConfig
BuildStatusConfig' :: Maybe Text -> Maybe Text -> BuildStatusConfig
-- | Specifies the context of the build status CodeBuild sends to the
-- source provider. The usage of this parameter depends on the source
-- provider.
--
--
-- - Bitbucket This parameter is used for the name
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the context parameter in the GitHub commit status. For more
-- information, see Create a commit status in the GitHub developer
-- guide.
--
[$sel:context:BuildStatusConfig'] :: BuildStatusConfig -> Maybe Text
-- | Specifies the target url of the build status CodeBuild sends to the
-- source provider. The usage of this parameter depends on the source
-- provider.
--
--
-- - Bitbucket This parameter is used for the url
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the target_url parameter in the GitHub commit status. For
-- more information, see Create a commit status in the GitHub
-- developer guide.
--
[$sel:targetUrl:BuildStatusConfig'] :: BuildStatusConfig -> Maybe Text
-- | Create a value of BuildStatusConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:context:BuildStatusConfig',
-- buildStatusConfig_context - Specifies the context of the build
-- status CodeBuild sends to the source provider. The usage of this
-- parameter depends on the source provider.
--
--
-- - Bitbucket This parameter is used for the name
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the context parameter in the GitHub commit status. For more
-- information, see Create a commit status in the GitHub developer
-- guide.
--
--
-- $sel:targetUrl:BuildStatusConfig',
-- buildStatusConfig_targetUrl - Specifies the target url of the
-- build status CodeBuild sends to the source provider. The usage of this
-- parameter depends on the source provider.
--
--
-- - Bitbucket This parameter is used for the url
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the target_url parameter in the GitHub commit status. For
-- more information, see Create a commit status in the GitHub
-- developer guide.
--
newBuildStatusConfig :: BuildStatusConfig
-- | Specifies the context of the build status CodeBuild sends to the
-- source provider. The usage of this parameter depends on the source
-- provider.
--
--
-- - Bitbucket This parameter is used for the name
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the context parameter in the GitHub commit status. For more
-- information, see Create a commit status in the GitHub developer
-- guide.
--
buildStatusConfig_context :: Lens' BuildStatusConfig (Maybe Text)
-- | Specifies the target url of the build status CodeBuild sends to the
-- source provider. The usage of this parameter depends on the source
-- provider.
--
--
-- - Bitbucket This parameter is used for the url
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the target_url parameter in the GitHub commit status. For
-- more information, see Create a commit status in the GitHub
-- developer guide.
--
buildStatusConfig_targetUrl :: Lens' BuildStatusConfig (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.BuildStatusConfig.BuildStatusConfig
instance GHC.Show.Show Amazonka.CodeBuild.Types.BuildStatusConfig.BuildStatusConfig
instance GHC.Read.Read Amazonka.CodeBuild.Types.BuildStatusConfig.BuildStatusConfig
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.BuildStatusConfig.BuildStatusConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.BuildStatusConfig.BuildStatusConfig
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.BuildStatusConfig.BuildStatusConfig
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.BuildStatusConfig.BuildStatusConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.BuildStatusConfig.BuildStatusConfig
module Amazonka.CodeBuild.Types.CacheMode
newtype CacheMode
CacheMode' :: Text -> CacheMode
[fromCacheMode] :: CacheMode -> Text
pattern CacheMode_LOCAL_CUSTOM_CACHE :: CacheMode
pattern CacheMode_LOCAL_DOCKER_LAYER_CACHE :: CacheMode
pattern CacheMode_LOCAL_SOURCE_CACHE :: CacheMode
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance GHC.Read.Read Amazonka.CodeBuild.Types.CacheMode.CacheMode
instance GHC.Show.Show Amazonka.CodeBuild.Types.CacheMode.CacheMode
module Amazonka.CodeBuild.Types.CacheType
newtype CacheType
CacheType' :: Text -> CacheType
[fromCacheType] :: CacheType -> Text
pattern CacheType_LOCAL :: CacheType
pattern CacheType_NO_CACHE :: CacheType
pattern CacheType_S3 :: CacheType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.CacheType.CacheType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.CacheType.CacheType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.CacheType.CacheType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.CacheType.CacheType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.CacheType.CacheType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.CacheType.CacheType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.CacheType.CacheType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.CacheType.CacheType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.CacheType.CacheType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.CacheType.CacheType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.CacheType.CacheType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.CacheType.CacheType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.CacheType.CacheType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.CacheType.CacheType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.CacheType.CacheType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.CacheType.CacheType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.CacheType.CacheType
instance GHC.Read.Read Amazonka.CodeBuild.Types.CacheType.CacheType
instance GHC.Show.Show Amazonka.CodeBuild.Types.CacheType.CacheType
module Amazonka.CodeBuild.Types.CodeCoverage
-- | Contains code coverage report information.
--
-- Line coverage measures how many statements your tests cover. A
-- statement is a single instruction, not including comments,
-- conditionals, etc.
--
-- Branch coverage determines if your tests cover every possible branch
-- of a control structure, such as an if or case
-- statement.
--
-- See: newCodeCoverage smart constructor.
data CodeCoverage
CodeCoverage' :: Maybe Double -> Maybe Natural -> Maybe Natural -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe Natural -> Maybe Natural -> Maybe Text -> CodeCoverage
-- | The percentage of branches that are covered by your tests.
[$sel:branchCoveragePercentage:CodeCoverage'] :: CodeCoverage -> Maybe Double
-- | The number of conditional branches that are covered by your tests.
[$sel:branchesCovered:CodeCoverage'] :: CodeCoverage -> Maybe Natural
-- | The number of conditional branches that are not covered by your tests.
[$sel:branchesMissed:CodeCoverage'] :: CodeCoverage -> Maybe Natural
-- | The date and time that the tests were run.
[$sel:expired:CodeCoverage'] :: CodeCoverage -> Maybe POSIX
-- | The path of the test report file.
[$sel:filePath:CodeCoverage'] :: CodeCoverage -> Maybe Text
-- | The identifier of the code coverage report.
[$sel:id:CodeCoverage'] :: CodeCoverage -> Maybe Text
-- | The percentage of lines that are covered by your tests.
[$sel:lineCoveragePercentage:CodeCoverage'] :: CodeCoverage -> Maybe Double
-- | The number of lines that are covered by your tests.
[$sel:linesCovered:CodeCoverage'] :: CodeCoverage -> Maybe Natural
-- | The number of lines that are not covered by your tests.
[$sel:linesMissed:CodeCoverage'] :: CodeCoverage -> Maybe Natural
-- | The ARN of the report.
[$sel:reportARN:CodeCoverage'] :: CodeCoverage -> Maybe Text
-- | Create a value of CodeCoverage with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:branchCoveragePercentage:CodeCoverage',
-- codeCoverage_branchCoveragePercentage - The percentage of
-- branches that are covered by your tests.
--
-- $sel:branchesCovered:CodeCoverage',
-- codeCoverage_branchesCovered - The number of conditional
-- branches that are covered by your tests.
--
-- $sel:branchesMissed:CodeCoverage',
-- codeCoverage_branchesMissed - The number of conditional
-- branches that are not covered by your tests.
--
-- $sel:expired:CodeCoverage', codeCoverage_expired - The
-- date and time that the tests were run.
--
-- $sel:filePath:CodeCoverage', codeCoverage_filePath - The
-- path of the test report file.
--
-- $sel:id:CodeCoverage', codeCoverage_id - The identifier
-- of the code coverage report.
--
-- $sel:lineCoveragePercentage:CodeCoverage',
-- codeCoverage_lineCoveragePercentage - The percentage of lines
-- that are covered by your tests.
--
-- $sel:linesCovered:CodeCoverage',
-- codeCoverage_linesCovered - The number of lines that are
-- covered by your tests.
--
-- $sel:linesMissed:CodeCoverage', codeCoverage_linesMissed
-- - The number of lines that are not covered by your tests.
--
-- $sel:reportARN:CodeCoverage', codeCoverage_reportARN -
-- The ARN of the report.
newCodeCoverage :: CodeCoverage
-- | The percentage of branches that are covered by your tests.
codeCoverage_branchCoveragePercentage :: Lens' CodeCoverage (Maybe Double)
-- | The number of conditional branches that are covered by your tests.
codeCoverage_branchesCovered :: Lens' CodeCoverage (Maybe Natural)
-- | The number of conditional branches that are not covered by your tests.
codeCoverage_branchesMissed :: Lens' CodeCoverage (Maybe Natural)
-- | The date and time that the tests were run.
codeCoverage_expired :: Lens' CodeCoverage (Maybe UTCTime)
-- | The path of the test report file.
codeCoverage_filePath :: Lens' CodeCoverage (Maybe Text)
-- | The identifier of the code coverage report.
codeCoverage_id :: Lens' CodeCoverage (Maybe Text)
-- | The percentage of lines that are covered by your tests.
codeCoverage_lineCoveragePercentage :: Lens' CodeCoverage (Maybe Double)
-- | The number of lines that are covered by your tests.
codeCoverage_linesCovered :: Lens' CodeCoverage (Maybe Natural)
-- | The number of lines that are not covered by your tests.
codeCoverage_linesMissed :: Lens' CodeCoverage (Maybe Natural)
-- | The ARN of the report.
codeCoverage_reportARN :: Lens' CodeCoverage (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.CodeCoverage.CodeCoverage
instance GHC.Show.Show Amazonka.CodeBuild.Types.CodeCoverage.CodeCoverage
instance GHC.Read.Read Amazonka.CodeBuild.Types.CodeCoverage.CodeCoverage
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.CodeCoverage.CodeCoverage
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.CodeCoverage.CodeCoverage
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.CodeCoverage.CodeCoverage
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.CodeCoverage.CodeCoverage
module Amazonka.CodeBuild.Types.CodeCoverageReportSummary
-- | Contains a summary of a code coverage report.
--
-- Line coverage measures how many statements your tests cover. A
-- statement is a single instruction, not including comments,
-- conditionals, etc.
--
-- Branch coverage determines if your tests cover every possible branch
-- of a control structure, such as an if or case
-- statement.
--
-- See: newCodeCoverageReportSummary smart constructor.
data CodeCoverageReportSummary
CodeCoverageReportSummary' :: Maybe Double -> Maybe Natural -> Maybe Natural -> Maybe Double -> Maybe Natural -> Maybe Natural -> CodeCoverageReportSummary
-- | The percentage of branches that are covered by your tests.
[$sel:branchCoveragePercentage:CodeCoverageReportSummary'] :: CodeCoverageReportSummary -> Maybe Double
-- | The number of conditional branches that are covered by your tests.
[$sel:branchesCovered:CodeCoverageReportSummary'] :: CodeCoverageReportSummary -> Maybe Natural
-- | The number of conditional branches that are not covered by your tests.
[$sel:branchesMissed:CodeCoverageReportSummary'] :: CodeCoverageReportSummary -> Maybe Natural
-- | The percentage of lines that are covered by your tests.
[$sel:lineCoveragePercentage:CodeCoverageReportSummary'] :: CodeCoverageReportSummary -> Maybe Double
-- | The number of lines that are covered by your tests.
[$sel:linesCovered:CodeCoverageReportSummary'] :: CodeCoverageReportSummary -> Maybe Natural
-- | The number of lines that are not covered by your tests.
[$sel:linesMissed:CodeCoverageReportSummary'] :: CodeCoverageReportSummary -> Maybe Natural
-- | Create a value of CodeCoverageReportSummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:branchCoveragePercentage:CodeCoverageReportSummary',
-- codeCoverageReportSummary_branchCoveragePercentage - The
-- percentage of branches that are covered by your tests.
--
-- $sel:branchesCovered:CodeCoverageReportSummary',
-- codeCoverageReportSummary_branchesCovered - The number of
-- conditional branches that are covered by your tests.
--
-- $sel:branchesMissed:CodeCoverageReportSummary',
-- codeCoverageReportSummary_branchesMissed - The number of
-- conditional branches that are not covered by your tests.
--
-- $sel:lineCoveragePercentage:CodeCoverageReportSummary',
-- codeCoverageReportSummary_lineCoveragePercentage - The
-- percentage of lines that are covered by your tests.
--
-- $sel:linesCovered:CodeCoverageReportSummary',
-- codeCoverageReportSummary_linesCovered - The number of lines
-- that are covered by your tests.
--
-- $sel:linesMissed:CodeCoverageReportSummary',
-- codeCoverageReportSummary_linesMissed - The number of lines
-- that are not covered by your tests.
newCodeCoverageReportSummary :: CodeCoverageReportSummary
-- | The percentage of branches that are covered by your tests.
codeCoverageReportSummary_branchCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double)
-- | The number of conditional branches that are covered by your tests.
codeCoverageReportSummary_branchesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural)
-- | The number of conditional branches that are not covered by your tests.
codeCoverageReportSummary_branchesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural)
-- | The percentage of lines that are covered by your tests.
codeCoverageReportSummary_lineCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double)
-- | The number of lines that are covered by your tests.
codeCoverageReportSummary_linesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural)
-- | The number of lines that are not covered by your tests.
codeCoverageReportSummary_linesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.CodeCoverageReportSummary.CodeCoverageReportSummary
instance GHC.Show.Show Amazonka.CodeBuild.Types.CodeCoverageReportSummary.CodeCoverageReportSummary
instance GHC.Read.Read Amazonka.CodeBuild.Types.CodeCoverageReportSummary.CodeCoverageReportSummary
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.CodeCoverageReportSummary.CodeCoverageReportSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.CodeCoverageReportSummary.CodeCoverageReportSummary
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.CodeCoverageReportSummary.CodeCoverageReportSummary
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.CodeCoverageReportSummary.CodeCoverageReportSummary
module Amazonka.CodeBuild.Types.ComputeType
newtype ComputeType
ComputeType' :: Text -> ComputeType
[fromComputeType] :: ComputeType -> Text
pattern ComputeType_BUILD_GENERAL1_2XLARGE :: ComputeType
pattern ComputeType_BUILD_GENERAL1_LARGE :: ComputeType
pattern ComputeType_BUILD_GENERAL1_MEDIUM :: ComputeType
pattern ComputeType_BUILD_GENERAL1_SMALL :: ComputeType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance GHC.Read.Read Amazonka.CodeBuild.Types.ComputeType.ComputeType
instance GHC.Show.Show Amazonka.CodeBuild.Types.ComputeType.ComputeType
module Amazonka.CodeBuild.Types.CredentialProviderType
newtype CredentialProviderType
CredentialProviderType' :: Text -> CredentialProviderType
[fromCredentialProviderType] :: CredentialProviderType -> Text
pattern CredentialProviderType_SECRETS_MANAGER :: CredentialProviderType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance GHC.Read.Read Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
instance GHC.Show.Show Amazonka.CodeBuild.Types.CredentialProviderType.CredentialProviderType
module Amazonka.CodeBuild.Types.DebugSession
-- | Contains information about the debug session for a build. For more
-- information, see Viewing a running build in Session Manager.
--
-- See: newDebugSession smart constructor.
data DebugSession
DebugSession' :: Maybe Bool -> Maybe Text -> DebugSession
-- | Specifies if session debugging is enabled for this build.
[$sel:sessionEnabled:DebugSession'] :: DebugSession -> Maybe Bool
-- | Contains the identifier of the Session Manager session used for the
-- build. To work with the paused build, you open this session to
-- examine, control, and resume the build.
[$sel:sessionTarget:DebugSession'] :: DebugSession -> Maybe Text
-- | Create a value of DebugSession with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:sessionEnabled:DebugSession',
-- debugSession_sessionEnabled - Specifies if session debugging is
-- enabled for this build.
--
-- $sel:sessionTarget:DebugSession',
-- debugSession_sessionTarget - Contains the identifier of the
-- Session Manager session used for the build. To work with the paused
-- build, you open this session to examine, control, and resume the
-- build.
newDebugSession :: DebugSession
-- | Specifies if session debugging is enabled for this build.
debugSession_sessionEnabled :: Lens' DebugSession (Maybe Bool)
-- | Contains the identifier of the Session Manager session used for the
-- build. To work with the paused build, you open this session to
-- examine, control, and resume the build.
debugSession_sessionTarget :: Lens' DebugSession (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.DebugSession.DebugSession
instance GHC.Show.Show Amazonka.CodeBuild.Types.DebugSession.DebugSession
instance GHC.Read.Read Amazonka.CodeBuild.Types.DebugSession.DebugSession
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.DebugSession.DebugSession
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.DebugSession.DebugSession
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.DebugSession.DebugSession
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.DebugSession.DebugSession
module Amazonka.CodeBuild.Types.EnvironmentImage
-- | Information about a Docker image that is managed by CodeBuild.
--
-- See: newEnvironmentImage smart constructor.
data EnvironmentImage
EnvironmentImage' :: Maybe Text -> Maybe Text -> Maybe [Text] -> EnvironmentImage
-- | The description of the Docker image.
[$sel:description:EnvironmentImage'] :: EnvironmentImage -> Maybe Text
-- | The name of the Docker image.
[$sel:name:EnvironmentImage'] :: EnvironmentImage -> Maybe Text
-- | A list of environment image versions.
[$sel:versions:EnvironmentImage'] :: EnvironmentImage -> Maybe [Text]
-- | Create a value of EnvironmentImage with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:description:EnvironmentImage',
-- environmentImage_description - The description of the Docker
-- image.
--
-- $sel:name:EnvironmentImage', environmentImage_name - The
-- name of the Docker image.
--
-- $sel:versions:EnvironmentImage',
-- environmentImage_versions - A list of environment image
-- versions.
newEnvironmentImage :: EnvironmentImage
-- | The description of the Docker image.
environmentImage_description :: Lens' EnvironmentImage (Maybe Text)
-- | The name of the Docker image.
environmentImage_name :: Lens' EnvironmentImage (Maybe Text)
-- | A list of environment image versions.
environmentImage_versions :: Lens' EnvironmentImage (Maybe [Text])
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.EnvironmentImage.EnvironmentImage
instance GHC.Show.Show Amazonka.CodeBuild.Types.EnvironmentImage.EnvironmentImage
instance GHC.Read.Read Amazonka.CodeBuild.Types.EnvironmentImage.EnvironmentImage
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.EnvironmentImage.EnvironmentImage
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.EnvironmentImage.EnvironmentImage
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.EnvironmentImage.EnvironmentImage
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.EnvironmentImage.EnvironmentImage
module Amazonka.CodeBuild.Types.EnvironmentType
newtype EnvironmentType
EnvironmentType' :: Text -> EnvironmentType
[fromEnvironmentType] :: EnvironmentType -> Text
pattern EnvironmentType_ARM_CONTAINER :: EnvironmentType
pattern EnvironmentType_LINUX_CONTAINER :: EnvironmentType
pattern EnvironmentType_LINUX_GPU_CONTAINER :: EnvironmentType
pattern EnvironmentType_WINDOWS_CONTAINER :: EnvironmentType
pattern EnvironmentType_WINDOWS_SERVER_2019_CONTAINER :: EnvironmentType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance GHC.Read.Read Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
instance GHC.Show.Show Amazonka.CodeBuild.Types.EnvironmentType.EnvironmentType
module Amazonka.CodeBuild.Types.EnvironmentVariableType
newtype EnvironmentVariableType
EnvironmentVariableType' :: Text -> EnvironmentVariableType
[fromEnvironmentVariableType] :: EnvironmentVariableType -> Text
pattern EnvironmentVariableType_PARAMETER_STORE :: EnvironmentVariableType
pattern EnvironmentVariableType_PLAINTEXT :: EnvironmentVariableType
pattern EnvironmentVariableType_SECRETS_MANAGER :: EnvironmentVariableType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance GHC.Read.Read Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
instance GHC.Show.Show Amazonka.CodeBuild.Types.EnvironmentVariableType.EnvironmentVariableType
module Amazonka.CodeBuild.Types.EnvironmentVariable
-- | Information about an environment variable for a build project or a
-- build.
--
-- See: newEnvironmentVariable smart constructor.
data EnvironmentVariable
EnvironmentVariable' :: Maybe EnvironmentVariableType -> Text -> Text -> EnvironmentVariable
-- | The type of environment variable. Valid values include:
--
--
-- - PARAMETER_STORE: An environment variable stored in
-- Systems Manager Parameter Store. To learn how to specify a parameter
-- store environment variable, see env/parameter-store in the
-- CodeBuild User Guide.
-- - PLAINTEXT: An environment variable in plain text format.
-- This is the default value.
-- - SECRETS_MANAGER: An environment variable stored in
-- Secrets Manager. To learn how to specify a secrets manager environment
-- variable, see env/secrets-manager in the CodeBuild User
-- Guide.
--
[$sel:type':EnvironmentVariable'] :: EnvironmentVariable -> Maybe EnvironmentVariableType
-- | The name or key of the environment variable.
[$sel:name:EnvironmentVariable'] :: EnvironmentVariable -> Text
-- | The value of the environment variable.
--
-- We strongly discourage the use of PLAINTEXT environment
-- variables to store sensitive values, especially Amazon Web Services
-- secret key IDs and secret access keys. PLAINTEXT environment
-- variables can be displayed in plain text using the CodeBuild console
-- and the CLI. For sensitive values, we recommend you use an environment
-- variable of type PARAMETER_STORE or SECRETS_MANAGER.
[$sel:value:EnvironmentVariable'] :: EnvironmentVariable -> Text
-- | Create a value of EnvironmentVariable with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':EnvironmentVariable',
-- environmentVariable_type - The type of environment variable.
-- Valid values include:
--
--
-- - PARAMETER_STORE: An environment variable stored in
-- Systems Manager Parameter Store. To learn how to specify a parameter
-- store environment variable, see env/parameter-store in the
-- CodeBuild User Guide.
-- - PLAINTEXT: An environment variable in plain text format.
-- This is the default value.
-- - SECRETS_MANAGER: An environment variable stored in
-- Secrets Manager. To learn how to specify a secrets manager environment
-- variable, see env/secrets-manager in the CodeBuild User
-- Guide.
--
--
-- $sel:name:EnvironmentVariable', environmentVariable_name
-- - The name or key of the environment variable.
--
-- $sel:value:EnvironmentVariable',
-- environmentVariable_value - The value of the environment
-- variable.
--
-- We strongly discourage the use of PLAINTEXT environment
-- variables to store sensitive values, especially Amazon Web Services
-- secret key IDs and secret access keys. PLAINTEXT environment
-- variables can be displayed in plain text using the CodeBuild console
-- and the CLI. For sensitive values, we recommend you use an environment
-- variable of type PARAMETER_STORE or SECRETS_MANAGER.
newEnvironmentVariable :: Text -> Text -> EnvironmentVariable
-- | The type of environment variable. Valid values include:
--
--
-- - PARAMETER_STORE: An environment variable stored in
-- Systems Manager Parameter Store. To learn how to specify a parameter
-- store environment variable, see env/parameter-store in the
-- CodeBuild User Guide.
-- - PLAINTEXT: An environment variable in plain text format.
-- This is the default value.
-- - SECRETS_MANAGER: An environment variable stored in
-- Secrets Manager. To learn how to specify a secrets manager environment
-- variable, see env/secrets-manager in the CodeBuild User
-- Guide.
--
environmentVariable_type :: Lens' EnvironmentVariable (Maybe EnvironmentVariableType)
-- | The name or key of the environment variable.
environmentVariable_name :: Lens' EnvironmentVariable Text
-- | The value of the environment variable.
--
-- We strongly discourage the use of PLAINTEXT environment
-- variables to store sensitive values, especially Amazon Web Services
-- secret key IDs and secret access keys. PLAINTEXT environment
-- variables can be displayed in plain text using the CodeBuild console
-- and the CLI. For sensitive values, we recommend you use an environment
-- variable of type PARAMETER_STORE or SECRETS_MANAGER.
environmentVariable_value :: Lens' EnvironmentVariable Text
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.EnvironmentVariable.EnvironmentVariable
instance GHC.Show.Show Amazonka.CodeBuild.Types.EnvironmentVariable.EnvironmentVariable
instance GHC.Read.Read Amazonka.CodeBuild.Types.EnvironmentVariable.EnvironmentVariable
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.EnvironmentVariable.EnvironmentVariable
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.EnvironmentVariable.EnvironmentVariable
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.EnvironmentVariable.EnvironmentVariable
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.EnvironmentVariable.EnvironmentVariable
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.EnvironmentVariable.EnvironmentVariable
module Amazonka.CodeBuild.Types.ExportedEnvironmentVariable
-- | Contains information about an exported environment variable.
--
-- Exported environment variables are used in conjunction with
-- CodePipeline to export environment variables from the current build
-- stage to subsequent stages in the pipeline. For more information, see
-- Working with variables in the CodePipeline User Guide.
--
-- During a build, the value of a variable is available starting with the
-- install phase. It can be updated between the start of the
-- install phase and the end of the post_build phase.
-- After the post_build phase ends, the value of exported
-- variables cannot change.
--
-- See: newExportedEnvironmentVariable smart constructor.
data ExportedEnvironmentVariable
ExportedEnvironmentVariable' :: Maybe Text -> Maybe Text -> ExportedEnvironmentVariable
-- | The name of the exported environment variable.
[$sel:name:ExportedEnvironmentVariable'] :: ExportedEnvironmentVariable -> Maybe Text
-- | The value assigned to the exported environment variable.
[$sel:value:ExportedEnvironmentVariable'] :: ExportedEnvironmentVariable -> Maybe Text
-- | Create a value of ExportedEnvironmentVariable with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:ExportedEnvironmentVariable',
-- exportedEnvironmentVariable_name - The name of the exported
-- environment variable.
--
-- $sel:value:ExportedEnvironmentVariable',
-- exportedEnvironmentVariable_value - The value assigned to the
-- exported environment variable.
newExportedEnvironmentVariable :: ExportedEnvironmentVariable
-- | The name of the exported environment variable.
exportedEnvironmentVariable_name :: Lens' ExportedEnvironmentVariable (Maybe Text)
-- | The value assigned to the exported environment variable.
exportedEnvironmentVariable_value :: Lens' ExportedEnvironmentVariable (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ExportedEnvironmentVariable.ExportedEnvironmentVariable
instance GHC.Show.Show Amazonka.CodeBuild.Types.ExportedEnvironmentVariable.ExportedEnvironmentVariable
instance GHC.Read.Read Amazonka.CodeBuild.Types.ExportedEnvironmentVariable.ExportedEnvironmentVariable
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ExportedEnvironmentVariable.ExportedEnvironmentVariable
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ExportedEnvironmentVariable.ExportedEnvironmentVariable
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ExportedEnvironmentVariable.ExportedEnvironmentVariable
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ExportedEnvironmentVariable.ExportedEnvironmentVariable
module Amazonka.CodeBuild.Types.FileSystemType
newtype FileSystemType
FileSystemType' :: Text -> FileSystemType
[fromFileSystemType] :: FileSystemType -> Text
pattern FileSystemType_EFS :: FileSystemType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance GHC.Read.Read Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
instance GHC.Show.Show Amazonka.CodeBuild.Types.FileSystemType.FileSystemType
module Amazonka.CodeBuild.Types.GitSubmodulesConfig
-- | Information about the Git submodules configuration for an CodeBuild
-- build project.
--
-- See: newGitSubmodulesConfig smart constructor.
data GitSubmodulesConfig
GitSubmodulesConfig' :: Bool -> GitSubmodulesConfig
-- | Set to true to fetch Git submodules for your CodeBuild build project.
[$sel:fetchSubmodules:GitSubmodulesConfig'] :: GitSubmodulesConfig -> Bool
-- | Create a value of GitSubmodulesConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fetchSubmodules:GitSubmodulesConfig',
-- gitSubmodulesConfig_fetchSubmodules - Set to true to fetch Git
-- submodules for your CodeBuild build project.
newGitSubmodulesConfig :: Bool -> GitSubmodulesConfig
-- | Set to true to fetch Git submodules for your CodeBuild build project.
gitSubmodulesConfig_fetchSubmodules :: Lens' GitSubmodulesConfig Bool
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.GitSubmodulesConfig.GitSubmodulesConfig
instance GHC.Show.Show Amazonka.CodeBuild.Types.GitSubmodulesConfig.GitSubmodulesConfig
instance GHC.Read.Read Amazonka.CodeBuild.Types.GitSubmodulesConfig.GitSubmodulesConfig
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.GitSubmodulesConfig.GitSubmodulesConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.GitSubmodulesConfig.GitSubmodulesConfig
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.GitSubmodulesConfig.GitSubmodulesConfig
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.GitSubmodulesConfig.GitSubmodulesConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.GitSubmodulesConfig.GitSubmodulesConfig
module Amazonka.CodeBuild.Types.ImagePullCredentialsType
newtype ImagePullCredentialsType
ImagePullCredentialsType' :: Text -> ImagePullCredentialsType
[fromImagePullCredentialsType] :: ImagePullCredentialsType -> Text
pattern ImagePullCredentialsType_CODEBUILD :: ImagePullCredentialsType
pattern ImagePullCredentialsType_SERVICE_ROLE :: ImagePullCredentialsType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance GHC.Read.Read Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
instance GHC.Show.Show Amazonka.CodeBuild.Types.ImagePullCredentialsType.ImagePullCredentialsType
module Amazonka.CodeBuild.Types.LanguageType
newtype LanguageType
LanguageType' :: Text -> LanguageType
[fromLanguageType] :: LanguageType -> Text
pattern LanguageType_ANDROID :: LanguageType
pattern LanguageType_BASE :: LanguageType
pattern LanguageType_DOCKER :: LanguageType
pattern LanguageType_DOTNET :: LanguageType
pattern LanguageType_GOLANG :: LanguageType
pattern LanguageType_JAVA :: LanguageType
pattern LanguageType_NODE_JS :: LanguageType
pattern LanguageType_PHP :: LanguageType
pattern LanguageType_PYTHON :: LanguageType
pattern LanguageType_RUBY :: LanguageType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance GHC.Read.Read Amazonka.CodeBuild.Types.LanguageType.LanguageType
instance GHC.Show.Show Amazonka.CodeBuild.Types.LanguageType.LanguageType
module Amazonka.CodeBuild.Types.EnvironmentLanguage
-- | A set of Docker images that are related by programming language and
-- are managed by CodeBuild.
--
-- See: newEnvironmentLanguage smart constructor.
data EnvironmentLanguage
EnvironmentLanguage' :: Maybe [EnvironmentImage] -> Maybe LanguageType -> EnvironmentLanguage
-- | The list of Docker images that are related by the specified
-- programming language.
[$sel:images:EnvironmentLanguage'] :: EnvironmentLanguage -> Maybe [EnvironmentImage]
-- | The programming language for the Docker images.
[$sel:language:EnvironmentLanguage'] :: EnvironmentLanguage -> Maybe LanguageType
-- | Create a value of EnvironmentLanguage with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:images:EnvironmentLanguage',
-- environmentLanguage_images - The list of Docker images that are
-- related by the specified programming language.
--
-- $sel:language:EnvironmentLanguage',
-- environmentLanguage_language - The programming language for the
-- Docker images.
newEnvironmentLanguage :: EnvironmentLanguage
-- | The list of Docker images that are related by the specified
-- programming language.
environmentLanguage_images :: Lens' EnvironmentLanguage (Maybe [EnvironmentImage])
-- | The programming language for the Docker images.
environmentLanguage_language :: Lens' EnvironmentLanguage (Maybe LanguageType)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.EnvironmentLanguage.EnvironmentLanguage
instance GHC.Show.Show Amazonka.CodeBuild.Types.EnvironmentLanguage.EnvironmentLanguage
instance GHC.Read.Read Amazonka.CodeBuild.Types.EnvironmentLanguage.EnvironmentLanguage
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.EnvironmentLanguage.EnvironmentLanguage
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.EnvironmentLanguage.EnvironmentLanguage
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.EnvironmentLanguage.EnvironmentLanguage
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.EnvironmentLanguage.EnvironmentLanguage
module Amazonka.CodeBuild.Types.LogsConfigStatusType
newtype LogsConfigStatusType
LogsConfigStatusType' :: Text -> LogsConfigStatusType
[fromLogsConfigStatusType] :: LogsConfigStatusType -> Text
pattern LogsConfigStatusType_DISABLED :: LogsConfigStatusType
pattern LogsConfigStatusType_ENABLED :: LogsConfigStatusType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance GHC.Read.Read Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
instance GHC.Show.Show Amazonka.CodeBuild.Types.LogsConfigStatusType.LogsConfigStatusType
module Amazonka.CodeBuild.Types.CloudWatchLogsConfig
-- | Information about CloudWatch Logs for a build project.
--
-- See: newCloudWatchLogsConfig smart constructor.
data CloudWatchLogsConfig
CloudWatchLogsConfig' :: Maybe Text -> Maybe Text -> LogsConfigStatusType -> CloudWatchLogsConfig
-- | The group name of the logs in CloudWatch Logs. For more information,
-- see Working with Log Groups and Log Streams.
[$sel:groupName:CloudWatchLogsConfig'] :: CloudWatchLogsConfig -> Maybe Text
-- | The prefix of the stream name of the CloudWatch Logs. For more
-- information, see Working with Log Groups and Log Streams.
[$sel:streamName:CloudWatchLogsConfig'] :: CloudWatchLogsConfig -> Maybe Text
-- | The current status of the logs in CloudWatch Logs for a build project.
-- Valid values are:
--
--
-- - ENABLED: CloudWatch Logs are enabled for this build
-- project.
-- - DISABLED: CloudWatch Logs are not enabled for this build
-- project.
--
[$sel:status:CloudWatchLogsConfig'] :: CloudWatchLogsConfig -> LogsConfigStatusType
-- | Create a value of CloudWatchLogsConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:groupName:CloudWatchLogsConfig',
-- cloudWatchLogsConfig_groupName - The group name of the logs in
-- CloudWatch Logs. For more information, see Working with Log Groups
-- and Log Streams.
--
-- $sel:streamName:CloudWatchLogsConfig',
-- cloudWatchLogsConfig_streamName - The prefix of the stream name
-- of the CloudWatch Logs. For more information, see Working with Log
-- Groups and Log Streams.
--
-- $sel:status:CloudWatchLogsConfig',
-- cloudWatchLogsConfig_status - The current status of the logs in
-- CloudWatch Logs for a build project. Valid values are:
--
--
-- - ENABLED: CloudWatch Logs are enabled for this build
-- project.
-- - DISABLED: CloudWatch Logs are not enabled for this build
-- project.
--
newCloudWatchLogsConfig :: LogsConfigStatusType -> CloudWatchLogsConfig
-- | The group name of the logs in CloudWatch Logs. For more information,
-- see Working with Log Groups and Log Streams.
cloudWatchLogsConfig_groupName :: Lens' CloudWatchLogsConfig (Maybe Text)
-- | The prefix of the stream name of the CloudWatch Logs. For more
-- information, see Working with Log Groups and Log Streams.
cloudWatchLogsConfig_streamName :: Lens' CloudWatchLogsConfig (Maybe Text)
-- | The current status of the logs in CloudWatch Logs for a build project.
-- Valid values are:
--
--
-- - ENABLED: CloudWatch Logs are enabled for this build
-- project.
-- - DISABLED: CloudWatch Logs are not enabled for this build
-- project.
--
cloudWatchLogsConfig_status :: Lens' CloudWatchLogsConfig LogsConfigStatusType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.CloudWatchLogsConfig.CloudWatchLogsConfig
instance GHC.Show.Show Amazonka.CodeBuild.Types.CloudWatchLogsConfig.CloudWatchLogsConfig
instance GHC.Read.Read Amazonka.CodeBuild.Types.CloudWatchLogsConfig.CloudWatchLogsConfig
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.CloudWatchLogsConfig.CloudWatchLogsConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.CloudWatchLogsConfig.CloudWatchLogsConfig
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.CloudWatchLogsConfig.CloudWatchLogsConfig
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.CloudWatchLogsConfig.CloudWatchLogsConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.CloudWatchLogsConfig.CloudWatchLogsConfig
module Amazonka.CodeBuild.Types.NetworkInterface
-- | Describes a network interface.
--
-- See: newNetworkInterface smart constructor.
data NetworkInterface
NetworkInterface' :: Maybe Text -> Maybe Text -> NetworkInterface
-- | The ID of the network interface.
[$sel:networkInterfaceId:NetworkInterface'] :: NetworkInterface -> Maybe Text
-- | The ID of the subnet.
[$sel:subnetId:NetworkInterface'] :: NetworkInterface -> Maybe Text
-- | Create a value of NetworkInterface with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:networkInterfaceId:NetworkInterface',
-- networkInterface_networkInterfaceId - The ID of the network
-- interface.
--
-- $sel:subnetId:NetworkInterface',
-- networkInterface_subnetId - The ID of the subnet.
newNetworkInterface :: NetworkInterface
-- | The ID of the network interface.
networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text)
-- | The ID of the subnet.
networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.NetworkInterface.NetworkInterface
instance GHC.Show.Show Amazonka.CodeBuild.Types.NetworkInterface.NetworkInterface
instance GHC.Read.Read Amazonka.CodeBuild.Types.NetworkInterface.NetworkInterface
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.NetworkInterface.NetworkInterface
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.NetworkInterface.NetworkInterface
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.NetworkInterface.NetworkInterface
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.NetworkInterface.NetworkInterface
module Amazonka.CodeBuild.Types.PhaseContext
-- | Additional information about a build phase that has an error. You can
-- use this information for troubleshooting.
--
-- See: newPhaseContext smart constructor.
data PhaseContext
PhaseContext' :: Maybe Text -> Maybe Text -> PhaseContext
-- | An explanation of the build phase's context. This might include a
-- command ID and an exit code.
[$sel:message:PhaseContext'] :: PhaseContext -> Maybe Text
-- | The status code for the context of the build phase.
[$sel:statusCode:PhaseContext'] :: PhaseContext -> Maybe Text
-- | Create a value of PhaseContext with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:message:PhaseContext', phaseContext_message - An
-- explanation of the build phase's context. This might include a command
-- ID and an exit code.
--
-- $sel:statusCode:PhaseContext', phaseContext_statusCode -
-- The status code for the context of the build phase.
newPhaseContext :: PhaseContext
-- | An explanation of the build phase's context. This might include a
-- command ID and an exit code.
phaseContext_message :: Lens' PhaseContext (Maybe Text)
-- | The status code for the context of the build phase.
phaseContext_statusCode :: Lens' PhaseContext (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.PhaseContext.PhaseContext
instance GHC.Show.Show Amazonka.CodeBuild.Types.PhaseContext.PhaseContext
instance GHC.Read.Read Amazonka.CodeBuild.Types.PhaseContext.PhaseContext
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.PhaseContext.PhaseContext
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.PhaseContext.PhaseContext
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.PhaseContext.PhaseContext
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.PhaseContext.PhaseContext
module Amazonka.CodeBuild.Types.PlatformType
newtype PlatformType
PlatformType' :: Text -> PlatformType
[fromPlatformType] :: PlatformType -> Text
pattern PlatformType_AMAZON_LINUX :: PlatformType
pattern PlatformType_DEBIAN :: PlatformType
pattern PlatformType_UBUNTU :: PlatformType
pattern PlatformType_WINDOWS_SERVER :: PlatformType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance GHC.Read.Read Amazonka.CodeBuild.Types.PlatformType.PlatformType
instance GHC.Show.Show Amazonka.CodeBuild.Types.PlatformType.PlatformType
module Amazonka.CodeBuild.Types.EnvironmentPlatform
-- | A set of Docker images that are related by platform and are managed by
-- CodeBuild.
--
-- See: newEnvironmentPlatform smart constructor.
data EnvironmentPlatform
EnvironmentPlatform' :: Maybe [EnvironmentLanguage] -> Maybe PlatformType -> EnvironmentPlatform
-- | The list of programming languages that are available for the specified
-- platform.
[$sel:languages:EnvironmentPlatform'] :: EnvironmentPlatform -> Maybe [EnvironmentLanguage]
-- | The platform's name.
[$sel:platform:EnvironmentPlatform'] :: EnvironmentPlatform -> Maybe PlatformType
-- | Create a value of EnvironmentPlatform with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:languages:EnvironmentPlatform',
-- environmentPlatform_languages - The list of programming
-- languages that are available for the specified platform.
--
-- $sel:platform:EnvironmentPlatform',
-- environmentPlatform_platform - The platform's name.
newEnvironmentPlatform :: EnvironmentPlatform
-- | The list of programming languages that are available for the specified
-- platform.
environmentPlatform_languages :: Lens' EnvironmentPlatform (Maybe [EnvironmentLanguage])
-- | The platform's name.
environmentPlatform_platform :: Lens' EnvironmentPlatform (Maybe PlatformType)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.EnvironmentPlatform.EnvironmentPlatform
instance GHC.Show.Show Amazonka.CodeBuild.Types.EnvironmentPlatform.EnvironmentPlatform
instance GHC.Read.Read Amazonka.CodeBuild.Types.EnvironmentPlatform.EnvironmentPlatform
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.EnvironmentPlatform.EnvironmentPlatform
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.EnvironmentPlatform.EnvironmentPlatform
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.EnvironmentPlatform.EnvironmentPlatform
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.EnvironmentPlatform.EnvironmentPlatform
module Amazonka.CodeBuild.Types.ProjectArtifacts
-- | Information about the build output artifacts for the build project.
--
-- See: newProjectArtifacts smart constructor.
data ProjectArtifacts
ProjectArtifacts' :: Maybe Text -> Maybe BucketOwnerAccess -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe ArtifactNamespace -> Maybe Bool -> Maybe ArtifactPackaging -> Maybe Text -> ArtifactsType -> ProjectArtifacts
-- | An identifier for this artifact definition.
[$sel:artifactIdentifier:ProjectArtifacts'] :: ProjectArtifacts -> Maybe Text
[$sel:bucketOwnerAccess:ProjectArtifacts'] :: ProjectArtifacts -> Maybe BucketOwnerAccess
-- | Set to true if you do not want your output artifacts encrypted. This
-- option is valid only if your artifacts type is Amazon S3. If this is
-- set with another artifacts type, an invalidInputException is thrown.
[$sel:encryptionDisabled:ProjectArtifacts'] :: ProjectArtifacts -> Maybe Bool
-- | Information about the build output artifact location:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output locations instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output bucket.
--
[$sel:location:ProjectArtifacts'] :: ProjectArtifacts -> Maybe Text
-- | Along with path and namespaceType, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output artifact object. If you set the name to be a forward slash
-- ("/"), the artifact is stored in the root of the output bucket.
--
--
-- 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 is stored
-- in MyArtifacts/<build-ID>/MyArtifact.zip.
-- - If path is empty, namespaceType is set to
-- NONE, and name is set to "/", the output
-- artifact is stored in the root of the output bucket.
-- - If path is set to MyArtifacts,
-- namespaceType is set to BUILD_ID, and name
-- is set to "/", the output artifact is stored in
-- MyArtifacts/<build-ID>.
--
[$sel:name:ProjectArtifacts'] :: ProjectArtifacts -> Maybe Text
-- | Along with path and name, the pattern that CodeBuild
-- uses to determine the name and location to store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, 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, the output artifact is stored in
-- MyArtifacts/<build-ID>/MyArtifact.zip.
[$sel:namespaceType:ProjectArtifacts'] :: ProjectArtifacts -> Maybe ArtifactNamespace
-- | If this flag is set, a name specified in the buildspec file overrides
-- the artifact name. The name specified in a buildspec file is
-- calculated at build time and uses the Shell Command Language. For
-- example, you can append a date and time to your artifact name so that
-- it is always unique.
[$sel:overrideArtifactName:ProjectArtifacts'] :: ProjectArtifacts -> Maybe Bool
-- | The type of build output artifact to create:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output artifacts instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, valid values
-- include:
- NONE: CodeBuild creates in the output bucket
-- a folder that contains the build output. This is the default if
-- packaging is not specified.
- ZIP: CodeBuild
-- creates in the output bucket a ZIP file that contains the build
-- output.
--
[$sel:packaging:ProjectArtifacts'] :: ProjectArtifacts -> Maybe ArtifactPackaging
-- | Along with namespaceType and name, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the path to the
-- output artifact. If path is not specified, path is
-- not used.
--
--
-- For example, if path is set to MyArtifacts,
-- namespaceType is set to NONE, and name is
-- set to MyArtifact.zip, the output artifact is stored in the
-- output bucket at MyArtifacts/MyArtifact.zip.
[$sel:path:ProjectArtifacts'] :: ProjectArtifacts -> Maybe Text
-- | The type of build output artifact. Valid values include:
--
--
-- - CODEPIPELINE: The build project has build output
-- generated through CodePipeline.The CODEPIPELINE type is not
-- supported for secondaryArtifacts.
-- - NO_ARTIFACTS: The build project does not produce any
-- build output.
-- - S3: The build project stores build output in Amazon
-- S3.
--
[$sel:type':ProjectArtifacts'] :: ProjectArtifacts -> ArtifactsType
-- | Create a value of ProjectArtifacts with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:artifactIdentifier:ProjectArtifacts',
-- projectArtifacts_artifactIdentifier - An identifier for this
-- artifact definition.
--
-- $sel:bucketOwnerAccess:ProjectArtifacts',
-- projectArtifacts_bucketOwnerAccess - Undocumented member.
--
-- $sel:encryptionDisabled:ProjectArtifacts',
-- projectArtifacts_encryptionDisabled - Set to true if you do not
-- want your output artifacts encrypted. This option is valid only if
-- your artifacts type is Amazon S3. If this is set with another
-- artifacts type, an invalidInputException is thrown.
--
-- $sel:location:ProjectArtifacts',
-- projectArtifacts_location - Information about the build output
-- artifact location:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output locations instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output bucket.
--
--
-- $sel:name:ProjectArtifacts', projectArtifacts_name -
-- Along with path and namespaceType, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output artifact object. If you set the name to be a forward slash
-- ("/"), the artifact is stored in the root of the output bucket.
--
--
-- 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 is stored
-- in MyArtifacts/<build-ID>/MyArtifact.zip.
-- - If path is empty, namespaceType is set to
-- NONE, and name is set to "/", the output
-- artifact is stored in the root of the output bucket.
-- - If path is set to MyArtifacts,
-- namespaceType is set to BUILD_ID, and name
-- is set to "/", the output artifact is stored in
-- MyArtifacts/<build-ID>.
--
--
-- $sel:namespaceType:ProjectArtifacts',
-- projectArtifacts_namespaceType - Along with path and
-- name, the pattern that CodeBuild uses to determine the name
-- and location to store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, 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, the output artifact is stored in
-- MyArtifacts/<build-ID>/MyArtifact.zip.
--
-- $sel:overrideArtifactName:ProjectArtifacts',
-- projectArtifacts_overrideArtifactName - If this flag is set, a
-- name specified in the buildspec file overrides the artifact name. The
-- name specified in a buildspec file is calculated at build time and
-- uses the Shell Command Language. For example, you can append a date
-- and time to your artifact name so that it is always unique.
--
-- $sel:packaging:ProjectArtifacts',
-- projectArtifacts_packaging - The type of build output artifact
-- to create:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output artifacts instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, valid values
-- include:
- NONE: CodeBuild creates in the output bucket
-- a folder that contains the build output. This is the default if
-- packaging is not specified.
- ZIP: CodeBuild
-- creates in the output bucket a ZIP file that contains the build
-- output.
--
--
-- $sel:path:ProjectArtifacts', projectArtifacts_path -
-- Along with namespaceType and name, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the path to the
-- output artifact. If path is not specified, path is
-- not used.
--
--
-- For example, if path is set to MyArtifacts,
-- namespaceType is set to NONE, and name is
-- set to MyArtifact.zip, the output artifact is stored in the
-- output bucket at MyArtifacts/MyArtifact.zip.
--
-- $sel:type':ProjectArtifacts', projectArtifacts_type -
-- The type of build output artifact. Valid values include:
--
--
-- - CODEPIPELINE: The build project has build output
-- generated through CodePipeline.The CODEPIPELINE type is not
-- supported for secondaryArtifacts.
-- - NO_ARTIFACTS: The build project does not produce any
-- build output.
-- - S3: The build project stores build output in Amazon
-- S3.
--
newProjectArtifacts :: ArtifactsType -> ProjectArtifacts
-- | An identifier for this artifact definition.
projectArtifacts_artifactIdentifier :: Lens' ProjectArtifacts (Maybe Text)
-- | Undocumented member.
projectArtifacts_bucketOwnerAccess :: Lens' ProjectArtifacts (Maybe BucketOwnerAccess)
-- | Set to true if you do not want your output artifacts encrypted. This
-- option is valid only if your artifacts type is Amazon S3. If this is
-- set with another artifacts type, an invalidInputException is thrown.
projectArtifacts_encryptionDisabled :: Lens' ProjectArtifacts (Maybe Bool)
-- | Information about the build output artifact location:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output locations instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output bucket.
--
projectArtifacts_location :: Lens' ProjectArtifacts (Maybe Text)
-- | Along with path and namespaceType, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output artifact object. If you set the name to be a forward slash
-- ("/"), the artifact is stored in the root of the output bucket.
--
--
-- 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 is stored
-- in MyArtifacts/<build-ID>/MyArtifact.zip.
-- - If path is empty, namespaceType is set to
-- NONE, and name is set to "/", the output
-- artifact is stored in the root of the output bucket.
-- - If path is set to MyArtifacts,
-- namespaceType is set to BUILD_ID, and name
-- is set to "/", the output artifact is stored in
-- MyArtifacts/<build-ID>.
--
projectArtifacts_name :: Lens' ProjectArtifacts (Maybe Text)
-- | Along with path and name, the pattern that CodeBuild
-- uses to determine the name and location to store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, 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, the output artifact is stored in
-- MyArtifacts/<build-ID>/MyArtifact.zip.
projectArtifacts_namespaceType :: Lens' ProjectArtifacts (Maybe ArtifactNamespace)
-- | If this flag is set, a name specified in the buildspec file overrides
-- the artifact name. The name specified in a buildspec file is
-- calculated at build time and uses the Shell Command Language. For
-- example, you can append a date and time to your artifact name so that
-- it is always unique.
projectArtifacts_overrideArtifactName :: Lens' ProjectArtifacts (Maybe Bool)
-- | The type of build output artifact to create:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output artifacts instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, valid values
-- include:
- NONE: CodeBuild creates in the output bucket
-- a folder that contains the build output. This is the default if
-- packaging is not specified.
- ZIP: CodeBuild
-- creates in the output bucket a ZIP file that contains the build
-- output.
--
projectArtifacts_packaging :: Lens' ProjectArtifacts (Maybe ArtifactPackaging)
-- | Along with namespaceType and name, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the path to the
-- output artifact. If path is not specified, path is
-- not used.
--
--
-- For example, if path is set to MyArtifacts,
-- namespaceType is set to NONE, and name is
-- set to MyArtifact.zip, the output artifact is stored in the
-- output bucket at MyArtifacts/MyArtifact.zip.
projectArtifacts_path :: Lens' ProjectArtifacts (Maybe Text)
-- | The type of build output artifact. Valid values include:
--
--
-- - CODEPIPELINE: The build project has build output
-- generated through CodePipeline.The CODEPIPELINE type is not
-- supported for secondaryArtifacts.
-- - NO_ARTIFACTS: The build project does not produce any
-- build output.
-- - S3: The build project stores build output in Amazon
-- S3.
--
projectArtifacts_type :: Lens' ProjectArtifacts ArtifactsType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ProjectArtifacts.ProjectArtifacts
instance GHC.Show.Show Amazonka.CodeBuild.Types.ProjectArtifacts.ProjectArtifacts
instance GHC.Read.Read Amazonka.CodeBuild.Types.ProjectArtifacts.ProjectArtifacts
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ProjectArtifacts.ProjectArtifacts
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ProjectArtifacts.ProjectArtifacts
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ProjectArtifacts.ProjectArtifacts
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ProjectArtifacts.ProjectArtifacts
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ProjectArtifacts.ProjectArtifacts
module Amazonka.CodeBuild.Types.ProjectBadge
-- | Information about the build badge for the build project.
--
-- See: newProjectBadge smart constructor.
data ProjectBadge
ProjectBadge' :: Maybe Bool -> Maybe Text -> ProjectBadge
-- | Set this to true to generate a publicly accessible URL for your
-- project's build badge.
[$sel:badgeEnabled:ProjectBadge'] :: ProjectBadge -> Maybe Bool
-- | The publicly-accessible URL through which you can access the build
-- badge for your project.
[$sel:badgeRequestUrl:ProjectBadge'] :: ProjectBadge -> Maybe Text
-- | Create a value of ProjectBadge with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:badgeEnabled:ProjectBadge',
-- projectBadge_badgeEnabled - Set this to true to generate a
-- publicly accessible URL for your project's build badge.
--
-- $sel:badgeRequestUrl:ProjectBadge',
-- projectBadge_badgeRequestUrl - The publicly-accessible URL
-- through which you can access the build badge for your project.
newProjectBadge :: ProjectBadge
-- | Set this to true to generate a publicly accessible URL for your
-- project's build badge.
projectBadge_badgeEnabled :: Lens' ProjectBadge (Maybe Bool)
-- | The publicly-accessible URL through which you can access the build
-- badge for your project.
projectBadge_badgeRequestUrl :: Lens' ProjectBadge (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ProjectBadge.ProjectBadge
instance GHC.Show.Show Amazonka.CodeBuild.Types.ProjectBadge.ProjectBadge
instance GHC.Read.Read Amazonka.CodeBuild.Types.ProjectBadge.ProjectBadge
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ProjectBadge.ProjectBadge
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ProjectBadge.ProjectBadge
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ProjectBadge.ProjectBadge
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ProjectBadge.ProjectBadge
module Amazonka.CodeBuild.Types.ProjectBuildBatchConfig
-- | Contains configuration information about a batch build project.
--
-- See: newProjectBuildBatchConfig smart constructor.
data ProjectBuildBatchConfig
ProjectBuildBatchConfig' :: Maybe BatchReportModeType -> Maybe Bool -> Maybe BatchRestrictions -> Maybe Text -> Maybe Int -> ProjectBuildBatchConfig
-- | Specifies how build status reports are sent to the source provider for
-- the batch build. This property is only used when the source provider
-- for your project is Bitbucket, GitHub, or GitHub Enterprise, and your
-- project is configured to report build statuses to the source provider.
--
-- REPORT_AGGREGATED_BATCH Aggregate all of the build statuses
-- into a single status report.
--
--
-- - REPORT_INDIVIDUAL_BUILDS Send a separate status report for
-- each individual build.
--
[$sel:batchReportMode:ProjectBuildBatchConfig'] :: ProjectBuildBatchConfig -> Maybe BatchReportModeType
-- | Specifies if the build artifacts for the batch build should be
-- combined into a single artifact location.
[$sel:combineArtifacts:ProjectBuildBatchConfig'] :: ProjectBuildBatchConfig -> Maybe Bool
-- | A BatchRestrictions object that specifies the restrictions
-- for the batch build.
[$sel:restrictions:ProjectBuildBatchConfig'] :: ProjectBuildBatchConfig -> Maybe BatchRestrictions
-- | Specifies the service role ARN for the batch build project.
[$sel:serviceRole:ProjectBuildBatchConfig'] :: ProjectBuildBatchConfig -> Maybe Text
-- | Specifies the maximum amount of time, in minutes, that the batch build
-- must be completed in.
[$sel:timeoutInMins:ProjectBuildBatchConfig'] :: ProjectBuildBatchConfig -> Maybe Int
-- | Create a value of ProjectBuildBatchConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:batchReportMode:ProjectBuildBatchConfig',
-- projectBuildBatchConfig_batchReportMode - Specifies how build
-- status reports are sent to the source provider for the batch build.
-- This property is only used when the source provider for your project
-- is Bitbucket, GitHub, or GitHub Enterprise, and your project is
-- configured to report build statuses to the source provider.
--
-- REPORT_AGGREGATED_BATCH Aggregate all of the build statuses
-- into a single status report.
--
--
-- - REPORT_INDIVIDUAL_BUILDS Send a separate status report for
-- each individual build.
--
--
-- $sel:combineArtifacts:ProjectBuildBatchConfig',
-- projectBuildBatchConfig_combineArtifacts - Specifies if the
-- build artifacts for the batch build should be combined into a single
-- artifact location.
--
-- $sel:restrictions:ProjectBuildBatchConfig',
-- projectBuildBatchConfig_restrictions - A
-- BatchRestrictions object that specifies the restrictions for
-- the batch build.
--
-- $sel:serviceRole:ProjectBuildBatchConfig',
-- projectBuildBatchConfig_serviceRole - Specifies the service
-- role ARN for the batch build project.
--
-- $sel:timeoutInMins:ProjectBuildBatchConfig',
-- projectBuildBatchConfig_timeoutInMins - Specifies the maximum
-- amount of time, in minutes, that the batch build must be completed in.
newProjectBuildBatchConfig :: ProjectBuildBatchConfig
-- | Specifies how build status reports are sent to the source provider for
-- the batch build. This property is only used when the source provider
-- for your project is Bitbucket, GitHub, or GitHub Enterprise, and your
-- project is configured to report build statuses to the source provider.
--
-- REPORT_AGGREGATED_BATCH Aggregate all of the build statuses
-- into a single status report.
--
--
-- - REPORT_INDIVIDUAL_BUILDS Send a separate status report for
-- each individual build.
--
projectBuildBatchConfig_batchReportMode :: Lens' ProjectBuildBatchConfig (Maybe BatchReportModeType)
-- | Specifies if the build artifacts for the batch build should be
-- combined into a single artifact location.
projectBuildBatchConfig_combineArtifacts :: Lens' ProjectBuildBatchConfig (Maybe Bool)
-- | A BatchRestrictions object that specifies the restrictions
-- for the batch build.
projectBuildBatchConfig_restrictions :: Lens' ProjectBuildBatchConfig (Maybe BatchRestrictions)
-- | Specifies the service role ARN for the batch build project.
projectBuildBatchConfig_serviceRole :: Lens' ProjectBuildBatchConfig (Maybe Text)
-- | Specifies the maximum amount of time, in minutes, that the batch build
-- must be completed in.
projectBuildBatchConfig_timeoutInMins :: Lens' ProjectBuildBatchConfig (Maybe Int)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ProjectBuildBatchConfig.ProjectBuildBatchConfig
instance GHC.Show.Show Amazonka.CodeBuild.Types.ProjectBuildBatchConfig.ProjectBuildBatchConfig
instance GHC.Read.Read Amazonka.CodeBuild.Types.ProjectBuildBatchConfig.ProjectBuildBatchConfig
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ProjectBuildBatchConfig.ProjectBuildBatchConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ProjectBuildBatchConfig.ProjectBuildBatchConfig
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ProjectBuildBatchConfig.ProjectBuildBatchConfig
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ProjectBuildBatchConfig.ProjectBuildBatchConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ProjectBuildBatchConfig.ProjectBuildBatchConfig
module Amazonka.CodeBuild.Types.ProjectCache
-- | Information about the cache for the build project.
--
-- See: newProjectCache smart constructor.
data ProjectCache
ProjectCache' :: Maybe Text -> Maybe [CacheMode] -> CacheType -> ProjectCache
-- | Information about the cache location:
--
--
-- - NO_CACHE or LOCAL: This value is ignored.
-- - S3: This is the S3 bucket name/prefix.
--
[$sel:location:ProjectCache'] :: ProjectCache -> Maybe Text
-- | An array of strings that specify the local cache modes. You can use
-- one or more local cache modes at the same time. This is only used for
-- LOCAL cache types.
--
-- Possible values are:
--
--
-- - LOCAL_SOURCE_CACHE Caches Git metadata for primary and
-- secondary sources. After the cache is created, subsequent builds pull
-- only the change between commits. This mode is a good choice for
-- projects with a clean working directory and a source that is a large
-- Git repository. If you choose this option and your project does not
-- use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the
-- option is ignored.
-- - LOCAL_DOCKER_LAYER_CACHE Caches existing Docker layers.
-- This mode is a good choice for projects that build or pull large
-- Docker images. It can prevent the performance issues caused by pulling
-- large Docker images down from the network.
- You can use a Docker
-- layer cache in the Linux environment only.
- The
-- privileged flag must be set so that your project has the
-- required Docker permissions.
- You should consider the security
-- implications before you use a Docker layer cache.
-- - LOCAL_CUSTOM_CACHE Caches directories you specify in the
-- buildspec file. This mode is a good choice if your build scenario is
-- not suited to one of the other three local cache modes. If you use a
-- custom cache:
- Only directories can be specified for caching.
-- You cannot specify individual files.
- Symlinks are used to
-- reference cached directories.
- Cached directories are linked to
-- your build before it downloads its project sources. Cached items are
-- overridden if a source item has the same name. Directories are
-- specified using cache paths in the buildspec file.
--
[$sel:modes:ProjectCache'] :: ProjectCache -> Maybe [CacheMode]
-- | The type of cache used by the build project. Valid values include:
--
--
-- - NO_CACHE: The build project does not use any cache.
-- - S3: The build project reads and writes from and to
-- S3.
-- - LOCAL: The build project stores a cache locally on a
-- build host that is only available to that build host.
--
[$sel:type':ProjectCache'] :: ProjectCache -> CacheType
-- | Create a value of ProjectCache with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:location:ProjectCache', projectCache_location -
-- Information about the cache location:
--
--
-- - NO_CACHE or LOCAL: This value is ignored.
-- - S3: This is the S3 bucket name/prefix.
--
--
-- $sel:modes:ProjectCache', projectCache_modes - An array
-- of strings that specify the local cache modes. You can use one or more
-- local cache modes at the same time. This is only used for
-- LOCAL cache types.
--
-- Possible values are:
--
--
-- - LOCAL_SOURCE_CACHE Caches Git metadata for primary and
-- secondary sources. After the cache is created, subsequent builds pull
-- only the change between commits. This mode is a good choice for
-- projects with a clean working directory and a source that is a large
-- Git repository. If you choose this option and your project does not
-- use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the
-- option is ignored.
-- - LOCAL_DOCKER_LAYER_CACHE Caches existing Docker layers.
-- This mode is a good choice for projects that build or pull large
-- Docker images. It can prevent the performance issues caused by pulling
-- large Docker images down from the network.
- You can use a Docker
-- layer cache in the Linux environment only.
- The
-- privileged flag must be set so that your project has the
-- required Docker permissions.
- You should consider the security
-- implications before you use a Docker layer cache.
-- - LOCAL_CUSTOM_CACHE Caches directories you specify in the
-- buildspec file. This mode is a good choice if your build scenario is
-- not suited to one of the other three local cache modes. If you use a
-- custom cache:
- Only directories can be specified for caching.
-- You cannot specify individual files.
- Symlinks are used to
-- reference cached directories.
- Cached directories are linked to
-- your build before it downloads its project sources. Cached items are
-- overridden if a source item has the same name. Directories are
-- specified using cache paths in the buildspec file.
--
--
-- $sel:type':ProjectCache', projectCache_type - The type
-- of cache used by the build project. Valid values include:
--
--
-- - NO_CACHE: The build project does not use any cache.
-- - S3: The build project reads and writes from and to
-- S3.
-- - LOCAL: The build project stores a cache locally on a
-- build host that is only available to that build host.
--
newProjectCache :: CacheType -> ProjectCache
-- | Information about the cache location:
--
--
-- - NO_CACHE or LOCAL: This value is ignored.
-- - S3: This is the S3 bucket name/prefix.
--
projectCache_location :: Lens' ProjectCache (Maybe Text)
-- | An array of strings that specify the local cache modes. You can use
-- one or more local cache modes at the same time. This is only used for
-- LOCAL cache types.
--
-- Possible values are:
--
--
-- - LOCAL_SOURCE_CACHE Caches Git metadata for primary and
-- secondary sources. After the cache is created, subsequent builds pull
-- only the change between commits. This mode is a good choice for
-- projects with a clean working directory and a source that is a large
-- Git repository. If you choose this option and your project does not
-- use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the
-- option is ignored.
-- - LOCAL_DOCKER_LAYER_CACHE Caches existing Docker layers.
-- This mode is a good choice for projects that build or pull large
-- Docker images. It can prevent the performance issues caused by pulling
-- large Docker images down from the network.
- You can use a Docker
-- layer cache in the Linux environment only.
- The
-- privileged flag must be set so that your project has the
-- required Docker permissions.
- You should consider the security
-- implications before you use a Docker layer cache.
-- - LOCAL_CUSTOM_CACHE Caches directories you specify in the
-- buildspec file. This mode is a good choice if your build scenario is
-- not suited to one of the other three local cache modes. If you use a
-- custom cache:
- Only directories can be specified for caching.
-- You cannot specify individual files.
- Symlinks are used to
-- reference cached directories.
- Cached directories are linked to
-- your build before it downloads its project sources. Cached items are
-- overridden if a source item has the same name. Directories are
-- specified using cache paths in the buildspec file.
--
projectCache_modes :: Lens' ProjectCache (Maybe [CacheMode])
-- | The type of cache used by the build project. Valid values include:
--
--
-- - NO_CACHE: The build project does not use any cache.
-- - S3: The build project reads and writes from and to
-- S3.
-- - LOCAL: The build project stores a cache locally on a
-- build host that is only available to that build host.
--
projectCache_type :: Lens' ProjectCache CacheType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ProjectCache.ProjectCache
instance GHC.Show.Show Amazonka.CodeBuild.Types.ProjectCache.ProjectCache
instance GHC.Read.Read Amazonka.CodeBuild.Types.ProjectCache.ProjectCache
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ProjectCache.ProjectCache
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ProjectCache.ProjectCache
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ProjectCache.ProjectCache
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ProjectCache.ProjectCache
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ProjectCache.ProjectCache
module Amazonka.CodeBuild.Types.ProjectFileSystemLocation
-- | Information about a file system created by Amazon Elastic File System
-- (EFS). For more information, see What Is Amazon Elastic File
-- System?
--
-- See: newProjectFileSystemLocation smart constructor.
data ProjectFileSystemLocation
ProjectFileSystemLocation' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe FileSystemType -> ProjectFileSystemLocation
-- | The name used to access a file system created by Amazon EFS. CodeBuild
-- creates an environment variable by appending the identifier
-- in all capital letters to CODEBUILD_. For example, if you
-- specify my_efs for identifier, a new environment
-- variable is create named CODEBUILD_MY_EFS.
--
-- The identifier is used to mount your file system.
[$sel:identifier:ProjectFileSystemLocation'] :: ProjectFileSystemLocation -> Maybe Text
-- | A string that specifies the location of the file system created by
-- Amazon EFS. Its format is efs-dns-name:/directory-path. You
-- can find the DNS name of file system when you view it in the Amazon
-- EFS console. The directory path is a path to a directory in the file
-- system that CodeBuild mounts. For example, if the DNS name of a file
-- system is fs-abcd1234.efs.us-west-2.amazonaws.com, and its
-- mount directory is my-efs-mount-directory, then the
-- location is
-- fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.
--
-- The directory path in the format efs-dns-name:/directory-path
-- is optional. If you do not specify a directory path, the location is
-- only the DNS name and CodeBuild mounts the entire file system.
[$sel:location:ProjectFileSystemLocation'] :: ProjectFileSystemLocation -> Maybe Text
-- | The mount options for a file system created by Amazon EFS. The default
-- mount options used by CodeBuild are
-- nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2.
-- For more information, see Recommended NFS Mount Options.
[$sel:mountOptions:ProjectFileSystemLocation'] :: ProjectFileSystemLocation -> Maybe Text
-- | The location in the container where you mount the file system.
[$sel:mountPoint:ProjectFileSystemLocation'] :: ProjectFileSystemLocation -> Maybe Text
-- | The type of the file system. The one supported type is EFS.
[$sel:type':ProjectFileSystemLocation'] :: ProjectFileSystemLocation -> Maybe FileSystemType
-- | Create a value of ProjectFileSystemLocation with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:identifier:ProjectFileSystemLocation',
-- projectFileSystemLocation_identifier - The name used to access
-- a file system created by Amazon EFS. CodeBuild creates an environment
-- variable by appending the identifier in all capital letters
-- to CODEBUILD_. For example, if you specify my_efs
-- for identifier, a new environment variable is create named
-- CODEBUILD_MY_EFS.
--
-- The identifier is used to mount your file system.
--
-- $sel:location:ProjectFileSystemLocation',
-- projectFileSystemLocation_location - A string that specifies
-- the location of the file system created by Amazon EFS. Its format is
-- efs-dns-name:/directory-path. You can find the DNS name of
-- file system when you view it in the Amazon EFS console. The directory
-- path is a path to a directory in the file system that CodeBuild
-- mounts. For example, if the DNS name of a file system is
-- fs-abcd1234.efs.us-west-2.amazonaws.com, and its mount
-- directory is my-efs-mount-directory, then the
-- location is
-- fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.
--
-- The directory path in the format efs-dns-name:/directory-path
-- is optional. If you do not specify a directory path, the location is
-- only the DNS name and CodeBuild mounts the entire file system.
--
-- $sel:mountOptions:ProjectFileSystemLocation',
-- projectFileSystemLocation_mountOptions - The mount options for
-- a file system created by Amazon EFS. The default mount options used by
-- CodeBuild are
-- nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2.
-- For more information, see Recommended NFS Mount Options.
--
-- $sel:mountPoint:ProjectFileSystemLocation',
-- projectFileSystemLocation_mountPoint - The location in the
-- container where you mount the file system.
--
-- $sel:type':ProjectFileSystemLocation',
-- projectFileSystemLocation_type - The type of the file system.
-- The one supported type is EFS.
newProjectFileSystemLocation :: ProjectFileSystemLocation
-- | The name used to access a file system created by Amazon EFS. CodeBuild
-- creates an environment variable by appending the identifier
-- in all capital letters to CODEBUILD_. For example, if you
-- specify my_efs for identifier, a new environment
-- variable is create named CODEBUILD_MY_EFS.
--
-- The identifier is used to mount your file system.
projectFileSystemLocation_identifier :: Lens' ProjectFileSystemLocation (Maybe Text)
-- | A string that specifies the location of the file system created by
-- Amazon EFS. Its format is efs-dns-name:/directory-path. You
-- can find the DNS name of file system when you view it in the Amazon
-- EFS console. The directory path is a path to a directory in the file
-- system that CodeBuild mounts. For example, if the DNS name of a file
-- system is fs-abcd1234.efs.us-west-2.amazonaws.com, and its
-- mount directory is my-efs-mount-directory, then the
-- location is
-- fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.
--
-- The directory path in the format efs-dns-name:/directory-path
-- is optional. If you do not specify a directory path, the location is
-- only the DNS name and CodeBuild mounts the entire file system.
projectFileSystemLocation_location :: Lens' ProjectFileSystemLocation (Maybe Text)
-- | The mount options for a file system created by Amazon EFS. The default
-- mount options used by CodeBuild are
-- nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2.
-- For more information, see Recommended NFS Mount Options.
projectFileSystemLocation_mountOptions :: Lens' ProjectFileSystemLocation (Maybe Text)
-- | The location in the container where you mount the file system.
projectFileSystemLocation_mountPoint :: Lens' ProjectFileSystemLocation (Maybe Text)
-- | The type of the file system. The one supported type is EFS.
projectFileSystemLocation_type :: Lens' ProjectFileSystemLocation (Maybe FileSystemType)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ProjectFileSystemLocation.ProjectFileSystemLocation
instance GHC.Show.Show Amazonka.CodeBuild.Types.ProjectFileSystemLocation.ProjectFileSystemLocation
instance GHC.Read.Read Amazonka.CodeBuild.Types.ProjectFileSystemLocation.ProjectFileSystemLocation
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ProjectFileSystemLocation.ProjectFileSystemLocation
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ProjectFileSystemLocation.ProjectFileSystemLocation
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ProjectFileSystemLocation.ProjectFileSystemLocation
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ProjectFileSystemLocation.ProjectFileSystemLocation
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ProjectFileSystemLocation.ProjectFileSystemLocation
module Amazonka.CodeBuild.Types.ProjectSortByType
newtype ProjectSortByType
ProjectSortByType' :: Text -> ProjectSortByType
[fromProjectSortByType] :: ProjectSortByType -> Text
pattern ProjectSortByType_CREATED_TIME :: ProjectSortByType
pattern ProjectSortByType_LAST_MODIFIED_TIME :: ProjectSortByType
pattern ProjectSortByType_NAME :: ProjectSortByType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance GHC.Read.Read Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
instance GHC.Show.Show Amazonka.CodeBuild.Types.ProjectSortByType.ProjectSortByType
module Amazonka.CodeBuild.Types.ProjectSourceVersion
-- | A source identifier and its corresponding version.
--
-- See: newProjectSourceVersion smart constructor.
data ProjectSourceVersion
ProjectSourceVersion' :: Text -> Text -> ProjectSourceVersion
-- | An identifier for a source in the build project. The identifier can
-- only contain alphanumeric characters and underscores, and must be less
-- than 128 characters in length.
[$sel:sourceIdentifier:ProjectSourceVersion'] :: ProjectSourceVersion -> Text
-- | The source version for the corresponding source identifier. If
-- specified, must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
[$sel:sourceVersion:ProjectSourceVersion'] :: ProjectSourceVersion -> Text
-- | Create a value of ProjectSourceVersion with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:sourceIdentifier:ProjectSourceVersion',
-- projectSourceVersion_sourceIdentifier - An identifier for a
-- source in the build project. The identifier can only contain
-- alphanumeric characters and underscores, and must be less than 128
-- characters in length.
--
-- $sel:sourceVersion:ProjectSourceVersion',
-- projectSourceVersion_sourceVersion - The source version for the
-- corresponding source identifier. If specified, must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
newProjectSourceVersion :: Text -> Text -> ProjectSourceVersion
-- | An identifier for a source in the build project. The identifier can
-- only contain alphanumeric characters and underscores, and must be less
-- than 128 characters in length.
projectSourceVersion_sourceIdentifier :: Lens' ProjectSourceVersion Text
-- | The source version for the corresponding source identifier. If
-- specified, must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
projectSourceVersion_sourceVersion :: Lens' ProjectSourceVersion Text
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ProjectSourceVersion.ProjectSourceVersion
instance GHC.Show.Show Amazonka.CodeBuild.Types.ProjectSourceVersion.ProjectSourceVersion
instance GHC.Read.Read Amazonka.CodeBuild.Types.ProjectSourceVersion.ProjectSourceVersion
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ProjectSourceVersion.ProjectSourceVersion
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ProjectSourceVersion.ProjectSourceVersion
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ProjectSourceVersion.ProjectSourceVersion
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ProjectSourceVersion.ProjectSourceVersion
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ProjectSourceVersion.ProjectSourceVersion
module Amazonka.CodeBuild.Types.ProjectVisibilityType
-- | Specifies the visibility of the project's builds. Possible values are:
--
--
-- - PUBLIC_READ The project builds are visible to the
-- public.
-- - PRIVATE The project builds are not visible to the
-- public.
--
newtype ProjectVisibilityType
ProjectVisibilityType' :: Text -> ProjectVisibilityType
[fromProjectVisibilityType] :: ProjectVisibilityType -> Text
pattern ProjectVisibilityType_PRIVATE :: ProjectVisibilityType
pattern ProjectVisibilityType_PUBLIC_READ :: ProjectVisibilityType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance GHC.Read.Read Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
instance GHC.Show.Show Amazonka.CodeBuild.Types.ProjectVisibilityType.ProjectVisibilityType
module Amazonka.CodeBuild.Types.RegistryCredential
-- | Information about credentials that provide access to a private Docker
-- registry. When this is set:
--
--
-- - imagePullCredentialsType must be set to
-- SERVICE_ROLE.
-- - images cannot be curated or an Amazon ECR image.
--
--
-- For more information, see Private Registry with Secrets Manager
-- Sample for CodeBuild.
--
-- See: newRegistryCredential smart constructor.
data RegistryCredential
RegistryCredential' :: Text -> CredentialProviderType -> RegistryCredential
-- | The Amazon Resource Name (ARN) or name of credentials created using
-- Secrets Manager.
--
-- The credential can use the name of the credentials only if
-- they exist in your current Amazon Web Services Region.
[$sel:credential:RegistryCredential'] :: RegistryCredential -> Text
-- | The service that created the credentials to access a private Docker
-- registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
[$sel:credentialProvider:RegistryCredential'] :: RegistryCredential -> CredentialProviderType
-- | Create a value of RegistryCredential with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:credential:RegistryCredential',
-- registryCredential_credential - The Amazon Resource Name (ARN)
-- or name of credentials created using Secrets Manager.
--
-- The credential can use the name of the credentials only if
-- they exist in your current Amazon Web Services Region.
--
-- $sel:credentialProvider:RegistryCredential',
-- registryCredential_credentialProvider - The service that
-- created the credentials to access a private Docker registry. The valid
-- value, SECRETS_MANAGER, is for Secrets Manager.
newRegistryCredential :: Text -> CredentialProviderType -> RegistryCredential
-- | The Amazon Resource Name (ARN) or name of credentials created using
-- Secrets Manager.
--
-- The credential can use the name of the credentials only if
-- they exist in your current Amazon Web Services Region.
registryCredential_credential :: Lens' RegistryCredential Text
-- | The service that created the credentials to access a private Docker
-- registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
registryCredential_credentialProvider :: Lens' RegistryCredential CredentialProviderType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.RegistryCredential.RegistryCredential
instance GHC.Show.Show Amazonka.CodeBuild.Types.RegistryCredential.RegistryCredential
instance GHC.Read.Read Amazonka.CodeBuild.Types.RegistryCredential.RegistryCredential
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.RegistryCredential.RegistryCredential
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.RegistryCredential.RegistryCredential
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.RegistryCredential.RegistryCredential
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.RegistryCredential.RegistryCredential
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.RegistryCredential.RegistryCredential
module Amazonka.CodeBuild.Types.ProjectEnvironment
-- | Information about the build environment of the build project.
--
-- See: newProjectEnvironment smart constructor.
data ProjectEnvironment
ProjectEnvironment' :: Maybe Text -> Maybe [EnvironmentVariable] -> Maybe ImagePullCredentialsType -> Maybe Bool -> Maybe RegistryCredential -> EnvironmentType -> Text -> ComputeType -> ProjectEnvironment
-- | The ARN of the Amazon S3 bucket, path prefix, and object key that
-- contains the PEM-encoded certificate for the build project. For more
-- information, see certificate in the CodeBuild User
-- Guide.
[$sel:certificate:ProjectEnvironment'] :: ProjectEnvironment -> Maybe Text
-- | A set of environment variables to make available to builds for this
-- build project.
[$sel:environmentVariables:ProjectEnvironment'] :: ProjectEnvironment -> Maybe [EnvironmentVariable]
-- | The type of credentials CodeBuild uses to pull images in your build.
-- There are two valid values:
--
--
-- - CODEBUILD specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild service principal.
-- - SERVICE_ROLE specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When you use a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When you use an CodeBuild curated image, you
-- must use CODEBUILD credentials.
[$sel:imagePullCredentialsType:ProjectEnvironment'] :: ProjectEnvironment -> Maybe ImagePullCredentialsType
-- | Enables running the Docker daemon inside a Docker container. Set to
-- true only if the build project is used to build Docker images.
-- Otherwise, a build that attempts to interact with the Docker daemon
-- fails. The default setting is false.
--
-- You can initialize the Docker daemon during the install phase of your
-- build by adding one of the following sets of commands to the install
-- phase of your buildspec file:
--
-- If the operating system's base image is Ubuntu Linux:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
--
--
-- If the operating system's base image is Alpine Linux and the previous
-- command does not work, add the -t argument to
-- timeout:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"
--
[$sel:privilegedMode:ProjectEnvironment'] :: ProjectEnvironment -> Maybe Bool
-- | The credentials for access to a private registry.
[$sel:registryCredential:ProjectEnvironment'] :: ProjectEnvironment -> Maybe RegistryCredential
-- | The type of build environment to use for related builds.
--
--
-- - The environment type ARM_CONTAINER is available only in
-- regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU
-- (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific
-- (Sydney), and EU (Frankfurt).
-- - The environment type LINUX_CONTAINER with compute type
-- build.general1.2xlarge is available only in regions US East
-- (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU
-- (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
-- Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney),
-- China (Beijing), and China (Ningxia).
-- - The environment type LINUX_GPU_CONTAINER is available
-- only in regions US East (N. Virginia), US East (Ohio), US West
-- (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt),
-- Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
-- Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
-- - The environment types WINDOWS_CONTAINER and
-- WINDOWS_SERVER_2019_CONTAINER are available only in regions
-- US East (N. Virginia), US East (Ohio), US West (Oregon), and EU
-- (Ireland).
--
--
-- For more information, see Build environment compute types in
-- the CodeBuild user guide.
[$sel:type':ProjectEnvironment'] :: ProjectEnvironment -> EnvironmentType
-- | The image tag or image digest that identifies the Docker image to use
-- for this build project. Use the following formats:
--
--
-- - For an image tag:
-- <registry>/<repository>:<tag>. For example,
-- in the Docker repository that CodeBuild uses to manage its Docker
-- images, this would be aws/codebuild/standard:4.0.
-- - For an image digest:
-- <registry>/<repository>@<digest>. For
-- example, to specify an image with the digest
-- "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
-- use
-- <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
--
--
-- For more information, see Docker images provided by CodeBuild
-- in the CodeBuild user guide.
[$sel:image:ProjectEnvironment'] :: ProjectEnvironment -> Text
-- | Information about the compute resources the build project uses.
-- 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 16 GB memory and 8 vCPUs
-- for builds, depending on your environment type.
-- - BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72
-- vCPUs, and 824 GB of SSD storage for builds. This compute type
-- supports Docker images up to 100 GB uncompressed.
--
--
-- If you use BUILD_GENERAL1_LARGE:
--
--
-- - For environment type LINUX_CONTAINER, you can use up to
-- 15 GB memory and 8 vCPUs for builds.
-- - For environment type LINUX_GPU_CONTAINER, you can use up
-- to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for
-- builds.
-- - For environment type ARM_CONTAINER, you can use up to 16
-- GB memory and 8 vCPUs on ARM-based processors for builds.
--
--
-- For more information, see Build Environment Compute Types in
-- the CodeBuild User Guide.
[$sel:computeType:ProjectEnvironment'] :: ProjectEnvironment -> ComputeType
-- | Create a value of ProjectEnvironment with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:certificate:ProjectEnvironment',
-- projectEnvironment_certificate - The ARN of the Amazon S3
-- bucket, path prefix, and object key that contains the PEM-encoded
-- certificate for the build project. For more information, see
-- certificate in the CodeBuild User Guide.
--
-- $sel:environmentVariables:ProjectEnvironment',
-- projectEnvironment_environmentVariables - A set of environment
-- variables to make available to builds for this build project.
--
-- $sel:imagePullCredentialsType:ProjectEnvironment',
-- projectEnvironment_imagePullCredentialsType - The type of
-- credentials CodeBuild uses to pull images in your build. There are two
-- valid values:
--
--
-- - CODEBUILD specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild service principal.
-- - SERVICE_ROLE specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When you use a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When you use an CodeBuild curated image, you
-- must use CODEBUILD credentials.
--
-- $sel:privilegedMode:ProjectEnvironment',
-- projectEnvironment_privilegedMode - Enables running the Docker
-- daemon inside a Docker container. Set to true only if the build
-- project is used to build Docker images. Otherwise, a build that
-- attempts to interact with the Docker daemon fails. The default setting
-- is false.
--
-- You can initialize the Docker daemon during the install phase of your
-- build by adding one of the following sets of commands to the install
-- phase of your buildspec file:
--
-- If the operating system's base image is Ubuntu Linux:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
--
--
-- If the operating system's base image is Alpine Linux and the previous
-- command does not work, add the -t argument to
-- timeout:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"
--
--
-- $sel:registryCredential:ProjectEnvironment',
-- projectEnvironment_registryCredential - The credentials for
-- access to a private registry.
--
-- ProjectEnvironment, projectEnvironment_type - The type
-- of build environment to use for related builds.
--
--
-- - The environment type ARM_CONTAINER is available only in
-- regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU
-- (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific
-- (Sydney), and EU (Frankfurt).
-- - The environment type LINUX_CONTAINER with compute type
-- build.general1.2xlarge is available only in regions US East
-- (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU
-- (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
-- Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney),
-- China (Beijing), and China (Ningxia).
-- - The environment type LINUX_GPU_CONTAINER is available
-- only in regions US East (N. Virginia), US East (Ohio), US West
-- (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt),
-- Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
-- Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
-- - The environment types WINDOWS_CONTAINER and
-- WINDOWS_SERVER_2019_CONTAINER are available only in regions
-- US East (N. Virginia), US East (Ohio), US West (Oregon), and EU
-- (Ireland).
--
--
-- For more information, see Build environment compute types in
-- the CodeBuild user guide.
--
-- $sel:image:ProjectEnvironment', projectEnvironment_image
-- - The image tag or image digest that identifies the Docker image to
-- use for this build project. Use the following formats:
--
--
-- - For an image tag:
-- <registry>/<repository>:<tag>. For example,
-- in the Docker repository that CodeBuild uses to manage its Docker
-- images, this would be aws/codebuild/standard:4.0.
-- - For an image digest:
-- <registry>/<repository>@<digest>. For
-- example, to specify an image with the digest
-- "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
-- use
-- <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
--
--
-- For more information, see Docker images provided by CodeBuild
-- in the CodeBuild user guide.
--
-- $sel:computeType:ProjectEnvironment',
-- projectEnvironment_computeType - Information about the compute
-- resources the build project uses. 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 16 GB memory and 8 vCPUs
-- for builds, depending on your environment type.
-- - BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72
-- vCPUs, and 824 GB of SSD storage for builds. This compute type
-- supports Docker images up to 100 GB uncompressed.
--
--
-- If you use BUILD_GENERAL1_LARGE:
--
--
-- - For environment type LINUX_CONTAINER, you can use up to
-- 15 GB memory and 8 vCPUs for builds.
-- - For environment type LINUX_GPU_CONTAINER, you can use up
-- to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for
-- builds.
-- - For environment type ARM_CONTAINER, you can use up to 16
-- GB memory and 8 vCPUs on ARM-based processors for builds.
--
--
-- For more information, see Build Environment Compute Types in
-- the CodeBuild User Guide.
newProjectEnvironment :: EnvironmentType -> Text -> ComputeType -> ProjectEnvironment
-- | The ARN of the Amazon S3 bucket, path prefix, and object key that
-- contains the PEM-encoded certificate for the build project. For more
-- information, see certificate in the CodeBuild User
-- Guide.
projectEnvironment_certificate :: Lens' ProjectEnvironment (Maybe Text)
-- | A set of environment variables to make available to builds for this
-- build project.
projectEnvironment_environmentVariables :: Lens' ProjectEnvironment (Maybe [EnvironmentVariable])
-- | The type of credentials CodeBuild uses to pull images in your build.
-- There are two valid values:
--
--
-- - CODEBUILD specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild service principal.
-- - SERVICE_ROLE specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When you use a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When you use an CodeBuild curated image, you
-- must use CODEBUILD credentials.
projectEnvironment_imagePullCredentialsType :: Lens' ProjectEnvironment (Maybe ImagePullCredentialsType)
-- | Enables running the Docker daemon inside a Docker container. Set to
-- true only if the build project is used to build Docker images.
-- Otherwise, a build that attempts to interact with the Docker daemon
-- fails. The default setting is false.
--
-- You can initialize the Docker daemon during the install phase of your
-- build by adding one of the following sets of commands to the install
-- phase of your buildspec file:
--
-- If the operating system's base image is Ubuntu Linux:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
--
--
-- If the operating system's base image is Alpine Linux and the previous
-- command does not work, add the -t argument to
-- timeout:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"
--
projectEnvironment_privilegedMode :: Lens' ProjectEnvironment (Maybe Bool)
-- | The credentials for access to a private registry.
projectEnvironment_registryCredential :: Lens' ProjectEnvironment (Maybe RegistryCredential)
-- | The type of build environment to use for related builds.
--
--
-- - The environment type ARM_CONTAINER is available only in
-- regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU
-- (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific
-- (Sydney), and EU (Frankfurt).
-- - The environment type LINUX_CONTAINER with compute type
-- build.general1.2xlarge is available only in regions US East
-- (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU
-- (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
-- Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney),
-- China (Beijing), and China (Ningxia).
-- - The environment type LINUX_GPU_CONTAINER is available
-- only in regions US East (N. Virginia), US East (Ohio), US West
-- (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt),
-- Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
-- Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
-- - The environment types WINDOWS_CONTAINER and
-- WINDOWS_SERVER_2019_CONTAINER are available only in regions
-- US East (N. Virginia), US East (Ohio), US West (Oregon), and EU
-- (Ireland).
--
--
-- For more information, see Build environment compute types in
-- the CodeBuild user guide.
projectEnvironment_type :: Lens' ProjectEnvironment EnvironmentType
-- | The image tag or image digest that identifies the Docker image to use
-- for this build project. Use the following formats:
--
--
-- - For an image tag:
-- <registry>/<repository>:<tag>. For example,
-- in the Docker repository that CodeBuild uses to manage its Docker
-- images, this would be aws/codebuild/standard:4.0.
-- - For an image digest:
-- <registry>/<repository>@<digest>. For
-- example, to specify an image with the digest
-- "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
-- use
-- <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
--
--
-- For more information, see Docker images provided by CodeBuild
-- in the CodeBuild user guide.
projectEnvironment_image :: Lens' ProjectEnvironment Text
-- | Information about the compute resources the build project uses.
-- 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 16 GB memory and 8 vCPUs
-- for builds, depending on your environment type.
-- - BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72
-- vCPUs, and 824 GB of SSD storage for builds. This compute type
-- supports Docker images up to 100 GB uncompressed.
--
--
-- If you use BUILD_GENERAL1_LARGE:
--
--
-- - For environment type LINUX_CONTAINER, you can use up to
-- 15 GB memory and 8 vCPUs for builds.
-- - For environment type LINUX_GPU_CONTAINER, you can use up
-- to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for
-- builds.
-- - For environment type ARM_CONTAINER, you can use up to 16
-- GB memory and 8 vCPUs on ARM-based processors for builds.
--
--
-- For more information, see Build Environment Compute Types in
-- the CodeBuild User Guide.
projectEnvironment_computeType :: Lens' ProjectEnvironment ComputeType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ProjectEnvironment.ProjectEnvironment
instance GHC.Show.Show Amazonka.CodeBuild.Types.ProjectEnvironment.ProjectEnvironment
instance GHC.Read.Read Amazonka.CodeBuild.Types.ProjectEnvironment.ProjectEnvironment
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ProjectEnvironment.ProjectEnvironment
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ProjectEnvironment.ProjectEnvironment
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ProjectEnvironment.ProjectEnvironment
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ProjectEnvironment.ProjectEnvironment
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ProjectEnvironment.ProjectEnvironment
module Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType
newtype ReportCodeCoverageSortByType
ReportCodeCoverageSortByType' :: Text -> ReportCodeCoverageSortByType
[fromReportCodeCoverageSortByType] :: ReportCodeCoverageSortByType -> Text
pattern ReportCodeCoverageSortByType_FILE_PATH :: ReportCodeCoverageSortByType
pattern ReportCodeCoverageSortByType_LINE_COVERAGE_PERCENTAGE :: ReportCodeCoverageSortByType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance GHC.Read.Read Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
instance GHC.Show.Show Amazonka.CodeBuild.Types.ReportCodeCoverageSortByType.ReportCodeCoverageSortByType
module Amazonka.CodeBuild.Types.ReportExportConfigType
newtype ReportExportConfigType
ReportExportConfigType' :: Text -> ReportExportConfigType
[fromReportExportConfigType] :: ReportExportConfigType -> Text
pattern ReportExportConfigType_NO_EXPORT :: ReportExportConfigType
pattern ReportExportConfigType_S3 :: ReportExportConfigType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance GHC.Read.Read Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
instance GHC.Show.Show Amazonka.CodeBuild.Types.ReportExportConfigType.ReportExportConfigType
module Amazonka.CodeBuild.Types.ReportGroupSortByType
newtype ReportGroupSortByType
ReportGroupSortByType' :: Text -> ReportGroupSortByType
[fromReportGroupSortByType] :: ReportGroupSortByType -> Text
pattern ReportGroupSortByType_CREATED_TIME :: ReportGroupSortByType
pattern ReportGroupSortByType_LAST_MODIFIED_TIME :: ReportGroupSortByType
pattern ReportGroupSortByType_NAME :: ReportGroupSortByType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance GHC.Read.Read Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
instance GHC.Show.Show Amazonka.CodeBuild.Types.ReportGroupSortByType.ReportGroupSortByType
module Amazonka.CodeBuild.Types.ReportGroupStatusType
newtype ReportGroupStatusType
ReportGroupStatusType' :: Text -> ReportGroupStatusType
[fromReportGroupStatusType] :: ReportGroupStatusType -> Text
pattern ReportGroupStatusType_ACTIVE :: ReportGroupStatusType
pattern ReportGroupStatusType_DELETING :: ReportGroupStatusType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance GHC.Read.Read Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
instance GHC.Show.Show Amazonka.CodeBuild.Types.ReportGroupStatusType.ReportGroupStatusType
module Amazonka.CodeBuild.Types.ReportGroupTrendFieldType
newtype ReportGroupTrendFieldType
ReportGroupTrendFieldType' :: Text -> ReportGroupTrendFieldType
[fromReportGroupTrendFieldType] :: ReportGroupTrendFieldType -> Text
pattern ReportGroupTrendFieldType_BRANCHES_COVERED :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_BRANCHES_MISSED :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_BRANCH_COVERAGE :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_DURATION :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_LINES_COVERED :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_LINES_MISSED :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_LINE_COVERAGE :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_PASS_RATE :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_TOTAL :: ReportGroupTrendFieldType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance GHC.Read.Read Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
instance GHC.Show.Show Amazonka.CodeBuild.Types.ReportGroupTrendFieldType.ReportGroupTrendFieldType
module Amazonka.CodeBuild.Types.ReportGroupTrendStats
-- | Contains trend statistics for a set of reports. The actual values
-- depend on the type of trend being collected. For more information, see
-- .
--
-- See: newReportGroupTrendStats smart constructor.
data ReportGroupTrendStats
ReportGroupTrendStats' :: Maybe Text -> Maybe Text -> Maybe Text -> ReportGroupTrendStats
-- | Contains the average of all values analyzed.
[$sel:average:ReportGroupTrendStats'] :: ReportGroupTrendStats -> Maybe Text
-- | Contains the maximum value analyzed.
[$sel:max:ReportGroupTrendStats'] :: ReportGroupTrendStats -> Maybe Text
-- | Contains the minimum value analyzed.
[$sel:min:ReportGroupTrendStats'] :: ReportGroupTrendStats -> Maybe Text
-- | Create a value of ReportGroupTrendStats with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:average:ReportGroupTrendStats',
-- reportGroupTrendStats_average - Contains the average of all
-- values analyzed.
--
-- $sel:max:ReportGroupTrendStats',
-- reportGroupTrendStats_max - Contains the maximum value
-- analyzed.
--
-- $sel:min:ReportGroupTrendStats',
-- reportGroupTrendStats_min - Contains the minimum value
-- analyzed.
newReportGroupTrendStats :: ReportGroupTrendStats
-- | Contains the average of all values analyzed.
reportGroupTrendStats_average :: Lens' ReportGroupTrendStats (Maybe Text)
-- | Contains the maximum value analyzed.
reportGroupTrendStats_max :: Lens' ReportGroupTrendStats (Maybe Text)
-- | Contains the minimum value analyzed.
reportGroupTrendStats_min :: Lens' ReportGroupTrendStats (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ReportGroupTrendStats.ReportGroupTrendStats
instance GHC.Show.Show Amazonka.CodeBuild.Types.ReportGroupTrendStats.ReportGroupTrendStats
instance GHC.Read.Read Amazonka.CodeBuild.Types.ReportGroupTrendStats.ReportGroupTrendStats
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ReportGroupTrendStats.ReportGroupTrendStats
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ReportGroupTrendStats.ReportGroupTrendStats
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ReportGroupTrendStats.ReportGroupTrendStats
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ReportGroupTrendStats.ReportGroupTrendStats
module Amazonka.CodeBuild.Types.ReportPackagingType
newtype ReportPackagingType
ReportPackagingType' :: Text -> ReportPackagingType
[fromReportPackagingType] :: ReportPackagingType -> Text
pattern ReportPackagingType_NONE :: ReportPackagingType
pattern ReportPackagingType_ZIP :: ReportPackagingType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance GHC.Read.Read Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
instance GHC.Show.Show Amazonka.CodeBuild.Types.ReportPackagingType.ReportPackagingType
module Amazonka.CodeBuild.Types.ReportStatusType
newtype ReportStatusType
ReportStatusType' :: Text -> ReportStatusType
[fromReportStatusType] :: ReportStatusType -> Text
pattern ReportStatusType_DELETING :: ReportStatusType
pattern ReportStatusType_FAILED :: ReportStatusType
pattern ReportStatusType_GENERATING :: ReportStatusType
pattern ReportStatusType_INCOMPLETE :: ReportStatusType
pattern ReportStatusType_SUCCEEDED :: ReportStatusType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance GHC.Read.Read Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
instance GHC.Show.Show Amazonka.CodeBuild.Types.ReportStatusType.ReportStatusType
module Amazonka.CodeBuild.Types.ReportFilter
-- | A filter used to return reports with the status specified by the input
-- status parameter.
--
-- See: newReportFilter smart constructor.
data ReportFilter
ReportFilter' :: Maybe ReportStatusType -> ReportFilter
-- | The status used to filter reports. You can filter using one status
-- only.
[$sel:status:ReportFilter'] :: ReportFilter -> Maybe ReportStatusType
-- | Create a value of ReportFilter with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:status:ReportFilter', reportFilter_status - The
-- status used to filter reports. You can filter using one status only.
newReportFilter :: ReportFilter
-- | The status used to filter reports. You can filter using one status
-- only.
reportFilter_status :: Lens' ReportFilter (Maybe ReportStatusType)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ReportFilter.ReportFilter
instance GHC.Show.Show Amazonka.CodeBuild.Types.ReportFilter.ReportFilter
instance GHC.Read.Read Amazonka.CodeBuild.Types.ReportFilter.ReportFilter
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ReportFilter.ReportFilter
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ReportFilter.ReportFilter
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ReportFilter.ReportFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ReportFilter.ReportFilter
module Amazonka.CodeBuild.Types.ReportType
newtype ReportType
ReportType' :: Text -> ReportType
[fromReportType] :: ReportType -> Text
pattern ReportType_CODE_COVERAGE :: ReportType
pattern ReportType_TEST :: ReportType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ReportType.ReportType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ReportType.ReportType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ReportType.ReportType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ReportType.ReportType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ReportType.ReportType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ReportType.ReportType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ReportType.ReportType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ReportType.ReportType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ReportType.ReportType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ReportType.ReportType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ReportType.ReportType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ReportType.ReportType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ReportType.ReportType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ReportType.ReportType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ReportType.ReportType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ReportType.ReportType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ReportType.ReportType
instance GHC.Read.Read Amazonka.CodeBuild.Types.ReportType.ReportType
instance GHC.Show.Show Amazonka.CodeBuild.Types.ReportType.ReportType
module Amazonka.CodeBuild.Types.ReportWithRawData
-- | Contains the unmodified data for the report. For more information, see
-- .
--
-- See: newReportWithRawData smart constructor.
data ReportWithRawData
ReportWithRawData' :: Maybe Text -> Maybe Text -> ReportWithRawData
-- | The value of the requested data field from the report.
[$sel:data':ReportWithRawData'] :: ReportWithRawData -> Maybe Text
-- | The ARN of the report.
[$sel:reportArn:ReportWithRawData'] :: ReportWithRawData -> Maybe Text
-- | Create a value of ReportWithRawData with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:data':ReportWithRawData', reportWithRawData_data -
-- The value of the requested data field from the report.
--
-- $sel:reportArn:ReportWithRawData',
-- reportWithRawData_reportArn - The ARN of the report.
newReportWithRawData :: ReportWithRawData
-- | The value of the requested data field from the report.
reportWithRawData_data :: Lens' ReportWithRawData (Maybe Text)
-- | The ARN of the report.
reportWithRawData_reportArn :: Lens' ReportWithRawData (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ReportWithRawData.ReportWithRawData
instance GHC.Show.Show Amazonka.CodeBuild.Types.ReportWithRawData.ReportWithRawData
instance GHC.Read.Read Amazonka.CodeBuild.Types.ReportWithRawData.ReportWithRawData
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ReportWithRawData.ReportWithRawData
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ReportWithRawData.ReportWithRawData
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ReportWithRawData.ReportWithRawData
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ReportWithRawData.ReportWithRawData
module Amazonka.CodeBuild.Types.ResolvedArtifact
-- | Represents a resolved build artifact. A resolved artifact is an
-- artifact that is built and deployed to the destination, such as Amazon
-- S3.
--
-- See: newResolvedArtifact smart constructor.
data ResolvedArtifact
ResolvedArtifact' :: Maybe Text -> Maybe Text -> Maybe ArtifactsType -> ResolvedArtifact
-- | The identifier of the artifact.
[$sel:identifier:ResolvedArtifact'] :: ResolvedArtifact -> Maybe Text
-- | The location of the artifact.
[$sel:location:ResolvedArtifact'] :: ResolvedArtifact -> Maybe Text
-- | Specifies the type of artifact.
[$sel:type':ResolvedArtifact'] :: ResolvedArtifact -> Maybe ArtifactsType
-- | Create a value of ResolvedArtifact with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:identifier:ResolvedArtifact',
-- resolvedArtifact_identifier - The identifier of the artifact.
--
-- $sel:location:ResolvedArtifact',
-- resolvedArtifact_location - The location of the artifact.
--
-- $sel:type':ResolvedArtifact', resolvedArtifact_type -
-- Specifies the type of artifact.
newResolvedArtifact :: ResolvedArtifact
-- | The identifier of the artifact.
resolvedArtifact_identifier :: Lens' ResolvedArtifact (Maybe Text)
-- | The location of the artifact.
resolvedArtifact_location :: Lens' ResolvedArtifact (Maybe Text)
-- | Specifies the type of artifact.
resolvedArtifact_type :: Lens' ResolvedArtifact (Maybe ArtifactsType)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ResolvedArtifact.ResolvedArtifact
instance GHC.Show.Show Amazonka.CodeBuild.Types.ResolvedArtifact.ResolvedArtifact
instance GHC.Read.Read Amazonka.CodeBuild.Types.ResolvedArtifact.ResolvedArtifact
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ResolvedArtifact.ResolvedArtifact
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ResolvedArtifact.ResolvedArtifact
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ResolvedArtifact.ResolvedArtifact
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ResolvedArtifact.ResolvedArtifact
module Amazonka.CodeBuild.Types.RetryBuildBatchType
newtype RetryBuildBatchType
RetryBuildBatchType' :: Text -> RetryBuildBatchType
[fromRetryBuildBatchType] :: RetryBuildBatchType -> Text
pattern RetryBuildBatchType_RETRY_ALL_BUILDS :: RetryBuildBatchType
pattern RetryBuildBatchType_RETRY_FAILED_BUILDS :: RetryBuildBatchType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance GHC.Read.Read Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
instance GHC.Show.Show Amazonka.CodeBuild.Types.RetryBuildBatchType.RetryBuildBatchType
module Amazonka.CodeBuild.Types.S3LogsConfig
-- | Information about S3 logs for a build project.
--
-- See: newS3LogsConfig smart constructor.
data S3LogsConfig
S3LogsConfig' :: Maybe BucketOwnerAccess -> Maybe Bool -> Maybe Text -> LogsConfigStatusType -> S3LogsConfig
[$sel:bucketOwnerAccess:S3LogsConfig'] :: S3LogsConfig -> Maybe BucketOwnerAccess
-- | Set to true if you do not want your S3 build log output encrypted. By
-- default S3 build logs are encrypted.
[$sel:encryptionDisabled:S3LogsConfig'] :: S3LogsConfig -> Maybe Bool
-- | The ARN of an S3 bucket and the path prefix for S3 logs. If your
-- Amazon S3 bucket name is my-bucket, and your path prefix is
-- build-log, then acceptable formats are
-- my-bucket/build-log or
-- arn:aws:s3:::my-bucket/build-log.
[$sel:location:S3LogsConfig'] :: S3LogsConfig -> Maybe Text
-- | The current status of the S3 build logs. Valid values are:
--
--
-- - ENABLED: S3 build logs are enabled for this build
-- project.
-- - DISABLED: S3 build logs are not enabled for this build
-- project.
--
[$sel:status:S3LogsConfig'] :: S3LogsConfig -> LogsConfigStatusType
-- | Create a value of S3LogsConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:bucketOwnerAccess:S3LogsConfig',
-- s3LogsConfig_bucketOwnerAccess - Undocumented member.
--
-- $sel:encryptionDisabled:S3LogsConfig',
-- s3LogsConfig_encryptionDisabled - Set to true if you do not
-- want your S3 build log output encrypted. By default S3 build logs are
-- encrypted.
--
-- $sel:location:S3LogsConfig', s3LogsConfig_location - The
-- ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3
-- bucket name is my-bucket, and your path prefix is
-- build-log, then acceptable formats are
-- my-bucket/build-log or
-- arn:aws:s3:::my-bucket/build-log.
--
-- $sel:status:S3LogsConfig', s3LogsConfig_status - The
-- current status of the S3 build logs. Valid values are:
--
--
-- - ENABLED: S3 build logs are enabled for this build
-- project.
-- - DISABLED: S3 build logs are not enabled for this build
-- project.
--
newS3LogsConfig :: LogsConfigStatusType -> S3LogsConfig
-- | Undocumented member.
s3LogsConfig_bucketOwnerAccess :: Lens' S3LogsConfig (Maybe BucketOwnerAccess)
-- | Set to true if you do not want your S3 build log output encrypted. By
-- default S3 build logs are encrypted.
s3LogsConfig_encryptionDisabled :: Lens' S3LogsConfig (Maybe Bool)
-- | The ARN of an S3 bucket and the path prefix for S3 logs. If your
-- Amazon S3 bucket name is my-bucket, and your path prefix is
-- build-log, then acceptable formats are
-- my-bucket/build-log or
-- arn:aws:s3:::my-bucket/build-log.
s3LogsConfig_location :: Lens' S3LogsConfig (Maybe Text)
-- | The current status of the S3 build logs. Valid values are:
--
--
-- - ENABLED: S3 build logs are enabled for this build
-- project.
-- - DISABLED: S3 build logs are not enabled for this build
-- project.
--
s3LogsConfig_status :: Lens' S3LogsConfig LogsConfigStatusType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.S3LogsConfig.S3LogsConfig
instance GHC.Show.Show Amazonka.CodeBuild.Types.S3LogsConfig.S3LogsConfig
instance GHC.Read.Read Amazonka.CodeBuild.Types.S3LogsConfig.S3LogsConfig
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.S3LogsConfig.S3LogsConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.S3LogsConfig.S3LogsConfig
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.S3LogsConfig.S3LogsConfig
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.S3LogsConfig.S3LogsConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.S3LogsConfig.S3LogsConfig
module Amazonka.CodeBuild.Types.LogsLocation
-- | Information about build logs in CloudWatch Logs.
--
-- See: newLogsLocation smart constructor.
data LogsLocation
LogsLocation' :: Maybe CloudWatchLogsConfig -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe S3LogsConfig -> Maybe Text -> Maybe Text -> LogsLocation
-- | Information about CloudWatch Logs for a build project.
[$sel:cloudWatchLogs:LogsLocation'] :: LogsLocation -> Maybe CloudWatchLogsConfig
-- | The ARN of CloudWatch Logs for a build project. Its format is
-- arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}.
-- For more information, see Resources Defined by CloudWatch Logs.
[$sel:cloudWatchLogsArn:LogsLocation'] :: LogsLocation -> Maybe Text
-- | The URL to an individual build log in CloudWatch Logs.
[$sel:deepLink:LogsLocation'] :: LogsLocation -> Maybe Text
-- | The name of the CloudWatch Logs group for the build logs.
[$sel:groupName:LogsLocation'] :: LogsLocation -> Maybe Text
-- | The URL to a build log in an S3 bucket.
[$sel:s3DeepLink:LogsLocation'] :: LogsLocation -> Maybe Text
-- | Information about S3 logs for a build project.
[$sel:s3Logs:LogsLocation'] :: LogsLocation -> Maybe S3LogsConfig
-- | The ARN of S3 logs for a build project. Its format is
-- arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more
-- information, see Resources Defined by Amazon S3.
[$sel:s3LogsArn:LogsLocation'] :: LogsLocation -> Maybe Text
-- | The name of the CloudWatch Logs stream for the build logs.
[$sel:streamName:LogsLocation'] :: LogsLocation -> Maybe Text
-- | Create a value of LogsLocation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudWatchLogs:LogsLocation',
-- logsLocation_cloudWatchLogs - Information about CloudWatch Logs
-- for a build project.
--
-- $sel:cloudWatchLogsArn:LogsLocation',
-- logsLocation_cloudWatchLogsArn - The ARN of CloudWatch Logs for
-- a build project. Its format is
-- arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}.
-- For more information, see Resources Defined by CloudWatch Logs.
--
-- $sel:deepLink:LogsLocation', logsLocation_deepLink - The
-- URL to an individual build log in CloudWatch Logs.
--
-- LogsLocation, logsLocation_groupName - The name of the
-- CloudWatch Logs group for the build logs.
--
-- $sel:s3DeepLink:LogsLocation', logsLocation_s3DeepLink -
-- The URL to a build log in an S3 bucket.
--
-- $sel:s3Logs:LogsLocation', logsLocation_s3Logs -
-- Information about S3 logs for a build project.
--
-- $sel:s3LogsArn:LogsLocation', logsLocation_s3LogsArn -
-- The ARN of S3 logs for a build project. Its format is
-- arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more
-- information, see Resources Defined by Amazon S3.
--
-- LogsLocation, logsLocation_streamName - The name of the
-- CloudWatch Logs stream for the build logs.
newLogsLocation :: LogsLocation
-- | Information about CloudWatch Logs for a build project.
logsLocation_cloudWatchLogs :: Lens' LogsLocation (Maybe CloudWatchLogsConfig)
-- | The ARN of CloudWatch Logs for a build project. Its format is
-- arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}.
-- For more information, see Resources Defined by CloudWatch Logs.
logsLocation_cloudWatchLogsArn :: Lens' LogsLocation (Maybe Text)
-- | The URL to an individual build log in CloudWatch Logs.
logsLocation_deepLink :: Lens' LogsLocation (Maybe Text)
-- | The name of the CloudWatch Logs group for the build logs.
logsLocation_groupName :: Lens' LogsLocation (Maybe Text)
-- | The URL to a build log in an S3 bucket.
logsLocation_s3DeepLink :: Lens' LogsLocation (Maybe Text)
-- | Information about S3 logs for a build project.
logsLocation_s3Logs :: Lens' LogsLocation (Maybe S3LogsConfig)
-- | The ARN of S3 logs for a build project. Its format is
-- arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more
-- information, see Resources Defined by Amazon S3.
logsLocation_s3LogsArn :: Lens' LogsLocation (Maybe Text)
-- | The name of the CloudWatch Logs stream for the build logs.
logsLocation_streamName :: Lens' LogsLocation (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.LogsLocation.LogsLocation
instance GHC.Show.Show Amazonka.CodeBuild.Types.LogsLocation.LogsLocation
instance GHC.Read.Read Amazonka.CodeBuild.Types.LogsLocation.LogsLocation
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.LogsLocation.LogsLocation
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.LogsLocation.LogsLocation
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.LogsLocation.LogsLocation
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.LogsLocation.LogsLocation
module Amazonka.CodeBuild.Types.LogsConfig
-- | Information about logs for a build project. These can be logs in
-- CloudWatch Logs, built in a specified S3 bucket, or both.
--
-- See: newLogsConfig smart constructor.
data LogsConfig
LogsConfig' :: Maybe CloudWatchLogsConfig -> Maybe S3LogsConfig -> LogsConfig
-- | Information about CloudWatch Logs for a build project. CloudWatch Logs
-- are enabled by default.
[$sel:cloudWatchLogs:LogsConfig'] :: LogsConfig -> Maybe CloudWatchLogsConfig
-- | Information about logs built to an S3 bucket for a build project. S3
-- logs are not enabled by default.
[$sel:s3Logs:LogsConfig'] :: LogsConfig -> Maybe S3LogsConfig
-- | Create a value of LogsConfig with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudWatchLogs:LogsConfig',
-- logsConfig_cloudWatchLogs - Information about CloudWatch Logs
-- for a build project. CloudWatch Logs are enabled by default.
--
-- $sel:s3Logs:LogsConfig', logsConfig_s3Logs - Information
-- about logs built to an S3 bucket for a build project. S3 logs are not
-- enabled by default.
newLogsConfig :: LogsConfig
-- | Information about CloudWatch Logs for a build project. CloudWatch Logs
-- are enabled by default.
logsConfig_cloudWatchLogs :: Lens' LogsConfig (Maybe CloudWatchLogsConfig)
-- | Information about logs built to an S3 bucket for a build project. S3
-- logs are not enabled by default.
logsConfig_s3Logs :: Lens' LogsConfig (Maybe S3LogsConfig)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.LogsConfig.LogsConfig
instance GHC.Show.Show Amazonka.CodeBuild.Types.LogsConfig.LogsConfig
instance GHC.Read.Read Amazonka.CodeBuild.Types.LogsConfig.LogsConfig
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.LogsConfig.LogsConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.LogsConfig.LogsConfig
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.LogsConfig.LogsConfig
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.LogsConfig.LogsConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.LogsConfig.LogsConfig
module Amazonka.CodeBuild.Types.S3ReportExportConfig
-- | Information about the S3 bucket where the raw data of a report are
-- exported.
--
-- See: newS3ReportExportConfig smart constructor.
data S3ReportExportConfig
S3ReportExportConfig' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe ReportPackagingType -> Maybe Text -> S3ReportExportConfig
-- | The name of the S3 bucket where the raw data of a report are exported.
[$sel:bucket:S3ReportExportConfig'] :: S3ReportExportConfig -> Maybe Text
-- | The Amazon Web Services account identifier of the owner of the Amazon
-- S3 bucket. This allows report data to be exported to an Amazon S3
-- bucket that is owned by an account other than the account running the
-- build.
[$sel:bucketOwner:S3ReportExportConfig'] :: S3ReportExportConfig -> Maybe Text
-- | A boolean value that specifies if the results of a report are
-- encrypted.
[$sel:encryptionDisabled:S3ReportExportConfig'] :: S3ReportExportConfig -> Maybe Bool
-- | The encryption key for the report's encrypted raw data.
[$sel:encryptionKey:S3ReportExportConfig'] :: S3ReportExportConfig -> Maybe Text
-- | The type of build output artifact to create. Valid values include:
--
--
-- - NONE: CodeBuild creates the raw data in the output
-- bucket. This is the default if packaging is not specified.
-- - ZIP: CodeBuild creates a ZIP file with the raw data in
-- the output bucket.
--
[$sel:packaging:S3ReportExportConfig'] :: S3ReportExportConfig -> Maybe ReportPackagingType
-- | The path to the exported report's raw data results.
[$sel:path:S3ReportExportConfig'] :: S3ReportExportConfig -> Maybe Text
-- | Create a value of S3ReportExportConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:bucket:S3ReportExportConfig',
-- s3ReportExportConfig_bucket - The name of the S3 bucket where
-- the raw data of a report are exported.
--
-- $sel:bucketOwner:S3ReportExportConfig',
-- s3ReportExportConfig_bucketOwner - The Amazon Web Services
-- account identifier of the owner of the Amazon S3 bucket. This allows
-- report data to be exported to an Amazon S3 bucket that is owned by an
-- account other than the account running the build.
--
-- $sel:encryptionDisabled:S3ReportExportConfig',
-- s3ReportExportConfig_encryptionDisabled - A boolean value that
-- specifies if the results of a report are encrypted.
--
-- $sel:encryptionKey:S3ReportExportConfig',
-- s3ReportExportConfig_encryptionKey - The encryption key for the
-- report's encrypted raw data.
--
-- $sel:packaging:S3ReportExportConfig',
-- s3ReportExportConfig_packaging - The type of build output
-- artifact to create. Valid values include:
--
--
-- - NONE: CodeBuild creates the raw data in the output
-- bucket. This is the default if packaging is not specified.
-- - ZIP: CodeBuild creates a ZIP file with the raw data in
-- the output bucket.
--
--
-- $sel:path:S3ReportExportConfig',
-- s3ReportExportConfig_path - The path to the exported report's
-- raw data results.
newS3ReportExportConfig :: S3ReportExportConfig
-- | The name of the S3 bucket where the raw data of a report are exported.
s3ReportExportConfig_bucket :: Lens' S3ReportExportConfig (Maybe Text)
-- | The Amazon Web Services account identifier of the owner of the Amazon
-- S3 bucket. This allows report data to be exported to an Amazon S3
-- bucket that is owned by an account other than the account running the
-- build.
s3ReportExportConfig_bucketOwner :: Lens' S3ReportExportConfig (Maybe Text)
-- | A boolean value that specifies if the results of a report are
-- encrypted.
s3ReportExportConfig_encryptionDisabled :: Lens' S3ReportExportConfig (Maybe Bool)
-- | The encryption key for the report's encrypted raw data.
s3ReportExportConfig_encryptionKey :: Lens' S3ReportExportConfig (Maybe Text)
-- | The type of build output artifact to create. Valid values include:
--
--
-- - NONE: CodeBuild creates the raw data in the output
-- bucket. This is the default if packaging is not specified.
-- - ZIP: CodeBuild creates a ZIP file with the raw data in
-- the output bucket.
--
s3ReportExportConfig_packaging :: Lens' S3ReportExportConfig (Maybe ReportPackagingType)
-- | The path to the exported report's raw data results.
s3ReportExportConfig_path :: Lens' S3ReportExportConfig (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.S3ReportExportConfig.S3ReportExportConfig
instance GHC.Show.Show Amazonka.CodeBuild.Types.S3ReportExportConfig.S3ReportExportConfig
instance GHC.Read.Read Amazonka.CodeBuild.Types.S3ReportExportConfig.S3ReportExportConfig
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.S3ReportExportConfig.S3ReportExportConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.S3ReportExportConfig.S3ReportExportConfig
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.S3ReportExportConfig.S3ReportExportConfig
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.S3ReportExportConfig.S3ReportExportConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.S3ReportExportConfig.S3ReportExportConfig
module Amazonka.CodeBuild.Types.ReportExportConfig
-- | Information about the location where the run of a report is exported.
--
-- See: newReportExportConfig smart constructor.
data ReportExportConfig
ReportExportConfig' :: Maybe ReportExportConfigType -> Maybe S3ReportExportConfig -> ReportExportConfig
-- | The export configuration type. Valid values are:
--
--
-- - S3: The report results are exported to an S3 bucket.
-- - NO_EXPORT: The report results are not exported.
--
[$sel:exportConfigType:ReportExportConfig'] :: ReportExportConfig -> Maybe ReportExportConfigType
-- | A S3ReportExportConfig object that contains information about
-- the S3 bucket where the run of a report is exported.
[$sel:s3Destination:ReportExportConfig'] :: ReportExportConfig -> Maybe S3ReportExportConfig
-- | Create a value of ReportExportConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:exportConfigType:ReportExportConfig',
-- reportExportConfig_exportConfigType - The export configuration
-- type. Valid values are:
--
--
-- - S3: The report results are exported to an S3 bucket.
-- - NO_EXPORT: The report results are not exported.
--
--
-- $sel:s3Destination:ReportExportConfig',
-- reportExportConfig_s3Destination - A
-- S3ReportExportConfig object that contains information about
-- the S3 bucket where the run of a report is exported.
newReportExportConfig :: ReportExportConfig
-- | The export configuration type. Valid values are:
--
--
-- - S3: The report results are exported to an S3 bucket.
-- - NO_EXPORT: The report results are not exported.
--
reportExportConfig_exportConfigType :: Lens' ReportExportConfig (Maybe ReportExportConfigType)
-- | A S3ReportExportConfig object that contains information about
-- the S3 bucket where the run of a report is exported.
reportExportConfig_s3Destination :: Lens' ReportExportConfig (Maybe S3ReportExportConfig)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ReportExportConfig.ReportExportConfig
instance GHC.Show.Show Amazonka.CodeBuild.Types.ReportExportConfig.ReportExportConfig
instance GHC.Read.Read Amazonka.CodeBuild.Types.ReportExportConfig.ReportExportConfig
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ReportExportConfig.ReportExportConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ReportExportConfig.ReportExportConfig
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ReportExportConfig.ReportExportConfig
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ReportExportConfig.ReportExportConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ReportExportConfig.ReportExportConfig
module Amazonka.CodeBuild.Types.ServerType
newtype ServerType
ServerType' :: Text -> ServerType
[fromServerType] :: ServerType -> Text
pattern ServerType_BITBUCKET :: ServerType
pattern ServerType_GITHUB :: ServerType
pattern ServerType_GITHUB_ENTERPRISE :: ServerType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.ServerType.ServerType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.ServerType.ServerType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.ServerType.ServerType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ServerType.ServerType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.ServerType.ServerType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ServerType.ServerType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.ServerType.ServerType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.ServerType.ServerType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.ServerType.ServerType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.ServerType.ServerType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.ServerType.ServerType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.ServerType.ServerType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ServerType.ServerType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ServerType.ServerType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ServerType.ServerType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.ServerType.ServerType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ServerType.ServerType
instance GHC.Read.Read Amazonka.CodeBuild.Types.ServerType.ServerType
instance GHC.Show.Show Amazonka.CodeBuild.Types.ServerType.ServerType
module Amazonka.CodeBuild.Types.SharedResourceSortByType
newtype SharedResourceSortByType
SharedResourceSortByType' :: Text -> SharedResourceSortByType
[fromSharedResourceSortByType] :: SharedResourceSortByType -> Text
pattern SharedResourceSortByType_ARN :: SharedResourceSortByType
pattern SharedResourceSortByType_MODIFIED_TIME :: SharedResourceSortByType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance GHC.Read.Read Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
instance GHC.Show.Show Amazonka.CodeBuild.Types.SharedResourceSortByType.SharedResourceSortByType
module Amazonka.CodeBuild.Types.SortOrderType
newtype SortOrderType
SortOrderType' :: Text -> SortOrderType
[fromSortOrderType] :: SortOrderType -> Text
pattern SortOrderType_ASCENDING :: SortOrderType
pattern SortOrderType_DESCENDING :: SortOrderType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance GHC.Read.Read Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
instance GHC.Show.Show Amazonka.CodeBuild.Types.SortOrderType.SortOrderType
module Amazonka.CodeBuild.Types.SourceAuthType
newtype SourceAuthType
SourceAuthType' :: Text -> SourceAuthType
[fromSourceAuthType] :: SourceAuthType -> Text
pattern SourceAuthType_OAUTH :: SourceAuthType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance GHC.Read.Read Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
instance GHC.Show.Show Amazonka.CodeBuild.Types.SourceAuthType.SourceAuthType
module Amazonka.CodeBuild.Types.SourceAuth
-- | Information about the authorization settings for CodeBuild to access
-- the source code to be built.
--
-- This information is for the CodeBuild console's use only. Your code
-- should not get or set this information directly.
--
-- See: newSourceAuth smart constructor.
data SourceAuth
SourceAuth' :: Maybe Text -> SourceAuthType -> SourceAuth
-- | The resource value that applies to the specified authorization type.
[$sel:resource:SourceAuth'] :: SourceAuth -> Maybe Text
-- | This data type is deprecated and is no longer accurate or used.
--
-- The authorization type to use. The only valid value is OAUTH,
-- which represents the OAuth authorization type.
[$sel:type':SourceAuth'] :: SourceAuth -> SourceAuthType
-- | Create a value of SourceAuth with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resource:SourceAuth', sourceAuth_resource - The
-- resource value that applies to the specified authorization type.
--
-- $sel:type':SourceAuth', sourceAuth_type - This data type
-- is deprecated and is no longer accurate or used.
--
-- The authorization type to use. The only valid value is OAUTH,
-- which represents the OAuth authorization type.
newSourceAuth :: SourceAuthType -> SourceAuth
-- | The resource value that applies to the specified authorization type.
sourceAuth_resource :: Lens' SourceAuth (Maybe Text)
-- | This data type is deprecated and is no longer accurate or used.
--
-- The authorization type to use. The only valid value is OAUTH,
-- which represents the OAuth authorization type.
sourceAuth_type :: Lens' SourceAuth SourceAuthType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.SourceAuth.SourceAuth
instance GHC.Show.Show Amazonka.CodeBuild.Types.SourceAuth.SourceAuth
instance GHC.Read.Read Amazonka.CodeBuild.Types.SourceAuth.SourceAuth
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.SourceAuth.SourceAuth
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.SourceAuth.SourceAuth
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.SourceAuth.SourceAuth
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.SourceAuth.SourceAuth
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.SourceAuth.SourceAuth
module Amazonka.CodeBuild.Types.SourceCredentialsInfo
-- | Information about the credentials for a GitHub, GitHub Enterprise, or
-- Bitbucket repository.
--
-- See: newSourceCredentialsInfo smart constructor.
data SourceCredentialsInfo
SourceCredentialsInfo' :: Maybe Text -> Maybe AuthType -> Maybe ServerType -> SourceCredentialsInfo
-- | The Amazon Resource Name (ARN) of the token.
[$sel:arn:SourceCredentialsInfo'] :: SourceCredentialsInfo -> Maybe Text
-- | The type of authentication used by the credentials. Valid options are
-- OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
[$sel:authType:SourceCredentialsInfo'] :: SourceCredentialsInfo -> Maybe AuthType
-- | The type of source provider. The valid options are GITHUB,
-- GITHUB_ENTERPRISE, or BITBUCKET.
[$sel:serverType:SourceCredentialsInfo'] :: SourceCredentialsInfo -> Maybe ServerType
-- | Create a value of SourceCredentialsInfo with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:SourceCredentialsInfo',
-- sourceCredentialsInfo_arn - The Amazon Resource Name (ARN) of
-- the token.
--
-- $sel:authType:SourceCredentialsInfo',
-- sourceCredentialsInfo_authType - The type of authentication
-- used by the credentials. Valid options are OAUTH, BASIC_AUTH, or
-- PERSONAL_ACCESS_TOKEN.
--
-- $sel:serverType:SourceCredentialsInfo',
-- sourceCredentialsInfo_serverType - The type of source provider.
-- The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
newSourceCredentialsInfo :: SourceCredentialsInfo
-- | The Amazon Resource Name (ARN) of the token.
sourceCredentialsInfo_arn :: Lens' SourceCredentialsInfo (Maybe Text)
-- | The type of authentication used by the credentials. Valid options are
-- OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
sourceCredentialsInfo_authType :: Lens' SourceCredentialsInfo (Maybe AuthType)
-- | The type of source provider. The valid options are GITHUB,
-- GITHUB_ENTERPRISE, or BITBUCKET.
sourceCredentialsInfo_serverType :: Lens' SourceCredentialsInfo (Maybe ServerType)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.SourceCredentialsInfo.SourceCredentialsInfo
instance GHC.Show.Show Amazonka.CodeBuild.Types.SourceCredentialsInfo.SourceCredentialsInfo
instance GHC.Read.Read Amazonka.CodeBuild.Types.SourceCredentialsInfo.SourceCredentialsInfo
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.SourceCredentialsInfo.SourceCredentialsInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.SourceCredentialsInfo.SourceCredentialsInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.SourceCredentialsInfo.SourceCredentialsInfo
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.SourceCredentialsInfo.SourceCredentialsInfo
module Amazonka.CodeBuild.Types.SourceType
newtype SourceType
SourceType' :: Text -> SourceType
[fromSourceType] :: SourceType -> Text
pattern SourceType_BITBUCKET :: SourceType
pattern SourceType_CODECOMMIT :: SourceType
pattern SourceType_CODEPIPELINE :: SourceType
pattern SourceType_GITHUB :: SourceType
pattern SourceType_GITHUB_ENTERPRISE :: SourceType
pattern SourceType_NO_SOURCE :: SourceType
pattern SourceType_S3 :: SourceType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.SourceType.SourceType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.SourceType.SourceType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.SourceType.SourceType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.SourceType.SourceType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.SourceType.SourceType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.SourceType.SourceType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.SourceType.SourceType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.SourceType.SourceType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.SourceType.SourceType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.SourceType.SourceType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.SourceType.SourceType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.SourceType.SourceType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.SourceType.SourceType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.SourceType.SourceType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.SourceType.SourceType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.SourceType.SourceType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.SourceType.SourceType
instance GHC.Read.Read Amazonka.CodeBuild.Types.SourceType.SourceType
instance GHC.Show.Show Amazonka.CodeBuild.Types.SourceType.SourceType
module Amazonka.CodeBuild.Types.ProjectSource
-- | Information about the build input source code for the build project.
--
-- See: newProjectSource smart constructor.
data ProjectSource
ProjectSource' :: Maybe SourceAuth -> Maybe BuildStatusConfig -> Maybe Text -> Maybe Natural -> Maybe GitSubmodulesConfig -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Text -> SourceType -> ProjectSource
-- | Information about the authorization settings for CodeBuild to access
-- the source code to be built.
--
-- This information is for the CodeBuild console's use only. Your code
-- should not get or set this information directly.
[$sel:auth:ProjectSource'] :: ProjectSource -> Maybe SourceAuth
-- | Contains information that defines how the build project reports the
-- build status to the source provider. This option is only used when the
-- source provider is GITHUB, GITHUB_ENTERPRISE, or
-- BITBUCKET.
[$sel:buildStatusConfig:ProjectSource'] :: ProjectSource -> Maybe BuildStatusConfig
-- | The buildspec file declaration to use for the builds in this build
-- project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
[$sel:buildspec:ProjectSource'] :: ProjectSource -> Maybe Text
-- | Information about the Git clone depth for the build project.
[$sel:gitCloneDepth:ProjectSource'] :: ProjectSource -> Maybe Natural
-- | Information about the Git submodules configuration for the build
-- project.
[$sel:gitSubmodulesConfig:ProjectSource'] :: ProjectSource -> Maybe GitSubmodulesConfig
-- | Enable this flag to ignore SSL warnings while connecting to the
-- project source code.
[$sel:insecureSsl:ProjectSource'] :: 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 CodePipeline, location should not be
-- specified. If it is specified, CodePipeline ignores it. This is
-- because CodePipeline uses the settings in a pipeline's source action
-- instead of this value.
-- - For source code in an CodeCommit repository, the HTTPS clone URL
-- to the repository that contains the source code and the buildspec file
-- (for example,
-- https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>).
-- - For source code in an Amazon S3 input bucket, one of the
-- following.
- The path to the ZIP file that contains the source
-- code (for example,
-- <bucket-name>/<path>/<object-name>.zip).
- The
-- path to the folder that contains the source code (for example,
-- <bucket-name>/<path-to-source-code>/<folder>/).
-- - For source code in a GitHub repository, the HTTPS clone URL to the
-- repository that contains the source and the buildspec file. You must
-- connect your Amazon Web Services account to your GitHub account. Use
-- the CodeBuild console to start creating a build project. When you use
-- the console to connect (or reconnect) with GitHub, on the GitHub
-- Authorize application page, for Organization access,
-- choose Request access next to each repository you want to allow
-- CodeBuild to have access to, and then choose __Authorize
-- application__. (After you have connected to your GitHub account, you
-- do not need to finish creating the build project. You can leave the
-- CodeBuild console.) To instruct CodeBuild to 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 buildspec file. You
-- must connect your Amazon Web Services account to your Bitbucket
-- account. Use the CodeBuild console to start creating a build project.
-- When you use the console to connect (or reconnect) with Bitbucket, on
-- the Bitbucket Confirm access to your account page, choose
-- Grant access. (After you have connected to your Bitbucket
-- account, you do not need to finish creating the build project. You can
-- leave the CodeBuild console.) To instruct CodeBuild to use this
-- connection, in the source object, set the auth
-- object's type value to OAUTH.
--
--
-- If you specify CODEPIPELINE for the Type property,
-- don't specify this property. For all of the other types, you must
-- specify Location.
[$sel:location:ProjectSource'] :: ProjectSource -> Maybe Text
-- | Set to true to report the status of a build's start and finish to your
-- source provider. This option is valid only when your source provider
-- is GitHub, GitHub Enterprise, or Bitbucket. If this is set and you use
-- a different source provider, an invalidInputException is
-- thrown.
--
-- To be able to report the build status to the source provider, the user
-- associated with the source provider must have write access to the
-- repo. If the user does not have write access, the build status cannot
-- be updated. For more information, see Source provider access in
-- the CodeBuild User Guide.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
--
-- If your project's builds are triggered by a webhook, you must push a
-- new commit to the repo for a change to this property to take effect.
[$sel:reportBuildStatus:ProjectSource'] :: ProjectSource -> Maybe Bool
-- | An identifier for this project source. The identifier can only contain
-- alphanumeric characters and underscores, and must be less than 128
-- characters in length.
[$sel:sourceIdentifier:ProjectSource'] :: ProjectSource -> Maybe Text
-- | 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 CodeCommit
-- repository.
-- - CODEPIPELINE: The source code settings are specified in
-- the source action of a pipeline in CodePipeline.
-- - GITHUB: The source code is in a GitHub or GitHub
-- Enterprise Cloud repository.
-- - GITHUB_ENTERPRISE: The source code is in a GitHub
-- Enterprise Server repository.
-- - NO_SOURCE: The project does not have input source
-- code.
-- - S3: The source code is in an Amazon S3 bucket.
--
[$sel:type':ProjectSource'] :: ProjectSource -> SourceType
-- | Create a value of ProjectSource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:auth:ProjectSource', projectSource_auth -
-- Information about the authorization settings for CodeBuild to access
-- the source code to be built.
--
-- This information is for the CodeBuild console's use only. Your code
-- should not get or set this information directly.
--
-- $sel:buildStatusConfig:ProjectSource',
-- projectSource_buildStatusConfig - Contains information that
-- defines how the build project reports the build status to the source
-- provider. This option is only used when the source provider is
-- GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
--
-- $sel:buildspec:ProjectSource', projectSource_buildspec -
-- The buildspec file declaration to use for the builds in this build
-- project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
--
-- $sel:gitCloneDepth:ProjectSource',
-- projectSource_gitCloneDepth - Information about the Git clone
-- depth for the build project.
--
-- $sel:gitSubmodulesConfig:ProjectSource',
-- projectSource_gitSubmodulesConfig - Information about the Git
-- submodules configuration for the build project.
--
-- $sel:insecureSsl:ProjectSource',
-- projectSource_insecureSsl - Enable this flag to ignore SSL
-- warnings while connecting to the project source code.
--
-- $sel:location:ProjectSource', projectSource_location -
-- 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 CodePipeline, location should not be
-- specified. If it is specified, CodePipeline ignores it. This is
-- because CodePipeline uses the settings in a pipeline's source action
-- instead of this value.
-- - For source code in an CodeCommit repository, the HTTPS clone URL
-- to the repository that contains the source code and the buildspec file
-- (for example,
-- https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>).
-- - For source code in an Amazon S3 input bucket, one of the
-- following.
- The path to the ZIP file that contains the source
-- code (for example,
-- <bucket-name>/<path>/<object-name>.zip).
- The
-- path to the folder that contains the source code (for example,
-- <bucket-name>/<path-to-source-code>/<folder>/).
-- - For source code in a GitHub repository, the HTTPS clone URL to the
-- repository that contains the source and the buildspec file. You must
-- connect your Amazon Web Services account to your GitHub account. Use
-- the CodeBuild console to start creating a build project. When you use
-- the console to connect (or reconnect) with GitHub, on the GitHub
-- Authorize application page, for Organization access,
-- choose Request access next to each repository you want to allow
-- CodeBuild to have access to, and then choose __Authorize
-- application__. (After you have connected to your GitHub account, you
-- do not need to finish creating the build project. You can leave the
-- CodeBuild console.) To instruct CodeBuild to 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 buildspec file. You
-- must connect your Amazon Web Services account to your Bitbucket
-- account. Use the CodeBuild console to start creating a build project.
-- When you use the console to connect (or reconnect) with Bitbucket, on
-- the Bitbucket Confirm access to your account page, choose
-- Grant access. (After you have connected to your Bitbucket
-- account, you do not need to finish creating the build project. You can
-- leave the CodeBuild console.) To instruct CodeBuild to use this
-- connection, in the source object, set the auth
-- object's type value to OAUTH.
--
--
-- If you specify CODEPIPELINE for the Type property,
-- don't specify this property. For all of the other types, you must
-- specify Location.
--
-- $sel:reportBuildStatus:ProjectSource',
-- projectSource_reportBuildStatus - Set to true to report the
-- status of a build's start and finish to your source provider. This
-- option is valid only when your source provider is GitHub, GitHub
-- Enterprise, or Bitbucket. If this is set and you use a different
-- source provider, an invalidInputException is thrown.
--
-- To be able to report the build status to the source provider, the user
-- associated with the source provider must have write access to the
-- repo. If the user does not have write access, the build status cannot
-- be updated. For more information, see Source provider access in
-- the CodeBuild User Guide.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
--
-- If your project's builds are triggered by a webhook, you must push a
-- new commit to the repo for a change to this property to take effect.
--
-- $sel:sourceIdentifier:ProjectSource',
-- projectSource_sourceIdentifier - An identifier for this project
-- source. The identifier can only contain alphanumeric characters and
-- underscores, and must be less than 128 characters in length.
--
-- ProjectSource, projectSource_type - 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 CodeCommit
-- repository.
-- - CODEPIPELINE: The source code settings are specified in
-- the source action of a pipeline in CodePipeline.
-- - GITHUB: The source code is in a GitHub or GitHub
-- Enterprise Cloud repository.
-- - GITHUB_ENTERPRISE: The source code is in a GitHub
-- Enterprise Server repository.
-- - NO_SOURCE: The project does not have input source
-- code.
-- - S3: The source code is in an Amazon S3 bucket.
--
newProjectSource :: SourceType -> ProjectSource
-- | Information about the authorization settings for CodeBuild to access
-- the source code to be built.
--
-- This information is for the CodeBuild console's use only. Your code
-- should not get or set this information directly.
projectSource_auth :: Lens' ProjectSource (Maybe SourceAuth)
-- | Contains information that defines how the build project reports the
-- build status to the source provider. This option is only used when the
-- source provider is GITHUB, GITHUB_ENTERPRISE, or
-- BITBUCKET.
projectSource_buildStatusConfig :: Lens' ProjectSource (Maybe BuildStatusConfig)
-- | The buildspec file declaration to use for the builds in this build
-- project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
projectSource_buildspec :: Lens' ProjectSource (Maybe Text)
-- | Information about the Git clone depth for the build project.
projectSource_gitCloneDepth :: Lens' ProjectSource (Maybe Natural)
-- | Information about the Git submodules configuration for the build
-- project.
projectSource_gitSubmodulesConfig :: Lens' ProjectSource (Maybe GitSubmodulesConfig)
-- | Enable this flag to ignore SSL warnings while connecting to the
-- project source code.
projectSource_insecureSsl :: 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 CodePipeline, location should not be
-- specified. If it is specified, CodePipeline ignores it. This is
-- because CodePipeline uses the settings in a pipeline's source action
-- instead of this value.
-- - For source code in an CodeCommit repository, the HTTPS clone URL
-- to the repository that contains the source code and the buildspec file
-- (for example,
-- https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>).
-- - For source code in an Amazon S3 input bucket, one of the
-- following.
- The path to the ZIP file that contains the source
-- code (for example,
-- <bucket-name>/<path>/<object-name>.zip).
- The
-- path to the folder that contains the source code (for example,
-- <bucket-name>/<path-to-source-code>/<folder>/).
-- - For source code in a GitHub repository, the HTTPS clone URL to the
-- repository that contains the source and the buildspec file. You must
-- connect your Amazon Web Services account to your GitHub account. Use
-- the CodeBuild console to start creating a build project. When you use
-- the console to connect (or reconnect) with GitHub, on the GitHub
-- Authorize application page, for Organization access,
-- choose Request access next to each repository you want to allow
-- CodeBuild to have access to, and then choose __Authorize
-- application__. (After you have connected to your GitHub account, you
-- do not need to finish creating the build project. You can leave the
-- CodeBuild console.) To instruct CodeBuild to 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 buildspec file. You
-- must connect your Amazon Web Services account to your Bitbucket
-- account. Use the CodeBuild console to start creating a build project.
-- When you use the console to connect (or reconnect) with Bitbucket, on
-- the Bitbucket Confirm access to your account page, choose
-- Grant access. (After you have connected to your Bitbucket
-- account, you do not need to finish creating the build project. You can
-- leave the CodeBuild console.) To instruct CodeBuild to use this
-- connection, in the source object, set the auth
-- object's type value to OAUTH.
--
--
-- If you specify CODEPIPELINE for the Type property,
-- don't specify this property. For all of the other types, you must
-- specify Location.
projectSource_location :: Lens' ProjectSource (Maybe Text)
-- | Set to true to report the status of a build's start and finish to your
-- source provider. This option is valid only when your source provider
-- is GitHub, GitHub Enterprise, or Bitbucket. If this is set and you use
-- a different source provider, an invalidInputException is
-- thrown.
--
-- To be able to report the build status to the source provider, the user
-- associated with the source provider must have write access to the
-- repo. If the user does not have write access, the build status cannot
-- be updated. For more information, see Source provider access in
-- the CodeBuild User Guide.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
--
-- If your project's builds are triggered by a webhook, you must push a
-- new commit to the repo for a change to this property to take effect.
projectSource_reportBuildStatus :: Lens' ProjectSource (Maybe Bool)
-- | An identifier for this project source. The identifier can only contain
-- alphanumeric characters and underscores, and must be less than 128
-- characters in length.
projectSource_sourceIdentifier :: Lens' ProjectSource (Maybe Text)
-- | 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 CodeCommit
-- repository.
-- - CODEPIPELINE: The source code settings are specified in
-- the source action of a pipeline in CodePipeline.
-- - GITHUB: The source code is in a GitHub or GitHub
-- Enterprise Cloud repository.
-- - GITHUB_ENTERPRISE: The source code is in a GitHub
-- Enterprise Server repository.
-- - NO_SOURCE: The project does not have input source
-- code.
-- - S3: The source code is in an Amazon S3 bucket.
--
projectSource_type :: Lens' ProjectSource SourceType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ProjectSource.ProjectSource
instance GHC.Show.Show Amazonka.CodeBuild.Types.ProjectSource.ProjectSource
instance GHC.Read.Read Amazonka.CodeBuild.Types.ProjectSource.ProjectSource
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ProjectSource.ProjectSource
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ProjectSource.ProjectSource
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ProjectSource.ProjectSource
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ProjectSource.ProjectSource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.ProjectSource.ProjectSource
module Amazonka.CodeBuild.Types.StatusType
newtype StatusType
StatusType' :: Text -> StatusType
[fromStatusType] :: StatusType -> Text
pattern StatusType_FAILED :: StatusType
pattern StatusType_FAULT :: StatusType
pattern StatusType_IN_PROGRESS :: StatusType
pattern StatusType_STOPPED :: StatusType
pattern StatusType_SUCCEEDED :: StatusType
pattern StatusType_TIMED_OUT :: StatusType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.StatusType.StatusType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.StatusType.StatusType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.StatusType.StatusType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.StatusType.StatusType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.StatusType.StatusType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.StatusType.StatusType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.StatusType.StatusType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.StatusType.StatusType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.StatusType.StatusType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.StatusType.StatusType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.StatusType.StatusType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.StatusType.StatusType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.StatusType.StatusType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.StatusType.StatusType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.StatusType.StatusType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.StatusType.StatusType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.StatusType.StatusType
instance GHC.Read.Read Amazonka.CodeBuild.Types.StatusType.StatusType
instance GHC.Show.Show Amazonka.CodeBuild.Types.StatusType.StatusType
module Amazonka.CodeBuild.Types.BuildSummary
-- | Contains summary information about a batch build group.
--
-- See: newBuildSummary smart constructor.
data BuildSummary
BuildSummary' :: Maybe Text -> Maybe StatusType -> Maybe ResolvedArtifact -> Maybe POSIX -> Maybe [ResolvedArtifact] -> BuildSummary
-- | The batch build ARN.
[$sel:arn:BuildSummary'] :: BuildSummary -> Maybe Text
-- | The status of the build group.
--
--
-- - FAILED The build group failed.
-- - FAULT The build group faulted.
-- - IN_PROGRESS The build group is still in progress.
-- - STOPPED The build group stopped.
-- - SUCCEEDED The build group succeeded.
-- - TIMED_OUT The build group timed out.
--
[$sel:buildStatus:BuildSummary'] :: BuildSummary -> Maybe StatusType
-- | A ResolvedArtifact object that represents the primary build
-- artifacts for the build group.
[$sel:primaryArtifact:BuildSummary'] :: BuildSummary -> Maybe ResolvedArtifact
-- | When the build was started, expressed in Unix time format.
[$sel:requestedOn:BuildSummary'] :: BuildSummary -> Maybe POSIX
-- | An array of ResolvedArtifact objects that represents the
-- secondary build artifacts for the build group.
[$sel:secondaryArtifacts:BuildSummary'] :: BuildSummary -> Maybe [ResolvedArtifact]
-- | Create a value of BuildSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:BuildSummary', buildSummary_arn - The batch
-- build ARN.
--
-- $sel:buildStatus:BuildSummary', buildSummary_buildStatus
-- - The status of the build group.
--
--
-- - FAILED The build group failed.
-- - FAULT The build group faulted.
-- - IN_PROGRESS The build group is still in progress.
-- - STOPPED The build group stopped.
-- - SUCCEEDED The build group succeeded.
-- - TIMED_OUT The build group timed out.
--
--
-- $sel:primaryArtifact:BuildSummary',
-- buildSummary_primaryArtifact - A ResolvedArtifact
-- object that represents the primary build artifacts for the build
-- group.
--
-- $sel:requestedOn:BuildSummary', buildSummary_requestedOn
-- - When the build was started, expressed in Unix time format.
--
-- $sel:secondaryArtifacts:BuildSummary',
-- buildSummary_secondaryArtifacts - An array of
-- ResolvedArtifact objects that represents the secondary build
-- artifacts for the build group.
newBuildSummary :: BuildSummary
-- | The batch build ARN.
buildSummary_arn :: Lens' BuildSummary (Maybe Text)
-- | The status of the build group.
--
--
-- - FAILED The build group failed.
-- - FAULT The build group faulted.
-- - IN_PROGRESS The build group is still in progress.
-- - STOPPED The build group stopped.
-- - SUCCEEDED The build group succeeded.
-- - TIMED_OUT The build group timed out.
--
buildSummary_buildStatus :: Lens' BuildSummary (Maybe StatusType)
-- | A ResolvedArtifact object that represents the primary build
-- artifacts for the build group.
buildSummary_primaryArtifact :: Lens' BuildSummary (Maybe ResolvedArtifact)
-- | When the build was started, expressed in Unix time format.
buildSummary_requestedOn :: Lens' BuildSummary (Maybe UTCTime)
-- | An array of ResolvedArtifact objects that represents the
-- secondary build artifacts for the build group.
buildSummary_secondaryArtifacts :: Lens' BuildSummary (Maybe [ResolvedArtifact])
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.BuildSummary.BuildSummary
instance GHC.Show.Show Amazonka.CodeBuild.Types.BuildSummary.BuildSummary
instance GHC.Read.Read Amazonka.CodeBuild.Types.BuildSummary.BuildSummary
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.BuildSummary.BuildSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.BuildSummary.BuildSummary
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.BuildSummary.BuildSummary
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.BuildSummary.BuildSummary
module Amazonka.CodeBuild.Types.BuildGroup
-- | Contains information about a batch build build group. Build groups are
-- used to combine builds that can run in parallel, while still being
-- able to set dependencies on other build groups.
--
-- See: newBuildGroup smart constructor.
data BuildGroup
BuildGroup' :: Maybe BuildSummary -> Maybe [Text] -> Maybe Text -> Maybe Bool -> Maybe [BuildSummary] -> BuildGroup
-- | A BuildSummary object that contains a summary of the current
-- build group.
[$sel:currentBuildSummary:BuildGroup'] :: BuildGroup -> Maybe BuildSummary
-- | An array of strings that contain the identifiers of the build groups
-- that this build group depends on.
[$sel:dependsOn:BuildGroup'] :: BuildGroup -> Maybe [Text]
-- | Contains the identifier of the build group.
[$sel:identifier:BuildGroup'] :: BuildGroup -> Maybe Text
-- | Specifies if failures in this build group can be ignored.
[$sel:ignoreFailure:BuildGroup'] :: BuildGroup -> Maybe Bool
-- | An array of BuildSummary objects that contain summaries of
-- previous build groups.
[$sel:priorBuildSummaryList:BuildGroup'] :: BuildGroup -> Maybe [BuildSummary]
-- | Create a value of BuildGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:currentBuildSummary:BuildGroup',
-- buildGroup_currentBuildSummary - A BuildSummary object
-- that contains a summary of the current build group.
--
-- $sel:dependsOn:BuildGroup', buildGroup_dependsOn - An
-- array of strings that contain the identifiers of the build groups that
-- this build group depends on.
--
-- $sel:identifier:BuildGroup', buildGroup_identifier -
-- Contains the identifier of the build group.
--
-- $sel:ignoreFailure:BuildGroup', buildGroup_ignoreFailure
-- - Specifies if failures in this build group can be ignored.
--
-- $sel:priorBuildSummaryList:BuildGroup',
-- buildGroup_priorBuildSummaryList - An array of
-- BuildSummary objects that contain summaries of previous build
-- groups.
newBuildGroup :: BuildGroup
-- | A BuildSummary object that contains a summary of the current
-- build group.
buildGroup_currentBuildSummary :: Lens' BuildGroup (Maybe BuildSummary)
-- | An array of strings that contain the identifiers of the build groups
-- that this build group depends on.
buildGroup_dependsOn :: Lens' BuildGroup (Maybe [Text])
-- | Contains the identifier of the build group.
buildGroup_identifier :: Lens' BuildGroup (Maybe Text)
-- | Specifies if failures in this build group can be ignored.
buildGroup_ignoreFailure :: Lens' BuildGroup (Maybe Bool)
-- | An array of BuildSummary objects that contain summaries of
-- previous build groups.
buildGroup_priorBuildSummaryList :: Lens' BuildGroup (Maybe [BuildSummary])
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.BuildGroup.BuildGroup
instance GHC.Show.Show Amazonka.CodeBuild.Types.BuildGroup.BuildGroup
instance GHC.Read.Read Amazonka.CodeBuild.Types.BuildGroup.BuildGroup
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.BuildGroup.BuildGroup
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.BuildGroup.BuildGroup
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.BuildGroup.BuildGroup
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.BuildGroup.BuildGroup
module Amazonka.CodeBuild.Types.BuildPhase
-- | Information about a stage for a build.
--
-- See: newBuildPhase smart constructor.
data BuildPhase
BuildPhase' :: Maybe [PhaseContext] -> Maybe Integer -> Maybe POSIX -> Maybe StatusType -> Maybe BuildPhaseType -> Maybe POSIX -> BuildPhase
-- | Additional information about a build phase, especially to help
-- troubleshoot a failed build.
[$sel:contexts:BuildPhase'] :: BuildPhase -> Maybe [PhaseContext]
-- | How long, in seconds, between the starting and ending times of the
-- build's phase.
[$sel:durationInSeconds:BuildPhase'] :: BuildPhase -> Maybe Integer
-- | When the build phase ended, expressed in Unix time format.
[$sel:endTime:BuildPhase'] :: BuildPhase -> Maybe POSIX
-- | 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.
--
[$sel:phaseStatus:BuildPhase'] :: 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.
-- - QUEUED The build has been submitted and is queued behind
-- other submitted builds.
-- - SUBMITTED The build has been submitted.
-- - UPLOAD_ARTIFACTS Build output artifacts are being uploaded
-- to the output location.
--
[$sel:phaseType:BuildPhase'] :: BuildPhase -> Maybe BuildPhaseType
-- | When the build phase started, expressed in Unix time format.
[$sel:startTime:BuildPhase'] :: BuildPhase -> Maybe POSIX
-- | Create a value of BuildPhase with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:contexts:BuildPhase', buildPhase_contexts -
-- Additional information about a build phase, especially to help
-- troubleshoot a failed build.
--
-- $sel:durationInSeconds:BuildPhase',
-- buildPhase_durationInSeconds - How long, in seconds, between
-- the starting and ending times of the build's phase.
--
-- $sel:endTime:BuildPhase', buildPhase_endTime - When the
-- build phase ended, expressed in Unix time format.
--
-- $sel:phaseStatus:BuildPhase', buildPhase_phaseStatus -
-- 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.
--
--
-- $sel:phaseType:BuildPhase', buildPhase_phaseType - 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.
-- - QUEUED The build has been submitted and is queued behind
-- other submitted builds.
-- - SUBMITTED The build has been submitted.
-- - UPLOAD_ARTIFACTS Build output artifacts are being uploaded
-- to the output location.
--
--
-- $sel:startTime:BuildPhase', buildPhase_startTime - When
-- the build phase started, expressed in Unix time format.
newBuildPhase :: BuildPhase
-- | Additional information about a build phase, especially to help
-- troubleshoot a failed build.
buildPhase_contexts :: Lens' BuildPhase (Maybe [PhaseContext])
-- | How long, in seconds, between the starting and ending times of the
-- build's phase.
buildPhase_durationInSeconds :: Lens' BuildPhase (Maybe Integer)
-- | When the build phase ended, expressed in Unix time format.
buildPhase_endTime :: 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.
--
buildPhase_phaseStatus :: 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.
-- - QUEUED The build has been submitted and is queued behind
-- other submitted builds.
-- - SUBMITTED The build has been submitted.
-- - UPLOAD_ARTIFACTS Build output artifacts are being uploaded
-- to the output location.
--
buildPhase_phaseType :: Lens' BuildPhase (Maybe BuildPhaseType)
-- | When the build phase started, expressed in Unix time format.
buildPhase_startTime :: Lens' BuildPhase (Maybe UTCTime)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.BuildPhase.BuildPhase
instance GHC.Show.Show Amazonka.CodeBuild.Types.BuildPhase.BuildPhase
instance GHC.Read.Read Amazonka.CodeBuild.Types.BuildPhase.BuildPhase
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.BuildPhase.BuildPhase
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.BuildPhase.BuildPhase
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.BuildPhase.BuildPhase
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.BuildPhase.BuildPhase
module Amazonka.CodeBuild.Types.BuildBatchPhase
-- | Contains information about a stage for a batch build.
--
-- See: newBuildBatchPhase smart constructor.
data BuildBatchPhase
BuildBatchPhase' :: Maybe [PhaseContext] -> Maybe Integer -> Maybe POSIX -> Maybe StatusType -> Maybe BuildBatchPhaseType -> Maybe POSIX -> BuildBatchPhase
-- | Additional information about the batch build phase. Especially to help
-- troubleshoot a failed batch build.
[$sel:contexts:BuildBatchPhase'] :: BuildBatchPhase -> Maybe [PhaseContext]
-- | How long, in seconds, between the starting and ending times of the
-- batch build's phase.
[$sel:durationInSeconds:BuildBatchPhase'] :: BuildBatchPhase -> Maybe Integer
-- | When the batch build phase ended, expressed in Unix time format.
[$sel:endTime:BuildBatchPhase'] :: BuildBatchPhase -> Maybe POSIX
-- | The current status of the batch 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.
--
[$sel:phaseStatus:BuildBatchPhase'] :: BuildBatchPhase -> Maybe StatusType
-- | The name of the batch build phase. Valid values include:
--
--
-- - COMBINE_ARTIFACTS Build output artifacts are being combined
-- and uploaded to the output location.
-- - DOWNLOAD_BATCHSPEC The batch build specification is being
-- downloaded.
-- - FAILED One or more of the builds failed.
-- - IN_PROGRESS The batch build is in progress.
-- - STOPPED The batch build was stopped.
-- - SUBMITTED The btach build has been submitted.
-- - SUCCEEDED The batch build succeeded.
--
[$sel:phaseType:BuildBatchPhase'] :: BuildBatchPhase -> Maybe BuildBatchPhaseType
-- | When the batch build phase started, expressed in Unix time format.
[$sel:startTime:BuildBatchPhase'] :: BuildBatchPhase -> Maybe POSIX
-- | Create a value of BuildBatchPhase with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:contexts:BuildBatchPhase', buildBatchPhase_contexts
-- - Additional information about the batch build phase. Especially to
-- help troubleshoot a failed batch build.
--
-- $sel:durationInSeconds:BuildBatchPhase',
-- buildBatchPhase_durationInSeconds - How long, in seconds,
-- between the starting and ending times of the batch build's phase.
--
-- $sel:endTime:BuildBatchPhase', buildBatchPhase_endTime -
-- When the batch build phase ended, expressed in Unix time format.
--
-- $sel:phaseStatus:BuildBatchPhase',
-- buildBatchPhase_phaseStatus - The current status of the batch
-- 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.
--
--
-- $sel:phaseType:BuildBatchPhase',
-- buildBatchPhase_phaseType - The name of the batch build phase.
-- Valid values include:
--
--
-- - COMBINE_ARTIFACTS Build output artifacts are being combined
-- and uploaded to the output location.
-- - DOWNLOAD_BATCHSPEC The batch build specification is being
-- downloaded.
-- - FAILED One or more of the builds failed.
-- - IN_PROGRESS The batch build is in progress.
-- - STOPPED The batch build was stopped.
-- - SUBMITTED The btach build has been submitted.
-- - SUCCEEDED The batch build succeeded.
--
--
-- $sel:startTime:BuildBatchPhase',
-- buildBatchPhase_startTime - When the batch build phase started,
-- expressed in Unix time format.
newBuildBatchPhase :: BuildBatchPhase
-- | Additional information about the batch build phase. Especially to help
-- troubleshoot a failed batch build.
buildBatchPhase_contexts :: Lens' BuildBatchPhase (Maybe [PhaseContext])
-- | How long, in seconds, between the starting and ending times of the
-- batch build's phase.
buildBatchPhase_durationInSeconds :: Lens' BuildBatchPhase (Maybe Integer)
-- | When the batch build phase ended, expressed in Unix time format.
buildBatchPhase_endTime :: Lens' BuildBatchPhase (Maybe UTCTime)
-- | The current status of the batch 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.
--
buildBatchPhase_phaseStatus :: Lens' BuildBatchPhase (Maybe StatusType)
-- | The name of the batch build phase. Valid values include:
--
--
-- - COMBINE_ARTIFACTS Build output artifacts are being combined
-- and uploaded to the output location.
-- - DOWNLOAD_BATCHSPEC The batch build specification is being
-- downloaded.
-- - FAILED One or more of the builds failed.
-- - IN_PROGRESS The batch build is in progress.
-- - STOPPED The batch build was stopped.
-- - SUBMITTED The btach build has been submitted.
-- - SUCCEEDED The batch build succeeded.
--
buildBatchPhase_phaseType :: Lens' BuildBatchPhase (Maybe BuildBatchPhaseType)
-- | When the batch build phase started, expressed in Unix time format.
buildBatchPhase_startTime :: Lens' BuildBatchPhase (Maybe UTCTime)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.BuildBatchPhase.BuildBatchPhase
instance GHC.Show.Show Amazonka.CodeBuild.Types.BuildBatchPhase.BuildBatchPhase
instance GHC.Read.Read Amazonka.CodeBuild.Types.BuildBatchPhase.BuildBatchPhase
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.BuildBatchPhase.BuildBatchPhase
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.BuildBatchPhase.BuildBatchPhase
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.BuildBatchPhase.BuildBatchPhase
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.BuildBatchPhase.BuildBatchPhase
module Amazonka.CodeBuild.Types.BuildBatchFilter
-- | Specifies filters when retrieving batch builds.
--
-- See: newBuildBatchFilter smart constructor.
data BuildBatchFilter
BuildBatchFilter' :: Maybe StatusType -> BuildBatchFilter
-- | The status of the batch builds to retrieve. Only batch builds that
-- have this status will be retrieved.
[$sel:status:BuildBatchFilter'] :: BuildBatchFilter -> Maybe StatusType
-- | Create a value of BuildBatchFilter with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:status:BuildBatchFilter', buildBatchFilter_status -
-- The status of the batch builds to retrieve. Only batch builds that
-- have this status will be retrieved.
newBuildBatchFilter :: BuildBatchFilter
-- | The status of the batch builds to retrieve. Only batch builds that
-- have this status will be retrieved.
buildBatchFilter_status :: Lens' BuildBatchFilter (Maybe StatusType)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.BuildBatchFilter.BuildBatchFilter
instance GHC.Show.Show Amazonka.CodeBuild.Types.BuildBatchFilter.BuildBatchFilter
instance GHC.Read.Read Amazonka.CodeBuild.Types.BuildBatchFilter.BuildBatchFilter
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.BuildBatchFilter.BuildBatchFilter
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.BuildBatchFilter.BuildBatchFilter
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.BuildBatchFilter.BuildBatchFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.BuildBatchFilter.BuildBatchFilter
module Amazonka.CodeBuild.Types.Tag
-- | A tag, consisting of a key and a value.
--
-- This tag is available for use by Amazon Web Services services that
-- support tags in CodeBuild.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Maybe Text -> Tag
-- | The tag's key.
[$sel:key:Tag'] :: Tag -> Maybe Text
-- | The tag's value.
[$sel:value:Tag'] :: Tag -> Maybe Text
-- | Create a value of Tag with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:key:Tag', tag_key - The tag's key.
--
-- $sel:value:Tag', tag_value - The tag's value.
newTag :: Tag
-- | The tag's key.
tag_key :: Lens' Tag (Maybe Text)
-- | The tag's value.
tag_value :: Lens' Tag (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.Tag.Tag
instance GHC.Show.Show Amazonka.CodeBuild.Types.Tag.Tag
instance GHC.Read.Read Amazonka.CodeBuild.Types.Tag.Tag
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.Tag.Tag
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.Tag.Tag
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.Tag.Tag
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.Tag.Tag
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.Tag.Tag
module Amazonka.CodeBuild.Types.ReportGroup
-- | A series of reports. Each report contains information about the
-- results from running a series of test cases. You specify the test
-- cases for a report group in the buildspec for a build project using
-- one or more paths to the test case files.
--
-- See: newReportGroup smart constructor.
data ReportGroup
ReportGroup' :: Maybe Text -> Maybe POSIX -> Maybe ReportExportConfig -> Maybe POSIX -> Maybe Text -> Maybe ReportGroupStatusType -> Maybe [Tag] -> Maybe ReportType -> ReportGroup
-- | The ARN of the ReportGroup.
[$sel:arn:ReportGroup'] :: ReportGroup -> Maybe Text
-- | The date and time this ReportGroup was created.
[$sel:created:ReportGroup'] :: ReportGroup -> Maybe POSIX
-- | Information about the destination where the raw data of this
-- ReportGroup is exported.
[$sel:exportConfig:ReportGroup'] :: ReportGroup -> Maybe ReportExportConfig
-- | The date and time this ReportGroup was last modified.
[$sel:lastModified:ReportGroup'] :: ReportGroup -> Maybe POSIX
-- | The name of the ReportGroup.
[$sel:name:ReportGroup'] :: ReportGroup -> Maybe Text
-- | The status of the report group. This property is read-only.
--
-- This can be one of the following values:
--
--
-- - ACTIVE The report group is active.
-- - DELETING The report group is in the process of being
-- deleted.
--
[$sel:status:ReportGroup'] :: ReportGroup -> Maybe ReportGroupStatusType
-- | A list of tag key and value pairs associated with this report group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
[$sel:tags:ReportGroup'] :: ReportGroup -> Maybe [Tag]
-- | The type of the ReportGroup. This can be one of the following
-- values:
--
--
-- - CODE_COVERAGE The report group contains code coverage
-- reports.
-- - TEST The report group contains test reports.
--
[$sel:type':ReportGroup'] :: ReportGroup -> Maybe ReportType
-- | Create a value of ReportGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:ReportGroup', reportGroup_arn - The ARN of the
-- ReportGroup.
--
-- $sel:created:ReportGroup', reportGroup_created - The
-- date and time this ReportGroup was created.
--
-- $sel:exportConfig:ReportGroup', reportGroup_exportConfig
-- - Information about the destination where the raw data of this
-- ReportGroup is exported.
--
-- $sel:lastModified:ReportGroup', reportGroup_lastModified
-- - The date and time this ReportGroup was last modified.
--
-- $sel:name:ReportGroup', reportGroup_name - The name of
-- the ReportGroup.
--
-- $sel:status:ReportGroup', reportGroup_status - The
-- status of the report group. This property is read-only.
--
-- This can be one of the following values:
--
--
-- - ACTIVE The report group is active.
-- - DELETING The report group is in the process of being
-- deleted.
--
--
-- $sel:tags:ReportGroup', reportGroup_tags - A list of tag
-- key and value pairs associated with this report group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
--
-- $sel:type':ReportGroup', reportGroup_type - The type of
-- the ReportGroup. This can be one of the following values:
--
--
-- - CODE_COVERAGE The report group contains code coverage
-- reports.
-- - TEST The report group contains test reports.
--
newReportGroup :: ReportGroup
-- | The ARN of the ReportGroup.
reportGroup_arn :: Lens' ReportGroup (Maybe Text)
-- | The date and time this ReportGroup was created.
reportGroup_created :: Lens' ReportGroup (Maybe UTCTime)
-- | Information about the destination where the raw data of this
-- ReportGroup is exported.
reportGroup_exportConfig :: Lens' ReportGroup (Maybe ReportExportConfig)
-- | The date and time this ReportGroup was last modified.
reportGroup_lastModified :: Lens' ReportGroup (Maybe UTCTime)
-- | The name of the ReportGroup.
reportGroup_name :: Lens' ReportGroup (Maybe Text)
-- | The status of the report group. This property is read-only.
--
-- This can be one of the following values:
--
--
-- - ACTIVE The report group is active.
-- - DELETING The report group is in the process of being
-- deleted.
--
reportGroup_status :: Lens' ReportGroup (Maybe ReportGroupStatusType)
-- | A list of tag key and value pairs associated with this report group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
reportGroup_tags :: Lens' ReportGroup (Maybe [Tag])
-- | The type of the ReportGroup. This can be one of the following
-- values:
--
--
-- - CODE_COVERAGE The report group contains code coverage
-- reports.
-- - TEST The report group contains test reports.
--
reportGroup_type :: Lens' ReportGroup (Maybe ReportType)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.ReportGroup.ReportGroup
instance GHC.Show.Show Amazonka.CodeBuild.Types.ReportGroup.ReportGroup
instance GHC.Read.Read Amazonka.CodeBuild.Types.ReportGroup.ReportGroup
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.ReportGroup.ReportGroup
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.ReportGroup.ReportGroup
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.ReportGroup.ReportGroup
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.ReportGroup.ReportGroup
module Amazonka.CodeBuild.Types.TestCase
-- | Information about a test case created using a framework such as NUnit
-- or Cucumber. A test case might be a unit test or a configuration test.
--
-- See: newTestCase smart constructor.
data TestCase
TestCase' :: Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> TestCase
-- | The number of nanoseconds it took to run this test case.
[$sel:durationInNanoSeconds:TestCase'] :: TestCase -> Maybe Integer
-- | The date and time a test case expires. A test case expires 30 days
-- after it is created. An expired test case is not available to view in
-- CodeBuild.
[$sel:expired:TestCase'] :: TestCase -> Maybe POSIX
-- | A message associated with a test case. For example, an error message
-- or stack trace.
[$sel:message:TestCase'] :: TestCase -> Maybe Text
-- | The name of the test case.
[$sel:name:TestCase'] :: TestCase -> Maybe Text
-- | A string that is applied to a series of related test cases. CodeBuild
-- generates the prefix. The prefix depends on the framework used to
-- generate the tests.
[$sel:prefix:TestCase'] :: TestCase -> Maybe Text
-- | The ARN of the report to which the test case belongs.
[$sel:reportArn:TestCase'] :: TestCase -> Maybe Text
-- | The status returned by the test case after it was run. Valid statuses
-- are SUCCEEDED, FAILED, ERROR,
-- SKIPPED, and UNKNOWN.
[$sel:status:TestCase'] :: TestCase -> Maybe Text
-- | The path to the raw data file that contains the test result.
[$sel:testRawDataPath:TestCase'] :: TestCase -> Maybe Text
-- | Create a value of TestCase with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:durationInNanoSeconds:TestCase',
-- testCase_durationInNanoSeconds - The number of nanoseconds it
-- took to run this test case.
--
-- $sel:expired:TestCase', testCase_expired - The date and
-- time a test case expires. A test case expires 30 days after it is
-- created. An expired test case is not available to view in CodeBuild.
--
-- $sel:message:TestCase', testCase_message - A message
-- associated with a test case. For example, an error message or stack
-- trace.
--
-- $sel:name:TestCase', testCase_name - The name of the
-- test case.
--
-- $sel:prefix:TestCase', testCase_prefix - A string that
-- is applied to a series of related test cases. CodeBuild generates the
-- prefix. The prefix depends on the framework used to generate the
-- tests.
--
-- $sel:reportArn:TestCase', testCase_reportArn - The ARN
-- of the report to which the test case belongs.
--
-- $sel:status:TestCase', testCase_status - The status
-- returned by the test case after it was run. Valid statuses are
-- SUCCEEDED, FAILED, ERROR, SKIPPED,
-- and UNKNOWN.
--
-- $sel:testRawDataPath:TestCase', testCase_testRawDataPath
-- - The path to the raw data file that contains the test result.
newTestCase :: TestCase
-- | The number of nanoseconds it took to run this test case.
testCase_durationInNanoSeconds :: Lens' TestCase (Maybe Integer)
-- | The date and time a test case expires. A test case expires 30 days
-- after it is created. An expired test case is not available to view in
-- CodeBuild.
testCase_expired :: Lens' TestCase (Maybe UTCTime)
-- | A message associated with a test case. For example, an error message
-- or stack trace.
testCase_message :: Lens' TestCase (Maybe Text)
-- | The name of the test case.
testCase_name :: Lens' TestCase (Maybe Text)
-- | A string that is applied to a series of related test cases. CodeBuild
-- generates the prefix. The prefix depends on the framework used to
-- generate the tests.
testCase_prefix :: Lens' TestCase (Maybe Text)
-- | The ARN of the report to which the test case belongs.
testCase_reportArn :: Lens' TestCase (Maybe Text)
-- | The status returned by the test case after it was run. Valid statuses
-- are SUCCEEDED, FAILED, ERROR,
-- SKIPPED, and UNKNOWN.
testCase_status :: Lens' TestCase (Maybe Text)
-- | The path to the raw data file that contains the test result.
testCase_testRawDataPath :: Lens' TestCase (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.TestCase.TestCase
instance GHC.Show.Show Amazonka.CodeBuild.Types.TestCase.TestCase
instance GHC.Read.Read Amazonka.CodeBuild.Types.TestCase.TestCase
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.TestCase.TestCase
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.TestCase.TestCase
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.TestCase.TestCase
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.TestCase.TestCase
module Amazonka.CodeBuild.Types.TestCaseFilter
-- | A filter used to return specific types of test cases. In order to pass
-- the filter, the report must meet all of the filter properties.
--
-- See: newTestCaseFilter smart constructor.
data TestCaseFilter
TestCaseFilter' :: Maybe Text -> Maybe Text -> TestCaseFilter
-- | A keyword that is used to filter on the name or the
-- prefix of the test cases. Only test cases where the keyword
-- is a substring of the name or the prefix will be
-- returned.
[$sel:keyword:TestCaseFilter'] :: TestCaseFilter -> Maybe Text
-- | The status used to filter test cases. A TestCaseFilter can
-- have one status. Valid values are:
--
--
-- SUCCEEDED
-- FAILED
-- ERROR
-- SKIPPED
-- UNKNOWN
--
[$sel:status:TestCaseFilter'] :: TestCaseFilter -> Maybe Text
-- | Create a value of TestCaseFilter with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:keyword:TestCaseFilter', testCaseFilter_keyword - A
-- keyword that is used to filter on the name or the
-- prefix of the test cases. Only test cases where the keyword
-- is a substring of the name or the prefix will be
-- returned.
--
-- $sel:status:TestCaseFilter', testCaseFilter_status - The
-- status used to filter test cases. A TestCaseFilter can have
-- one status. Valid values are:
--
--
-- SUCCEEDED
-- FAILED
-- ERROR
-- SKIPPED
-- UNKNOWN
--
newTestCaseFilter :: TestCaseFilter
-- | A keyword that is used to filter on the name or the
-- prefix of the test cases. Only test cases where the keyword
-- is a substring of the name or the prefix will be
-- returned.
testCaseFilter_keyword :: Lens' TestCaseFilter (Maybe Text)
-- | The status used to filter test cases. A TestCaseFilter can
-- have one status. Valid values are:
--
--
-- SUCCEEDED
-- FAILED
-- ERROR
-- SKIPPED
-- UNKNOWN
--
testCaseFilter_status :: Lens' TestCaseFilter (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.TestCaseFilter.TestCaseFilter
instance GHC.Show.Show Amazonka.CodeBuild.Types.TestCaseFilter.TestCaseFilter
instance GHC.Read.Read Amazonka.CodeBuild.Types.TestCaseFilter.TestCaseFilter
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.TestCaseFilter.TestCaseFilter
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.TestCaseFilter.TestCaseFilter
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.TestCaseFilter.TestCaseFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.TestCaseFilter.TestCaseFilter
module Amazonka.CodeBuild.Types.TestReportSummary
-- | Information about a test report.
--
-- See: newTestReportSummary smart constructor.
data TestReportSummary
TestReportSummary' :: Int -> HashMap Text Int -> Integer -> TestReportSummary
-- | The number of test cases in this TestReportSummary. The total
-- includes truncated test cases.
[$sel:total:TestReportSummary'] :: TestReportSummary -> Int
-- | A map that contains the number of each type of status returned by the
-- test results in this TestReportSummary.
[$sel:statusCounts:TestReportSummary'] :: TestReportSummary -> HashMap Text Int
-- | The number of nanoseconds it took to run all of the test cases in this
-- report.
[$sel:durationInNanoSeconds:TestReportSummary'] :: TestReportSummary -> Integer
-- | Create a value of TestReportSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:total:TestReportSummary', testReportSummary_total -
-- The number of test cases in this TestReportSummary. The total
-- includes truncated test cases.
--
-- $sel:statusCounts:TestReportSummary',
-- testReportSummary_statusCounts - A map that contains the number
-- of each type of status returned by the test results in this
-- TestReportSummary.
--
-- $sel:durationInNanoSeconds:TestReportSummary',
-- testReportSummary_durationInNanoSeconds - The number of
-- nanoseconds it took to run all of the test cases in this report.
newTestReportSummary :: Int -> Integer -> TestReportSummary
-- | The number of test cases in this TestReportSummary. The total
-- includes truncated test cases.
testReportSummary_total :: Lens' TestReportSummary Int
-- | A map that contains the number of each type of status returned by the
-- test results in this TestReportSummary.
testReportSummary_statusCounts :: Lens' TestReportSummary (HashMap Text Int)
-- | The number of nanoseconds it took to run all of the test cases in this
-- report.
testReportSummary_durationInNanoSeconds :: Lens' TestReportSummary Integer
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.TestReportSummary.TestReportSummary
instance GHC.Show.Show Amazonka.CodeBuild.Types.TestReportSummary.TestReportSummary
instance GHC.Read.Read Amazonka.CodeBuild.Types.TestReportSummary.TestReportSummary
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.TestReportSummary.TestReportSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.TestReportSummary.TestReportSummary
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.TestReportSummary.TestReportSummary
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.TestReportSummary.TestReportSummary
module Amazonka.CodeBuild.Types.Report
-- | Information about the results from running a series of test cases
-- during the run of a build project. The test cases are specified in the
-- buildspec for the build project using one or more paths to the test
-- case files. You can specify any type of tests you want, such as unit
-- tests, integration tests, and functional tests.
--
-- See: newReport smart constructor.
data Report
Report' :: Maybe Text -> Maybe CodeCoverageReportSummary -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe ReportExportConfig -> Maybe Text -> Maybe Text -> Maybe ReportStatusType -> Maybe TestReportSummary -> Maybe Bool -> Maybe ReportType -> Report
-- | The ARN of the report run.
[$sel:arn:Report'] :: Report -> Maybe Text
-- | A CodeCoverageReportSummary object that contains a code
-- coverage summary for this report.
[$sel:codeCoverageSummary:Report'] :: Report -> Maybe CodeCoverageReportSummary
-- | The date and time this report run occurred.
[$sel:created:Report'] :: Report -> Maybe POSIX
-- | The ARN of the build run that generated this report.
[$sel:executionId:Report'] :: Report -> Maybe Text
-- | The date and time a report expires. A report expires 30 days after it
-- is created. An expired report is not available to view in CodeBuild.
[$sel:expired:Report'] :: Report -> Maybe POSIX
-- | Information about where the raw data used to generate this report was
-- exported.
[$sel:exportConfig:Report'] :: Report -> Maybe ReportExportConfig
-- | The name of the report that was run.
[$sel:name:Report'] :: Report -> Maybe Text
-- | The ARN of the report group associated with this report.
[$sel:reportGroupArn:Report'] :: Report -> Maybe Text
-- | The status of this report.
[$sel:status:Report'] :: Report -> Maybe ReportStatusType
-- | A TestReportSummary object that contains information about
-- this test report.
[$sel:testSummary:Report'] :: Report -> Maybe TestReportSummary
-- | A boolean that specifies if this report run is truncated. The list of
-- test cases is truncated after the maximum number of test cases is
-- reached.
[$sel:truncated:Report'] :: Report -> Maybe Bool
-- | The type of the report that was run.
--
--
-- - CODE_COVERAGE A code coverage report.
-- - TEST A test report.
--
[$sel:type':Report'] :: Report -> Maybe ReportType
-- | Create a value of Report with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:Report', report_arn - The ARN of the report
-- run.
--
-- $sel:codeCoverageSummary:Report',
-- report_codeCoverageSummary - A
-- CodeCoverageReportSummary object that contains a code
-- coverage summary for this report.
--
-- $sel:created:Report', report_created - The date and time
-- this report run occurred.
--
-- $sel:executionId:Report', report_executionId - The ARN
-- of the build run that generated this report.
--
-- $sel:expired:Report', report_expired - The date and time
-- a report expires. A report expires 30 days after it is created. An
-- expired report is not available to view in CodeBuild.
--
-- $sel:exportConfig:Report', report_exportConfig -
-- Information about where the raw data used to generate this report was
-- exported.
--
-- $sel:name:Report', report_name - The name of the report
-- that was run.
--
-- $sel:reportGroupArn:Report', report_reportGroupArn - The
-- ARN of the report group associated with this report.
--
-- $sel:status:Report', report_status - The status of this
-- report.
--
-- $sel:testSummary:Report', report_testSummary - A
-- TestReportSummary object that contains information about this
-- test report.
--
-- $sel:truncated:Report', report_truncated - A boolean
-- that specifies if this report run is truncated. The list of test cases
-- is truncated after the maximum number of test cases is reached.
--
-- $sel:type':Report', report_type - The type of the report
-- that was run.
--
--
-- - CODE_COVERAGE A code coverage report.
-- - TEST A test report.
--
newReport :: Report
-- | The ARN of the report run.
report_arn :: Lens' Report (Maybe Text)
-- | A CodeCoverageReportSummary object that contains a code
-- coverage summary for this report.
report_codeCoverageSummary :: Lens' Report (Maybe CodeCoverageReportSummary)
-- | The date and time this report run occurred.
report_created :: Lens' Report (Maybe UTCTime)
-- | The ARN of the build run that generated this report.
report_executionId :: Lens' Report (Maybe Text)
-- | The date and time a report expires. A report expires 30 days after it
-- is created. An expired report is not available to view in CodeBuild.
report_expired :: Lens' Report (Maybe UTCTime)
-- | Information about where the raw data used to generate this report was
-- exported.
report_exportConfig :: Lens' Report (Maybe ReportExportConfig)
-- | The name of the report that was run.
report_name :: Lens' Report (Maybe Text)
-- | The ARN of the report group associated with this report.
report_reportGroupArn :: Lens' Report (Maybe Text)
-- | The status of this report.
report_status :: Lens' Report (Maybe ReportStatusType)
-- | A TestReportSummary object that contains information about
-- this test report.
report_testSummary :: Lens' Report (Maybe TestReportSummary)
-- | A boolean that specifies if this report run is truncated. The list of
-- test cases is truncated after the maximum number of test cases is
-- reached.
report_truncated :: Lens' Report (Maybe Bool)
-- | The type of the report that was run.
--
--
-- - CODE_COVERAGE A code coverage report.
-- - TEST A test report.
--
report_type :: Lens' Report (Maybe ReportType)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.Report.Report
instance GHC.Show.Show Amazonka.CodeBuild.Types.Report.Report
instance GHC.Read.Read Amazonka.CodeBuild.Types.Report.Report
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.Report.Report
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.Report.Report
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.Report.Report
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.Report.Report
module Amazonka.CodeBuild.Types.VpcConfig
-- | Information about the VPC configuration that CodeBuild accesses.
--
-- See: newVpcConfig smart constructor.
data VpcConfig
VpcConfig' :: Maybe [Text] -> Maybe [Text] -> Maybe Text -> VpcConfig
-- | A list of one or more security groups IDs in your Amazon VPC.
[$sel:securityGroupIds:VpcConfig'] :: VpcConfig -> Maybe [Text]
-- | A list of one or more subnet IDs in your Amazon VPC.
[$sel:subnets:VpcConfig'] :: VpcConfig -> Maybe [Text]
-- | The ID of the Amazon VPC.
[$sel:vpcId:VpcConfig'] :: VpcConfig -> Maybe Text
-- | Create a value of VpcConfig with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:securityGroupIds:VpcConfig',
-- vpcConfig_securityGroupIds - A list of one or more security
-- groups IDs in your Amazon VPC.
--
-- $sel:subnets:VpcConfig', vpcConfig_subnets - A list of
-- one or more subnet IDs in your Amazon VPC.
--
-- $sel:vpcId:VpcConfig', vpcConfig_vpcId - The ID of the
-- Amazon VPC.
newVpcConfig :: VpcConfig
-- | A list of one or more security groups IDs in your Amazon VPC.
vpcConfig_securityGroupIds :: Lens' VpcConfig (Maybe [Text])
-- | A list of one or more subnet IDs in your Amazon VPC.
vpcConfig_subnets :: Lens' VpcConfig (Maybe [Text])
-- | The ID of the Amazon VPC.
vpcConfig_vpcId :: Lens' VpcConfig (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.VpcConfig.VpcConfig
instance GHC.Show.Show Amazonka.CodeBuild.Types.VpcConfig.VpcConfig
instance GHC.Read.Read Amazonka.CodeBuild.Types.VpcConfig.VpcConfig
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.VpcConfig.VpcConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.VpcConfig.VpcConfig
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.VpcConfig.VpcConfig
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.VpcConfig.VpcConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.VpcConfig.VpcConfig
module Amazonka.CodeBuild.Types.BuildBatch
-- | Contains information about a batch build.
--
-- See: newBuildBatch smart constructor.
data BuildBatch
BuildBatch' :: Maybe Text -> Maybe BuildArtifacts -> Maybe ProjectBuildBatchConfig -> Maybe Integer -> Maybe StatusType -> Maybe [BuildGroup] -> Maybe Int -> Maybe ProjectCache -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe POSIX -> Maybe ProjectEnvironment -> Maybe [ProjectFileSystemLocation] -> Maybe Text -> Maybe Text -> Maybe LogsConfig -> Maybe [BuildBatchPhase] -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe [BuildArtifacts] -> Maybe [ProjectSourceVersion] -> Maybe [ProjectSource] -> Maybe Text -> Maybe ProjectSource -> Maybe Text -> Maybe POSIX -> Maybe VpcConfig -> BuildBatch
-- | The ARN of the batch build.
[$sel:arn:BuildBatch'] :: BuildBatch -> Maybe Text
-- | A BuildArtifacts object the defines the build artifacts for
-- this batch build.
[$sel:artifacts:BuildBatch'] :: BuildBatch -> Maybe BuildArtifacts
[$sel:buildBatchConfig:BuildBatch'] :: BuildBatch -> Maybe ProjectBuildBatchConfig
-- | The number of the batch build. For each project, the
-- buildBatchNumber of its first batch build is 1. The
-- buildBatchNumber of each subsequent batch build is
-- incremented by 1. If a batch build is deleted, the
-- buildBatchNumber of other batch builds does not change.
[$sel:buildBatchNumber:BuildBatch'] :: BuildBatch -> Maybe Integer
-- | The status of the batch build.
[$sel:buildBatchStatus:BuildBatch'] :: BuildBatch -> Maybe StatusType
-- | An array of BuildGroup objects that define the build groups
-- for the batch build.
[$sel:buildGroups:BuildBatch'] :: BuildBatch -> Maybe [BuildGroup]
-- | Specifies the maximum amount of time, in minutes, that the build in a
-- batch must be completed in.
[$sel:buildTimeoutInMinutes:BuildBatch'] :: BuildBatch -> Maybe Int
[$sel:cache:BuildBatch'] :: BuildBatch -> Maybe ProjectCache
-- | Indicates if the batch build is complete.
[$sel:complete:BuildBatch'] :: BuildBatch -> Maybe Bool
-- | The current phase of the batch build.
[$sel:currentPhase:BuildBatch'] :: BuildBatch -> Maybe Text
-- | Specifies if session debugging is enabled for this batch build. For
-- more information, see Viewing a running build in Session
-- Manager. Batch session debugging is not supported for matrix batch
-- builds.
[$sel:debugSessionEnabled:BuildBatch'] :: BuildBatch -> Maybe Bool
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the batch build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
[$sel:encryptionKey:BuildBatch'] :: BuildBatch -> Maybe Text
-- | The date and time that the batch build ended.
[$sel:endTime:BuildBatch'] :: BuildBatch -> Maybe POSIX
[$sel:environment:BuildBatch'] :: BuildBatch -> Maybe ProjectEnvironment
-- | An array of ProjectFileSystemLocation objects for the batch
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
[$sel:fileSystemLocations:BuildBatch'] :: BuildBatch -> Maybe [ProjectFileSystemLocation]
-- | The identifier of the batch build.
[$sel:id:BuildBatch'] :: BuildBatch -> Maybe Text
-- | The entity that started the batch build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name.
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
[$sel:initiator:BuildBatch'] :: BuildBatch -> Maybe Text
[$sel:logConfig:BuildBatch'] :: BuildBatch -> Maybe LogsConfig
-- | An array of BuildBatchPhase objects the specify the phases of
-- the batch build.
[$sel:phases:BuildBatch'] :: BuildBatch -> Maybe [BuildBatchPhase]
-- | The name of the batch build project.
[$sel:projectName:BuildBatch'] :: BuildBatch -> Maybe Text
-- | Specifies the amount of time, in minutes, that the batch build is
-- allowed to be queued before it times out.
[$sel:queuedTimeoutInMinutes:BuildBatch'] :: BuildBatch -> Maybe Int
-- | The identifier of the resolved version of this batch build's source
-- code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
[$sel:resolvedSourceVersion:BuildBatch'] :: BuildBatch -> Maybe Text
-- | An array of BuildArtifacts objects the define the build
-- artifacts for this batch build.
[$sel:secondaryArtifacts:BuildBatch'] :: BuildBatch -> Maybe [BuildArtifacts]
-- | An array of ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
[$sel:secondarySourceVersions:BuildBatch'] :: BuildBatch -> Maybe [ProjectSourceVersion]
-- | An array of ProjectSource objects that define the sources for
-- the batch build.
[$sel:secondarySources:BuildBatch'] :: BuildBatch -> Maybe [ProjectSource]
-- | The name of a service role used for builds in the batch.
[$sel:serviceRole:BuildBatch'] :: BuildBatch -> Maybe Text
[$sel:source:BuildBatch'] :: BuildBatch -> Maybe ProjectSource
-- | The identifier of the version of the source code to be built.
[$sel:sourceVersion:BuildBatch'] :: BuildBatch -> Maybe Text
-- | The date and time that the batch build started.
[$sel:startTime:BuildBatch'] :: BuildBatch -> Maybe POSIX
[$sel:vpcConfig:BuildBatch'] :: BuildBatch -> Maybe VpcConfig
-- | Create a value of BuildBatch with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:BuildBatch', buildBatch_arn - The ARN of the
-- batch build.
--
-- $sel:artifacts:BuildBatch', buildBatch_artifacts - A
-- BuildArtifacts object the defines the build artifacts for
-- this batch build.
--
-- $sel:buildBatchConfig:BuildBatch',
-- buildBatch_buildBatchConfig - Undocumented member.
--
-- $sel:buildBatchNumber:BuildBatch',
-- buildBatch_buildBatchNumber - The number of the batch build.
-- For each project, the buildBatchNumber of its first batch
-- build is 1. The buildBatchNumber of each subsequent
-- batch build is incremented by 1. If a batch build is deleted,
-- the buildBatchNumber of other batch builds does not change.
--
-- $sel:buildBatchStatus:BuildBatch',
-- buildBatch_buildBatchStatus - The status of the batch build.
--
-- $sel:buildGroups:BuildBatch', buildBatch_buildGroups -
-- An array of BuildGroup objects that define the build groups
-- for the batch build.
--
-- $sel:buildTimeoutInMinutes:BuildBatch',
-- buildBatch_buildTimeoutInMinutes - Specifies the maximum amount
-- of time, in minutes, that the build in a batch must be completed in.
--
-- $sel:cache:BuildBatch', buildBatch_cache - Undocumented
-- member.
--
-- $sel:complete:BuildBatch', buildBatch_complete -
-- Indicates if the batch build is complete.
--
-- $sel:currentPhase:BuildBatch', buildBatch_currentPhase -
-- The current phase of the batch build.
--
-- $sel:debugSessionEnabled:BuildBatch',
-- buildBatch_debugSessionEnabled - Specifies if session debugging
-- is enabled for this batch build. For more information, see Viewing
-- a running build in Session Manager. Batch session debugging is not
-- supported for matrix batch builds.
--
-- $sel:encryptionKey:BuildBatch', buildBatch_encryptionKey
-- - The Key Management Service customer master key (CMK) to be used for
-- encrypting the batch build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
--
-- BuildBatch, buildBatch_endTime - The date and time that
-- the batch build ended.
--
-- $sel:environment:BuildBatch', buildBatch_environment -
-- Undocumented member.
--
-- $sel:fileSystemLocations:BuildBatch',
-- buildBatch_fileSystemLocations - An array of
-- ProjectFileSystemLocation objects for the batch build
-- project. A ProjectFileSystemLocation object specifies the
-- identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
--
-- $sel:id:BuildBatch', buildBatch_id - The identifier of
-- the batch build.
--
-- $sel:initiator:BuildBatch', buildBatch_initiator - The
-- entity that started the batch build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name.
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
--
-- $sel:logConfig:BuildBatch', buildBatch_logConfig -
-- Undocumented member.
--
-- $sel:phases:BuildBatch', buildBatch_phases - An array of
-- BuildBatchPhase objects the specify the phases of the batch
-- build.
--
-- $sel:projectName:BuildBatch', buildBatch_projectName -
-- The name of the batch build project.
--
-- $sel:queuedTimeoutInMinutes:BuildBatch',
-- buildBatch_queuedTimeoutInMinutes - Specifies the amount of
-- time, in minutes, that the batch build is allowed to be queued before
-- it times out.
--
-- $sel:resolvedSourceVersion:BuildBatch',
-- buildBatch_resolvedSourceVersion - The identifier of the
-- resolved version of this batch build's source code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
--
-- $sel:secondaryArtifacts:BuildBatch',
-- buildBatch_secondaryArtifacts - An array of
-- BuildArtifacts objects the define the build artifacts for
-- this batch build.
--
-- $sel:secondarySourceVersions:BuildBatch',
-- buildBatch_secondarySourceVersions - An array of
-- ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- $sel:secondarySources:BuildBatch',
-- buildBatch_secondarySources - An array of
-- ProjectSource objects that define the sources for the batch
-- build.
--
-- BuildBatch, buildBatch_serviceRole - The name of a
-- service role used for builds in the batch.
--
-- $sel:source:BuildBatch', buildBatch_source -
-- Undocumented member.
--
-- BuildBatch, buildBatch_sourceVersion - The identifier of
-- the version of the source code to be built.
--
-- BuildBatch, buildBatch_startTime - The date and time
-- that the batch build started.
--
-- $sel:vpcConfig:BuildBatch', buildBatch_vpcConfig -
-- Undocumented member.
newBuildBatch :: BuildBatch
-- | The ARN of the batch build.
buildBatch_arn :: Lens' BuildBatch (Maybe Text)
-- | A BuildArtifacts object the defines the build artifacts for
-- this batch build.
buildBatch_artifacts :: Lens' BuildBatch (Maybe BuildArtifacts)
-- | Undocumented member.
buildBatch_buildBatchConfig :: Lens' BuildBatch (Maybe ProjectBuildBatchConfig)
-- | The number of the batch build. For each project, the
-- buildBatchNumber of its first batch build is 1. The
-- buildBatchNumber of each subsequent batch build is
-- incremented by 1. If a batch build is deleted, the
-- buildBatchNumber of other batch builds does not change.
buildBatch_buildBatchNumber :: Lens' BuildBatch (Maybe Integer)
-- | The status of the batch build.
buildBatch_buildBatchStatus :: Lens' BuildBatch (Maybe StatusType)
-- | An array of BuildGroup objects that define the build groups
-- for the batch build.
buildBatch_buildGroups :: Lens' BuildBatch (Maybe [BuildGroup])
-- | Specifies the maximum amount of time, in minutes, that the build in a
-- batch must be completed in.
buildBatch_buildTimeoutInMinutes :: Lens' BuildBatch (Maybe Int)
-- | Undocumented member.
buildBatch_cache :: Lens' BuildBatch (Maybe ProjectCache)
-- | Indicates if the batch build is complete.
buildBatch_complete :: Lens' BuildBatch (Maybe Bool)
-- | The current phase of the batch build.
buildBatch_currentPhase :: Lens' BuildBatch (Maybe Text)
-- | Specifies if session debugging is enabled for this batch build. For
-- more information, see Viewing a running build in Session
-- Manager. Batch session debugging is not supported for matrix batch
-- builds.
buildBatch_debugSessionEnabled :: Lens' BuildBatch (Maybe Bool)
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the batch build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
buildBatch_encryptionKey :: Lens' BuildBatch (Maybe Text)
-- | The date and time that the batch build ended.
buildBatch_endTime :: Lens' BuildBatch (Maybe UTCTime)
-- | Undocumented member.
buildBatch_environment :: Lens' BuildBatch (Maybe ProjectEnvironment)
-- | An array of ProjectFileSystemLocation objects for the batch
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
buildBatch_fileSystemLocations :: Lens' BuildBatch (Maybe [ProjectFileSystemLocation])
-- | The identifier of the batch build.
buildBatch_id :: Lens' BuildBatch (Maybe Text)
-- | The entity that started the batch build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name.
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
buildBatch_initiator :: Lens' BuildBatch (Maybe Text)
-- | Undocumented member.
buildBatch_logConfig :: Lens' BuildBatch (Maybe LogsConfig)
-- | An array of BuildBatchPhase objects the specify the phases of
-- the batch build.
buildBatch_phases :: Lens' BuildBatch (Maybe [BuildBatchPhase])
-- | The name of the batch build project.
buildBatch_projectName :: Lens' BuildBatch (Maybe Text)
-- | Specifies the amount of time, in minutes, that the batch build is
-- allowed to be queued before it times out.
buildBatch_queuedTimeoutInMinutes :: Lens' BuildBatch (Maybe Int)
-- | The identifier of the resolved version of this batch build's source
-- code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
buildBatch_resolvedSourceVersion :: Lens' BuildBatch (Maybe Text)
-- | An array of BuildArtifacts objects the define the build
-- artifacts for this batch build.
buildBatch_secondaryArtifacts :: Lens' BuildBatch (Maybe [BuildArtifacts])
-- | An array of ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
buildBatch_secondarySourceVersions :: Lens' BuildBatch (Maybe [ProjectSourceVersion])
-- | An array of ProjectSource objects that define the sources for
-- the batch build.
buildBatch_secondarySources :: Lens' BuildBatch (Maybe [ProjectSource])
-- | The name of a service role used for builds in the batch.
buildBatch_serviceRole :: Lens' BuildBatch (Maybe Text)
-- | Undocumented member.
buildBatch_source :: Lens' BuildBatch (Maybe ProjectSource)
-- | The identifier of the version of the source code to be built.
buildBatch_sourceVersion :: Lens' BuildBatch (Maybe Text)
-- | The date and time that the batch build started.
buildBatch_startTime :: Lens' BuildBatch (Maybe UTCTime)
-- | Undocumented member.
buildBatch_vpcConfig :: Lens' BuildBatch (Maybe VpcConfig)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.BuildBatch.BuildBatch
instance GHC.Show.Show Amazonka.CodeBuild.Types.BuildBatch.BuildBatch
instance GHC.Read.Read Amazonka.CodeBuild.Types.BuildBatch.BuildBatch
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.BuildBatch.BuildBatch
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.BuildBatch.BuildBatch
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.BuildBatch.BuildBatch
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.BuildBatch.BuildBatch
module Amazonka.CodeBuild.Types.Build
-- | Information about a build.
--
-- See: newBuild smart constructor.
data Build
Build' :: Maybe Text -> Maybe BuildArtifacts -> Maybe Text -> Maybe Bool -> Maybe Integer -> Maybe StatusType -> Maybe ProjectCache -> Maybe Text -> Maybe DebugSession -> Maybe Text -> Maybe POSIX -> Maybe ProjectEnvironment -> Maybe [ExportedEnvironmentVariable] -> Maybe [ProjectFileSystemLocation] -> Maybe Text -> Maybe Text -> Maybe LogsLocation -> Maybe NetworkInterface -> Maybe [BuildPhase] -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe Text -> Maybe [BuildArtifacts] -> Maybe [ProjectSourceVersion] -> Maybe [ProjectSource] -> Maybe Text -> Maybe ProjectSource -> Maybe Text -> Maybe POSIX -> Maybe Int -> Maybe VpcConfig -> Build
-- | The Amazon Resource Name (ARN) of the build.
[$sel:arn:Build'] :: Build -> Maybe Text
-- | Information about the output artifacts for the build.
[$sel:artifacts:Build'] :: Build -> Maybe BuildArtifacts
-- | The ARN of the batch build that this build is a member of, if
-- applicable.
[$sel:buildBatchArn:Build'] :: Build -> Maybe Text
-- | Whether the build is complete. True if complete; otherwise, false.
[$sel:buildComplete:Build'] :: Build -> Maybe Bool
-- | The number of the build. For each project, the buildNumber of
-- its first build is 1. The buildNumber of each
-- subsequent build is incremented by 1. If a build is deleted,
-- the buildNumber of other builds does not change.
[$sel:buildNumber:Build'] :: Build -> Maybe Integer
-- | 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.
--
[$sel:buildStatus:Build'] :: Build -> Maybe StatusType
-- | Information about the cache for the build.
[$sel:cache:Build'] :: Build -> Maybe ProjectCache
-- | The current build phase.
[$sel:currentPhase:Build'] :: Build -> Maybe Text
-- | Contains information about the debug session for this build.
[$sel:debugSession:Build'] :: Build -> Maybe DebugSession
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
[$sel:encryptionKey:Build'] :: Build -> Maybe Text
-- | When the build process ended, expressed in Unix time format.
[$sel:endTime:Build'] :: Build -> Maybe POSIX
-- | Information about the build environment for this build.
[$sel:environment:Build'] :: Build -> Maybe ProjectEnvironment
-- | A list of exported environment variables for this build.
--
-- Exported environment variables are used in conjunction with
-- CodePipeline to export environment variables from the current build
-- stage to subsequent stages in the pipeline. For more information, see
-- Working with variables in the CodePipeline User Guide.
[$sel:exportedEnvironmentVariables:Build'] :: Build -> Maybe [ExportedEnvironmentVariable]
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
[$sel:fileSystemLocations:Build'] :: Build -> Maybe [ProjectFileSystemLocation]
-- | The unique ID for the build.
[$sel:id:Build'] :: Build -> Maybe Text
-- | The entity that started the build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name (for example,
-- MyUserName).
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
[$sel:initiator:Build'] :: Build -> Maybe Text
-- | Information about the build's logs in CloudWatch Logs.
[$sel:logs:Build'] :: Build -> Maybe LogsLocation
-- | Describes a network interface.
[$sel:networkInterface:Build'] :: Build -> Maybe NetworkInterface
-- | Information about all previous build phases that are complete and
-- information about any current build phase that is not yet complete.
[$sel:phases:Build'] :: Build -> Maybe [BuildPhase]
-- | The name of the CodeBuild project.
[$sel:projectName:Build'] :: Build -> Maybe Text
-- | The number of minutes a build is allowed to be queued before it times
-- out.
[$sel:queuedTimeoutInMinutes:Build'] :: Build -> Maybe Int
-- | An array of the ARNs associated with this build's reports.
[$sel:reportArns:Build'] :: Build -> Maybe [Text]
-- | An identifier for the version of this build's source code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
[$sel:resolvedSourceVersion:Build'] :: Build -> Maybe Text
-- | An array of ProjectArtifacts objects.
[$sel:secondaryArtifacts:Build'] :: Build -> Maybe [BuildArtifacts]
-- | An array of ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
[$sel:secondarySourceVersions:Build'] :: Build -> Maybe [ProjectSourceVersion]
-- | An array of ProjectSource objects.
[$sel:secondarySources:Build'] :: Build -> Maybe [ProjectSource]
-- | The name of a service role used for this build.
[$sel:serviceRole:Build'] :: Build -> Maybe Text
-- | Information about the source code to be built.
[$sel:source:Build'] :: Build -> Maybe ProjectSource
-- | Any version identifier for the version of the source code to be built.
-- If sourceVersion is specified at the project level, then this
-- sourceVersion (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
[$sel:sourceVersion:Build'] :: Build -> Maybe Text
-- | When the build process started, expressed in Unix time format.
[$sel:startTime:Build'] :: Build -> Maybe POSIX
-- | How long, in minutes, for CodeBuild to wait before timing out this
-- build if it does not get marked as completed.
[$sel:timeoutInMinutes:Build'] :: Build -> Maybe Int
-- | If your 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.
[$sel:vpcConfig:Build'] :: Build -> Maybe VpcConfig
-- | Create a value of Build with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:Build', build_arn - The Amazon Resource Name
-- (ARN) of the build.
--
-- $sel:artifacts:Build', build_artifacts - Information
-- about the output artifacts for the build.
--
-- $sel:buildBatchArn:Build', build_buildBatchArn - The ARN
-- of the batch build that this build is a member of, if applicable.
--
-- $sel:buildComplete:Build', build_buildComplete - Whether
-- the build is complete. True if complete; otherwise, false.
--
-- $sel:buildNumber:Build', build_buildNumber - The number
-- of the build. For each project, the buildNumber of its first
-- build is 1. The buildNumber of each subsequent build
-- is incremented by 1. If a build is deleted, the
-- buildNumber of other builds does not change.
--
-- $sel:buildStatus:Build', build_buildStatus - 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.
--
--
-- $sel:cache:Build', build_cache - Information about the
-- cache for the build.
--
-- $sel:currentPhase:Build', build_currentPhase - The
-- current build phase.
--
-- $sel:debugSession:Build', build_debugSession - Contains
-- information about the debug session for this build.
--
-- $sel:encryptionKey:Build', build_encryptionKey - The Key
-- Management Service customer master key (CMK) to be used for encrypting
-- the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
--
-- Build, build_endTime - When the build process ended,
-- expressed in Unix time format.
--
-- $sel:environment:Build', build_environment - Information
-- about the build environment for this build.
--
-- $sel:exportedEnvironmentVariables:Build',
-- build_exportedEnvironmentVariables - A list of exported
-- environment variables for this build.
--
-- Exported environment variables are used in conjunction with
-- CodePipeline to export environment variables from the current build
-- stage to subsequent stages in the pipeline. For more information, see
-- Working with variables in the CodePipeline User Guide.
--
-- $sel:fileSystemLocations:Build',
-- build_fileSystemLocations - An array of
-- ProjectFileSystemLocation objects for a CodeBuild build
-- project. A ProjectFileSystemLocation object specifies the
-- identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
--
-- $sel:id:Build', build_id - The unique ID for the build.
--
-- $sel:initiator:Build', build_initiator - The entity that
-- started the build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name (for example,
-- MyUserName).
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
--
-- $sel:logs:Build', build_logs - Information about the
-- build's logs in CloudWatch Logs.
--
-- $sel:networkInterface:Build', build_networkInterface -
-- Describes a network interface.
--
-- $sel:phases:Build', build_phases - Information about all
-- previous build phases that are complete and information about any
-- current build phase that is not yet complete.
--
-- $sel:projectName:Build', build_projectName - The name of
-- the CodeBuild project.
--
-- $sel:queuedTimeoutInMinutes:Build',
-- build_queuedTimeoutInMinutes - The number of minutes a build is
-- allowed to be queued before it times out.
--
-- $sel:reportArns:Build', build_reportArns - An array of
-- the ARNs associated with this build's reports.
--
-- $sel:resolvedSourceVersion:Build',
-- build_resolvedSourceVersion - An identifier for the version of
-- this build's source code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
--
-- $sel:secondaryArtifacts:Build', build_secondaryArtifacts
-- - An array of ProjectArtifacts objects.
--
-- $sel:secondarySourceVersions:Build',
-- build_secondarySourceVersions - An array of
-- ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- $sel:secondarySources:Build', build_secondarySources -
-- An array of ProjectSource objects.
--
-- $sel:serviceRole:Build', build_serviceRole - The name of
-- a service role used for this build.
--
-- $sel:source:Build', build_source - Information about the
-- source code to be built.
--
-- Build, build_sourceVersion - Any version identifier for
-- the version of the source code to be built. If sourceVersion
-- is specified at the project level, then this sourceVersion
-- (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
--
-- Build, build_startTime - When the build process started,
-- expressed in Unix time format.
--
-- $sel:timeoutInMinutes:Build', build_timeoutInMinutes -
-- How long, in minutes, for CodeBuild to wait before timing out this
-- build if it does not get marked as completed.
--
-- $sel:vpcConfig:Build', build_vpcConfig - If your
-- 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.
newBuild :: Build
-- | The Amazon Resource Name (ARN) of the build.
build_arn :: Lens' Build (Maybe Text)
-- | Information about the output artifacts for the build.
build_artifacts :: Lens' Build (Maybe BuildArtifacts)
-- | The ARN of the batch build that this build is a member of, if
-- applicable.
build_buildBatchArn :: Lens' Build (Maybe Text)
-- | Whether the build is complete. True if complete; otherwise, false.
build_buildComplete :: Lens' Build (Maybe Bool)
-- | The number of the build. For each project, the buildNumber of
-- its first build is 1. The buildNumber of each
-- subsequent build is incremented by 1. If a build is deleted,
-- the buildNumber of other builds does not change.
build_buildNumber :: Lens' Build (Maybe Integer)
-- | 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.
--
build_buildStatus :: Lens' Build (Maybe StatusType)
-- | Information about the cache for the build.
build_cache :: Lens' Build (Maybe ProjectCache)
-- | The current build phase.
build_currentPhase :: Lens' Build (Maybe Text)
-- | Contains information about the debug session for this build.
build_debugSession :: Lens' Build (Maybe DebugSession)
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
build_encryptionKey :: Lens' Build (Maybe Text)
-- | When the build process ended, expressed in Unix time format.
build_endTime :: Lens' Build (Maybe UTCTime)
-- | Information about the build environment for this build.
build_environment :: Lens' Build (Maybe ProjectEnvironment)
-- | A list of exported environment variables for this build.
--
-- Exported environment variables are used in conjunction with
-- CodePipeline to export environment variables from the current build
-- stage to subsequent stages in the pipeline. For more information, see
-- Working with variables in the CodePipeline User Guide.
build_exportedEnvironmentVariables :: Lens' Build (Maybe [ExportedEnvironmentVariable])
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
build_fileSystemLocations :: Lens' Build (Maybe [ProjectFileSystemLocation])
-- | The unique ID for the build.
build_id :: Lens' Build (Maybe Text)
-- | The entity that started the build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name (for example,
-- MyUserName).
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
build_initiator :: Lens' Build (Maybe Text)
-- | Information about the build's logs in CloudWatch Logs.
build_logs :: Lens' Build (Maybe LogsLocation)
-- | Describes a network interface.
build_networkInterface :: Lens' Build (Maybe NetworkInterface)
-- | Information about all previous build phases that are complete and
-- information about any current build phase that is not yet complete.
build_phases :: Lens' Build (Maybe [BuildPhase])
-- | The name of the CodeBuild project.
build_projectName :: Lens' Build (Maybe Text)
-- | The number of minutes a build is allowed to be queued before it times
-- out.
build_queuedTimeoutInMinutes :: Lens' Build (Maybe Int)
-- | An array of the ARNs associated with this build's reports.
build_reportArns :: Lens' Build (Maybe [Text])
-- | An identifier for the version of this build's source code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
build_resolvedSourceVersion :: Lens' Build (Maybe Text)
-- | An array of ProjectArtifacts objects.
build_secondaryArtifacts :: Lens' Build (Maybe [BuildArtifacts])
-- | An array of ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
build_secondarySourceVersions :: Lens' Build (Maybe [ProjectSourceVersion])
-- | An array of ProjectSource objects.
build_secondarySources :: Lens' Build (Maybe [ProjectSource])
-- | The name of a service role used for this build.
build_serviceRole :: Lens' Build (Maybe Text)
-- | Information about the source code to be built.
build_source :: Lens' Build (Maybe ProjectSource)
-- | Any version identifier for the version of the source code to be built.
-- If sourceVersion is specified at the project level, then this
-- sourceVersion (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
build_sourceVersion :: Lens' Build (Maybe Text)
-- | When the build process started, expressed in Unix time format.
build_startTime :: Lens' Build (Maybe UTCTime)
-- | How long, in minutes, for CodeBuild to wait before timing out this
-- build if it does not get marked as completed.
build_timeoutInMinutes :: Lens' Build (Maybe Int)
-- | If your 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.
build_vpcConfig :: Lens' Build (Maybe VpcConfig)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.Build.Build
instance GHC.Show.Show Amazonka.CodeBuild.Types.Build.Build
instance GHC.Read.Read Amazonka.CodeBuild.Types.Build.Build
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.Build.Build
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.Build.Build
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.Build.Build
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.Build.Build
module Amazonka.CodeBuild.Types.WebhookBuildType
newtype WebhookBuildType
WebhookBuildType' :: Text -> WebhookBuildType
[fromWebhookBuildType] :: WebhookBuildType -> Text
pattern WebhookBuildType_BUILD :: WebhookBuildType
pattern WebhookBuildType_BUILD_BATCH :: WebhookBuildType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance GHC.Read.Read Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
instance GHC.Show.Show Amazonka.CodeBuild.Types.WebhookBuildType.WebhookBuildType
module Amazonka.CodeBuild.Types.WebhookFilterType
newtype WebhookFilterType
WebhookFilterType' :: Text -> WebhookFilterType
[fromWebhookFilterType] :: WebhookFilterType -> Text
pattern WebhookFilterType_ACTOR_ACCOUNT_ID :: WebhookFilterType
pattern WebhookFilterType_BASE_REF :: WebhookFilterType
pattern WebhookFilterType_COMMIT_MESSAGE :: WebhookFilterType
pattern WebhookFilterType_EVENT :: WebhookFilterType
pattern WebhookFilterType_FILE_PATH :: WebhookFilterType
pattern WebhookFilterType_HEAD_REF :: WebhookFilterType
instance Amazonka.Data.XML.ToXML Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance Amazonka.Data.XML.FromXML Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance Amazonka.Data.Log.ToLog Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance Amazonka.Data.Text.ToText Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance Amazonka.Data.Text.FromText Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance GHC.Classes.Ord Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance GHC.Read.Read Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
instance GHC.Show.Show Amazonka.CodeBuild.Types.WebhookFilterType.WebhookFilterType
module Amazonka.CodeBuild.Types.WebhookFilter
-- | A filter used to determine which webhooks trigger a build.
--
-- See: newWebhookFilter smart constructor.
data WebhookFilter
WebhookFilter' :: Maybe Bool -> WebhookFilterType -> Text -> WebhookFilter
-- | Used to indicate that the pattern determines which webhook
-- events do not trigger a build. If true, then a webhook event that does
-- not match the pattern triggers a build. If false, then a
-- webhook event that matches the pattern triggers a build.
[$sel:excludeMatchedPattern:WebhookFilter'] :: WebhookFilter -> Maybe Bool
-- | The type of webhook filter. There are six webhook filter types:
-- EVENT, ACTOR_ACCOUNT_ID, HEAD_REF,
-- BASE_REF, FILE_PATH, and COMMIT_MESSAGE.
--
--
-- - EVENT A webhook event triggers a build when the provided
-- pattern matches one of five event types: PUSH,
-- PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED,
-- PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The
-- EVENT patterns are specified as a comma-separated string. For
-- example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED
-- filters all push, pull request created, and pull request updated
-- events.The PULL_REQUEST_REOPENED works with GitHub and GitHub
-- Enterprise only.
-- - ACTOR_ACCOUNT_ID A webhook event triggers a build when a
-- GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular
-- expression pattern.
-- - HEAD_REF A webhook event triggers a build when the head
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name and
-- refs/tags/tag-name.Works with GitHub and GitHub Enterprise
-- push, GitHub and GitHub Enterprise pull request, Bitbucket push, and
-- Bitbucket pull request events.
-- - BASE_REF A webhook event triggers a build when the base
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name.Works with pull request
-- events only.
-- - FILE_PATH A webhook triggers a build when the path of a
-- changed file matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
-- - COMMIT_MESSAGE A webhook triggers a build when the head
-- commit message matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
--
[$sel:type':WebhookFilter'] :: WebhookFilter -> WebhookFilterType
-- | For a WebHookFilter that uses EVENT type, a
-- comma-separated string that specifies one or more events. For example,
-- the webhook filter PUSH, PULL_REQUEST_CREATED,
-- PULL_REQUEST_UPDATED allows all push, pull request created, and
-- pull request updated events to trigger a build.
--
-- For a WebHookFilter that uses any of the other filter types,
-- a regular expression pattern. For example, a WebHookFilter
-- that uses HEAD_REF for its type and the pattern
-- ^refs/heads/ triggers a build when the head reference is a
-- branch with a reference name refs/heads/branch-name.
[$sel:pattern':WebhookFilter'] :: WebhookFilter -> Text
-- | Create a value of WebhookFilter with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:excludeMatchedPattern:WebhookFilter',
-- webhookFilter_excludeMatchedPattern - Used to indicate that the
-- pattern determines which webhook events do not trigger a
-- build. If true, then a webhook event that does not match the
-- pattern triggers a build. If false, then a webhook event that
-- matches the pattern triggers a build.
--
-- $sel:type':WebhookFilter', webhookFilter_type - The type
-- of webhook filter. There are six webhook filter types: EVENT,
-- ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF,
-- FILE_PATH, and COMMIT_MESSAGE.
--
--
-- - EVENT A webhook event triggers a build when the provided
-- pattern matches one of five event types: PUSH,
-- PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED,
-- PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The
-- EVENT patterns are specified as a comma-separated string. For
-- example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED
-- filters all push, pull request created, and pull request updated
-- events.The PULL_REQUEST_REOPENED works with GitHub and GitHub
-- Enterprise only.
-- - ACTOR_ACCOUNT_ID A webhook event triggers a build when a
-- GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular
-- expression pattern.
-- - HEAD_REF A webhook event triggers a build when the head
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name and
-- refs/tags/tag-name.Works with GitHub and GitHub Enterprise
-- push, GitHub and GitHub Enterprise pull request, Bitbucket push, and
-- Bitbucket pull request events.
-- - BASE_REF A webhook event triggers a build when the base
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name.Works with pull request
-- events only.
-- - FILE_PATH A webhook triggers a build when the path of a
-- changed file matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
-- - COMMIT_MESSAGE A webhook triggers a build when the head
-- commit message matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
--
--
-- $sel:pattern':WebhookFilter', webhookFilter_pattern -
-- For a WebHookFilter that uses EVENT type, a
-- comma-separated string that specifies one or more events. For example,
-- the webhook filter PUSH, PULL_REQUEST_CREATED,
-- PULL_REQUEST_UPDATED allows all push, pull request created, and
-- pull request updated events to trigger a build.
--
-- For a WebHookFilter that uses any of the other filter types,
-- a regular expression pattern. For example, a WebHookFilter
-- that uses HEAD_REF for its type and the pattern
-- ^refs/heads/ triggers a build when the head reference is a
-- branch with a reference name refs/heads/branch-name.
newWebhookFilter :: WebhookFilterType -> Text -> WebhookFilter
-- | Used to indicate that the pattern determines which webhook
-- events do not trigger a build. If true, then a webhook event that does
-- not match the pattern triggers a build. If false, then a
-- webhook event that matches the pattern triggers a build.
webhookFilter_excludeMatchedPattern :: Lens' WebhookFilter (Maybe Bool)
-- | The type of webhook filter. There are six webhook filter types:
-- EVENT, ACTOR_ACCOUNT_ID, HEAD_REF,
-- BASE_REF, FILE_PATH, and COMMIT_MESSAGE.
--
--
-- - EVENT A webhook event triggers a build when the provided
-- pattern matches one of five event types: PUSH,
-- PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED,
-- PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The
-- EVENT patterns are specified as a comma-separated string. For
-- example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED
-- filters all push, pull request created, and pull request updated
-- events.The PULL_REQUEST_REOPENED works with GitHub and GitHub
-- Enterprise only.
-- - ACTOR_ACCOUNT_ID A webhook event triggers a build when a
-- GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular
-- expression pattern.
-- - HEAD_REF A webhook event triggers a build when the head
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name and
-- refs/tags/tag-name.Works with GitHub and GitHub Enterprise
-- push, GitHub and GitHub Enterprise pull request, Bitbucket push, and
-- Bitbucket pull request events.
-- - BASE_REF A webhook event triggers a build when the base
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name.Works with pull request
-- events only.
-- - FILE_PATH A webhook triggers a build when the path of a
-- changed file matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
-- - COMMIT_MESSAGE A webhook triggers a build when the head
-- commit message matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
--
webhookFilter_type :: Lens' WebhookFilter WebhookFilterType
-- | For a WebHookFilter that uses EVENT type, a
-- comma-separated string that specifies one or more events. For example,
-- the webhook filter PUSH, PULL_REQUEST_CREATED,
-- PULL_REQUEST_UPDATED allows all push, pull request created, and
-- pull request updated events to trigger a build.
--
-- For a WebHookFilter that uses any of the other filter types,
-- a regular expression pattern. For example, a WebHookFilter
-- that uses HEAD_REF for its type and the pattern
-- ^refs/heads/ triggers a build when the head reference is a
-- branch with a reference name refs/heads/branch-name.
webhookFilter_pattern :: Lens' WebhookFilter Text
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.WebhookFilter.WebhookFilter
instance GHC.Show.Show Amazonka.CodeBuild.Types.WebhookFilter.WebhookFilter
instance GHC.Read.Read Amazonka.CodeBuild.Types.WebhookFilter.WebhookFilter
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.WebhookFilter.WebhookFilter
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.WebhookFilter.WebhookFilter
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.WebhookFilter.WebhookFilter
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.WebhookFilter.WebhookFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.Types.WebhookFilter.WebhookFilter
module Amazonka.CodeBuild.Types.Webhook
-- | Information about a webhook that connects repository events to a build
-- project in CodeBuild.
--
-- See: newWebhook smart constructor.
data Webhook
Webhook' :: Maybe Text -> Maybe WebhookBuildType -> Maybe [[WebhookFilter]] -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Webhook
-- | A regular expression used to determine which repository branches are
-- built when a webhook is triggered. If the name of a branch matches the
-- regular expression, then it is built. If branchFilter is
-- empty, then all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
[$sel:branchFilter:Webhook'] :: Webhook -> Maybe Text
-- | Specifies the type of build this webhook will trigger.
[$sel:buildType:Webhook'] :: Webhook -> Maybe WebhookBuildType
-- | An array of arrays of WebhookFilter objects used to determine
-- which webhooks are triggered. At least one WebhookFilter in
-- the array must specify EVENT as its type.
--
-- For a build to be triggered, at least one filter group in the
-- filterGroups array must pass. For a filter group to pass,
-- each of its filters must pass.
[$sel:filterGroups:Webhook'] :: Webhook -> Maybe [[WebhookFilter]]
-- | A timestamp that indicates the last time a repository's secret token
-- was modified.
[$sel:lastModifiedSecret:Webhook'] :: Webhook -> Maybe POSIX
-- | The CodeBuild endpoint where webhook events are sent.
[$sel:payloadUrl:Webhook'] :: Webhook -> Maybe Text
-- | The secret token of the associated repository.
--
-- A Bitbucket webhook does not support secret.
[$sel:secret:Webhook'] :: Webhook -> Maybe Text
-- | The URL to the webhook.
[$sel:url:Webhook'] :: Webhook -> Maybe Text
-- | Create a value of Webhook with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:branchFilter:Webhook', webhook_branchFilter - A
-- regular expression used to determine which repository branches are
-- built when a webhook is triggered. If the name of a branch matches the
-- regular expression, then it is built. If branchFilter is
-- empty, then all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
--
-- $sel:buildType:Webhook', webhook_buildType - Specifies
-- the type of build this webhook will trigger.
--
-- $sel:filterGroups:Webhook', webhook_filterGroups - An
-- array of arrays of WebhookFilter objects used to determine
-- which webhooks are triggered. At least one WebhookFilter in
-- the array must specify EVENT as its type.
--
-- For a build to be triggered, at least one filter group in the
-- filterGroups array must pass. For a filter group to pass,
-- each of its filters must pass.
--
-- $sel:lastModifiedSecret:Webhook',
-- webhook_lastModifiedSecret - A timestamp that indicates the
-- last time a repository's secret token was modified.
--
-- $sel:payloadUrl:Webhook', webhook_payloadUrl - The
-- CodeBuild endpoint where webhook events are sent.
--
-- $sel:secret:Webhook', webhook_secret - The secret token
-- of the associated repository.
--
-- A Bitbucket webhook does not support secret.
--
-- $sel:url:Webhook', webhook_url - The URL to the webhook.
newWebhook :: Webhook
-- | A regular expression used to determine which repository branches are
-- built when a webhook is triggered. If the name of a branch matches the
-- regular expression, then it is built. If branchFilter is
-- empty, then all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
webhook_branchFilter :: Lens' Webhook (Maybe Text)
-- | Specifies the type of build this webhook will trigger.
webhook_buildType :: Lens' Webhook (Maybe WebhookBuildType)
-- | An array of arrays of WebhookFilter objects used to determine
-- which webhooks are triggered. At least one WebhookFilter in
-- the array must specify EVENT as its type.
--
-- For a build to be triggered, at least one filter group in the
-- filterGroups array must pass. For a filter group to pass,
-- each of its filters must pass.
webhook_filterGroups :: Lens' Webhook (Maybe [[WebhookFilter]])
-- | A timestamp that indicates the last time a repository's secret token
-- was modified.
webhook_lastModifiedSecret :: Lens' Webhook (Maybe UTCTime)
-- | The CodeBuild endpoint where webhook events are sent.
webhook_payloadUrl :: Lens' Webhook (Maybe Text)
-- | The secret token of the associated repository.
--
-- A Bitbucket webhook does not support secret.
webhook_secret :: Lens' Webhook (Maybe Text)
-- | The URL to the webhook.
webhook_url :: Lens' Webhook (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.Webhook.Webhook
instance GHC.Show.Show Amazonka.CodeBuild.Types.Webhook.Webhook
instance GHC.Read.Read Amazonka.CodeBuild.Types.Webhook.Webhook
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.Webhook.Webhook
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.Webhook.Webhook
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.Webhook.Webhook
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.Webhook.Webhook
module Amazonka.CodeBuild.Types.Project
-- | Information about a build project.
--
-- See: newProject smart constructor.
data Project
Project' :: Maybe Text -> Maybe ProjectArtifacts -> Maybe ProjectBadge -> Maybe ProjectBuildBatchConfig -> Maybe ProjectCache -> Maybe Int -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe ProjectEnvironment -> Maybe [ProjectFileSystemLocation] -> Maybe POSIX -> Maybe LogsConfig -> Maybe Text -> Maybe ProjectVisibilityType -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe [ProjectArtifacts] -> Maybe [ProjectSourceVersion] -> Maybe [ProjectSource] -> Maybe Text -> Maybe ProjectSource -> Maybe Text -> Maybe [Tag] -> Maybe Natural -> Maybe VpcConfig -> Maybe Webhook -> Project
-- | The Amazon Resource Name (ARN) of the build project.
[$sel:arn:Project'] :: Project -> Maybe Text
-- | Information about the build output artifacts for the build project.
[$sel:artifacts:Project'] :: Project -> Maybe ProjectArtifacts
-- | Information about the build badge for the build project.
[$sel:badge:Project'] :: Project -> Maybe ProjectBadge
-- | A ProjectBuildBatchConfig object that defines the batch build options
-- for the project.
[$sel:buildBatchConfig:Project'] :: Project -> Maybe ProjectBuildBatchConfig
-- | Information about the cache for the build project.
[$sel:cache:Project'] :: Project -> Maybe ProjectCache
-- | The maximum number of concurrent builds that are allowed for this
-- project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
[$sel:concurrentBuildLimit:Project'] :: Project -> Maybe Int
-- | When the build project was created, expressed in Unix time format.
[$sel:created:Project'] :: Project -> Maybe POSIX
-- | A description that makes the build project easy to identify.
[$sel:description:Project'] :: Project -> Maybe Text
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>). If you don't specify a value,
-- CodeBuild uses the managed CMK for Amazon Simple Storage Service
-- (Amazon S3).
[$sel:encryptionKey:Project'] :: Project -> Maybe Text
-- | Information about the build environment for this build project.
[$sel:environment:Project'] :: Project -> Maybe ProjectEnvironment
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
[$sel:fileSystemLocations:Project'] :: Project -> Maybe [ProjectFileSystemLocation]
-- | When the build project's settings were last modified, expressed in
-- Unix time format.
[$sel:lastModified:Project'] :: Project -> Maybe POSIX
-- | Information about logs for the build project. A project can create
-- logs in CloudWatch Logs, an S3 bucket, or both.
[$sel:logsConfig:Project'] :: Project -> Maybe LogsConfig
-- | The name of the build project.
[$sel:name:Project'] :: Project -> Maybe Text
[$sel:projectVisibility:Project'] :: Project -> Maybe ProjectVisibilityType
-- | Contains the project identifier used with the public build APIs.
[$sel:publicProjectAlias:Project'] :: Project -> Maybe Text
-- | The number of minutes a build is allowed to be queued before it times
-- out.
[$sel:queuedTimeoutInMinutes:Project'] :: Project -> Maybe Natural
-- | The ARN of the IAM role that enables CodeBuild to access the
-- CloudWatch Logs and Amazon S3 artifacts for the project's builds.
[$sel:resourceAccessRole:Project'] :: Project -> Maybe Text
-- | An array of ProjectArtifacts objects.
[$sel:secondaryArtifacts:Project'] :: Project -> Maybe [ProjectArtifacts]
-- | An array of ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take over these secondarySourceVersions (at the project
-- level).
[$sel:secondarySourceVersions:Project'] :: Project -> Maybe [ProjectSourceVersion]
-- | An array of ProjectSource objects.
[$sel:secondarySources:Project'] :: Project -> Maybe [ProjectSource]
-- | The ARN of the IAM role that enables CodeBuild to interact with
-- dependent Amazon Web Services services on behalf of the Amazon Web
-- Services account.
[$sel:serviceRole:Project'] :: Project -> Maybe Text
-- | Information about the build input source code for this build project.
[$sel:source:Project'] :: Project -> Maybe ProjectSource
-- | A version of the build input to be built for this project. If not
-- specified, the latest version is used. If specified, it must be one
-- of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
[$sel:sourceVersion:Project'] :: Project -> Maybe Text
-- | A list of tag key and value pairs associated with this build project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
[$sel:tags:Project'] :: Project -> Maybe [Tag]
-- | How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
-- before timing out any related build that did not get marked as
-- completed. The default is 60 minutes.
[$sel:timeoutInMinutes:Project'] :: Project -> Maybe Natural
-- | Information about the VPC configuration that CodeBuild accesses.
[$sel:vpcConfig:Project'] :: Project -> Maybe VpcConfig
-- | Information about a webhook that connects repository events to a build
-- project in CodeBuild.
[$sel:webhook:Project'] :: Project -> Maybe Webhook
-- | Create a value of Project with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:Project', project_arn - The Amazon Resource
-- Name (ARN) of the build project.
--
-- $sel:artifacts:Project', project_artifacts - Information
-- about the build output artifacts for the build project.
--
-- $sel:badge:Project', project_badge - Information about
-- the build badge for the build project.
--
-- $sel:buildBatchConfig:Project', project_buildBatchConfig
-- - A ProjectBuildBatchConfig object that defines the batch build
-- options for the project.
--
-- $sel:cache:Project', project_cache - Information about
-- the cache for the build project.
--
-- $sel:concurrentBuildLimit:Project',
-- project_concurrentBuildLimit - The maximum number of concurrent
-- builds that are allowed for this project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
--
-- $sel:created:Project', project_created - When the build
-- project was created, expressed in Unix time format.
--
-- $sel:description:Project', project_description - A
-- description that makes the build project easy to identify.
--
-- $sel:encryptionKey:Project', project_encryptionKey - The
-- Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>). If you don't specify a value,
-- CodeBuild uses the managed CMK for Amazon Simple Storage Service
-- (Amazon S3).
--
-- $sel:environment:Project', project_environment -
-- Information about the build environment for this build project.
--
-- $sel:fileSystemLocations:Project',
-- project_fileSystemLocations - An array of
-- ProjectFileSystemLocation objects for a CodeBuild build
-- project. A ProjectFileSystemLocation object specifies the
-- identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
--
-- $sel:lastModified:Project', project_lastModified - When
-- the build project's settings were last modified, expressed in Unix
-- time format.
--
-- $sel:logsConfig:Project', project_logsConfig -
-- Information about logs for the build project. A project can create
-- logs in CloudWatch Logs, an S3 bucket, or both.
--
-- Project, project_name - The name of the build project.
--
-- $sel:projectVisibility:Project',
-- project_projectVisibility - Undocumented member.
--
-- $sel:publicProjectAlias:Project',
-- project_publicProjectAlias - Contains the project identifier
-- used with the public build APIs.
--
-- $sel:queuedTimeoutInMinutes:Project',
-- project_queuedTimeoutInMinutes - The number of minutes a build
-- is allowed to be queued before it times out.
--
-- $sel:resourceAccessRole:Project',
-- project_resourceAccessRole - The ARN of the IAM role that
-- enables CodeBuild to access the CloudWatch Logs and Amazon S3
-- artifacts for the project's builds.
--
-- $sel:secondaryArtifacts:Project',
-- project_secondaryArtifacts - An array of
-- ProjectArtifacts objects.
--
-- $sel:secondarySourceVersions:Project',
-- project_secondarySourceVersions - An array of
-- ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take over these secondarySourceVersions (at the project
-- level).
--
-- $sel:secondarySources:Project', project_secondarySources
-- - An array of ProjectSource objects.
--
-- Project, project_serviceRole - The ARN of the IAM role
-- that enables CodeBuild to interact with dependent Amazon Web Services
-- services on behalf of the Amazon Web Services account.
--
-- $sel:source:Project', project_source - Information about
-- the build input source code for this build project.
--
-- Project, project_sourceVersion - A version of the build
-- input to be built for this project. If not specified, the latest
-- version is used. If specified, it must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
--
-- $sel:tags:Project', project_tags - A list of tag key and
-- value pairs associated with this build project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
--
-- $sel:timeoutInMinutes:Project', project_timeoutInMinutes
-- - How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
-- before timing out any related build that did not get marked as
-- completed. The default is 60 minutes.
--
-- $sel:vpcConfig:Project', project_vpcConfig - Information
-- about the VPC configuration that CodeBuild accesses.
--
-- $sel:webhook:Project', project_webhook - Information
-- about a webhook that connects repository events to a build project in
-- CodeBuild.
newProject :: Project
-- | The Amazon Resource Name (ARN) of the build project.
project_arn :: Lens' Project (Maybe Text)
-- | Information about the build output artifacts for the build project.
project_artifacts :: Lens' Project (Maybe ProjectArtifacts)
-- | Information about the build badge for the build project.
project_badge :: Lens' Project (Maybe ProjectBadge)
-- | A ProjectBuildBatchConfig object that defines the batch build options
-- for the project.
project_buildBatchConfig :: Lens' Project (Maybe ProjectBuildBatchConfig)
-- | Information about the cache for the build project.
project_cache :: Lens' Project (Maybe ProjectCache)
-- | The maximum number of concurrent builds that are allowed for this
-- project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
project_concurrentBuildLimit :: Lens' Project (Maybe Int)
-- | When the build project was created, expressed in Unix time format.
project_created :: Lens' Project (Maybe UTCTime)
-- | A description that makes the build project easy to identify.
project_description :: Lens' Project (Maybe Text)
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>). If you don't specify a value,
-- CodeBuild uses the managed CMK for Amazon Simple Storage Service
-- (Amazon S3).
project_encryptionKey :: Lens' Project (Maybe Text)
-- | Information about the build environment for this build project.
project_environment :: Lens' Project (Maybe ProjectEnvironment)
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
project_fileSystemLocations :: Lens' Project (Maybe [ProjectFileSystemLocation])
-- | When the build project's settings were last modified, expressed in
-- Unix time format.
project_lastModified :: Lens' Project (Maybe UTCTime)
-- | Information about logs for the build project. A project can create
-- logs in CloudWatch Logs, an S3 bucket, or both.
project_logsConfig :: Lens' Project (Maybe LogsConfig)
-- | The name of the build project.
project_name :: Lens' Project (Maybe Text)
-- | Undocumented member.
project_projectVisibility :: Lens' Project (Maybe ProjectVisibilityType)
-- | Contains the project identifier used with the public build APIs.
project_publicProjectAlias :: Lens' Project (Maybe Text)
-- | The number of minutes a build is allowed to be queued before it times
-- out.
project_queuedTimeoutInMinutes :: Lens' Project (Maybe Natural)
-- | The ARN of the IAM role that enables CodeBuild to access the
-- CloudWatch Logs and Amazon S3 artifacts for the project's builds.
project_resourceAccessRole :: Lens' Project (Maybe Text)
-- | An array of ProjectArtifacts objects.
project_secondaryArtifacts :: Lens' Project (Maybe [ProjectArtifacts])
-- | An array of ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take over these secondarySourceVersions (at the project
-- level).
project_secondarySourceVersions :: Lens' Project (Maybe [ProjectSourceVersion])
-- | An array of ProjectSource objects.
project_secondarySources :: Lens' Project (Maybe [ProjectSource])
-- | The ARN of the IAM role that enables CodeBuild to interact with
-- dependent Amazon Web Services services on behalf of the Amazon Web
-- Services account.
project_serviceRole :: Lens' Project (Maybe Text)
-- | Information about the build input source code for this build project.
project_source :: Lens' Project (Maybe ProjectSource)
-- | A version of the build input to be built for this project. If not
-- specified, the latest version is used. If specified, it must be one
-- of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
project_sourceVersion :: Lens' Project (Maybe Text)
-- | A list of tag key and value pairs associated with this build project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
project_tags :: Lens' Project (Maybe [Tag])
-- | How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
-- before timing out any related build that did not get marked as
-- completed. The default is 60 minutes.
project_timeoutInMinutes :: Lens' Project (Maybe Natural)
-- | Information about the VPC configuration that CodeBuild accesses.
project_vpcConfig :: Lens' Project (Maybe VpcConfig)
-- | Information about a webhook that connects repository events to a build
-- project in CodeBuild.
project_webhook :: Lens' Project (Maybe Webhook)
instance GHC.Generics.Generic Amazonka.CodeBuild.Types.Project.Project
instance GHC.Show.Show Amazonka.CodeBuild.Types.Project.Project
instance GHC.Read.Read Amazonka.CodeBuild.Types.Project.Project
instance GHC.Classes.Eq Amazonka.CodeBuild.Types.Project.Project
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeBuild.Types.Project.Project
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.Types.Project.Project
instance Control.DeepSeq.NFData Amazonka.CodeBuild.Types.Project.Project
module Amazonka.CodeBuild.Types
-- | API version 2016-10-06 of the Amazon CodeBuild SDK
-- configuration.
defaultService :: Service
-- | An Amazon Web Services service limit was exceeded for the calling
-- Amazon Web Services account.
_AccountLimitExceededException :: AsError a => Fold a ServiceError
-- | The input value that was provided is not valid.
_InvalidInputException :: AsError a => Fold a ServiceError
-- | There was a problem with the underlying OAuth provider.
_OAuthProviderException :: AsError a => Fold a ServiceError
-- | The specified Amazon Web Services resource cannot be created, because
-- an Amazon Web Services resource with the same settings already exists.
_ResourceAlreadyExistsException :: AsError a => Fold a ServiceError
-- | The specified Amazon Web Services resource cannot be found.
_ResourceNotFoundException :: AsError a => Fold a ServiceError
newtype ArtifactNamespace
ArtifactNamespace' :: Text -> ArtifactNamespace
[fromArtifactNamespace] :: ArtifactNamespace -> Text
pattern ArtifactNamespace_BUILD_ID :: ArtifactNamespace
pattern ArtifactNamespace_NONE :: ArtifactNamespace
newtype ArtifactPackaging
ArtifactPackaging' :: Text -> ArtifactPackaging
[fromArtifactPackaging] :: ArtifactPackaging -> Text
pattern ArtifactPackaging_NONE :: ArtifactPackaging
pattern ArtifactPackaging_ZIP :: ArtifactPackaging
newtype ArtifactsType
ArtifactsType' :: Text -> ArtifactsType
[fromArtifactsType] :: ArtifactsType -> Text
pattern ArtifactsType_CODEPIPELINE :: ArtifactsType
pattern ArtifactsType_NO_ARTIFACTS :: ArtifactsType
pattern ArtifactsType_S3 :: ArtifactsType
newtype AuthType
AuthType' :: Text -> AuthType
[fromAuthType] :: AuthType -> Text
pattern AuthType_BASIC_AUTH :: AuthType
pattern AuthType_OAUTH :: AuthType
pattern AuthType_PERSONAL_ACCESS_TOKEN :: AuthType
newtype BatchReportModeType
BatchReportModeType' :: Text -> BatchReportModeType
[fromBatchReportModeType] :: BatchReportModeType -> Text
pattern BatchReportModeType_REPORT_AGGREGATED_BATCH :: BatchReportModeType
pattern BatchReportModeType_REPORT_INDIVIDUAL_BUILDS :: BatchReportModeType
-- | Specifies the bucket owner's access for objects that another account
-- uploads to their Amazon S3 bucket. By default, only the account that
-- uploads the objects to the bucket has access to these objects. This
-- property allows you to give the bucket owner access to these objects.
--
-- To use this property, your CodeBuild service role must have the
-- s3:PutBucketAcl permission. This permission allows CodeBuild
-- to modify the access control list for the bucket.
--
-- This property can be one of the following values:
--
--
-- - NONE The bucket owner does not have access to the objects.
-- This is the default.
-- - READ_ONLY The bucket owner has read-only access to the
-- objects. The uploading account retains ownership of the objects.
-- - FULL The bucket owner has full access to the objects.
-- Object ownership is determined by the following criteria:
- If
-- the bucket is configured with the Bucket owner preferred
-- setting, the bucket owner owns the objects. The uploading account will
-- have object access as specified by the bucket's
-- policy.
- Otherwise, the uploading account retains ownership of
-- the objects.
For more information about Amazon S3 object
-- ownership, see Controlling ownership of uploaded objects using S3
-- Object Ownership in the Amazon Simple Storage Service User
-- Guide.
--
newtype BucketOwnerAccess
BucketOwnerAccess' :: Text -> BucketOwnerAccess
[fromBucketOwnerAccess] :: BucketOwnerAccess -> Text
pattern BucketOwnerAccess_FULL :: BucketOwnerAccess
pattern BucketOwnerAccess_NONE :: BucketOwnerAccess
pattern BucketOwnerAccess_READ_ONLY :: BucketOwnerAccess
newtype BuildBatchPhaseType
BuildBatchPhaseType' :: Text -> BuildBatchPhaseType
[fromBuildBatchPhaseType] :: BuildBatchPhaseType -> Text
pattern BuildBatchPhaseType_COMBINE_ARTIFACTS :: BuildBatchPhaseType
pattern BuildBatchPhaseType_DOWNLOAD_BATCHSPEC :: BuildBatchPhaseType
pattern BuildBatchPhaseType_FAILED :: BuildBatchPhaseType
pattern BuildBatchPhaseType_IN_PROGRESS :: BuildBatchPhaseType
pattern BuildBatchPhaseType_STOPPED :: BuildBatchPhaseType
pattern BuildBatchPhaseType_SUBMITTED :: BuildBatchPhaseType
pattern BuildBatchPhaseType_SUCCEEDED :: BuildBatchPhaseType
newtype BuildPhaseType
BuildPhaseType' :: Text -> BuildPhaseType
[fromBuildPhaseType] :: BuildPhaseType -> Text
pattern BuildPhaseType_BUILD :: BuildPhaseType
pattern BuildPhaseType_COMPLETED :: BuildPhaseType
pattern BuildPhaseType_DOWNLOAD_SOURCE :: BuildPhaseType
pattern BuildPhaseType_FINALIZING :: BuildPhaseType
pattern BuildPhaseType_INSTALL :: BuildPhaseType
pattern BuildPhaseType_POST_BUILD :: BuildPhaseType
pattern BuildPhaseType_PRE_BUILD :: BuildPhaseType
pattern BuildPhaseType_PROVISIONING :: BuildPhaseType
pattern BuildPhaseType_QUEUED :: BuildPhaseType
pattern BuildPhaseType_SUBMITTED :: BuildPhaseType
pattern BuildPhaseType_UPLOAD_ARTIFACTS :: BuildPhaseType
newtype CacheMode
CacheMode' :: Text -> CacheMode
[fromCacheMode] :: CacheMode -> Text
pattern CacheMode_LOCAL_CUSTOM_CACHE :: CacheMode
pattern CacheMode_LOCAL_DOCKER_LAYER_CACHE :: CacheMode
pattern CacheMode_LOCAL_SOURCE_CACHE :: CacheMode
newtype CacheType
CacheType' :: Text -> CacheType
[fromCacheType] :: CacheType -> Text
pattern CacheType_LOCAL :: CacheType
pattern CacheType_NO_CACHE :: CacheType
pattern CacheType_S3 :: CacheType
newtype ComputeType
ComputeType' :: Text -> ComputeType
[fromComputeType] :: ComputeType -> Text
pattern ComputeType_BUILD_GENERAL1_2XLARGE :: ComputeType
pattern ComputeType_BUILD_GENERAL1_LARGE :: ComputeType
pattern ComputeType_BUILD_GENERAL1_MEDIUM :: ComputeType
pattern ComputeType_BUILD_GENERAL1_SMALL :: ComputeType
newtype CredentialProviderType
CredentialProviderType' :: Text -> CredentialProviderType
[fromCredentialProviderType] :: CredentialProviderType -> Text
pattern CredentialProviderType_SECRETS_MANAGER :: CredentialProviderType
newtype EnvironmentType
EnvironmentType' :: Text -> EnvironmentType
[fromEnvironmentType] :: EnvironmentType -> Text
pattern EnvironmentType_ARM_CONTAINER :: EnvironmentType
pattern EnvironmentType_LINUX_CONTAINER :: EnvironmentType
pattern EnvironmentType_LINUX_GPU_CONTAINER :: EnvironmentType
pattern EnvironmentType_WINDOWS_CONTAINER :: EnvironmentType
pattern EnvironmentType_WINDOWS_SERVER_2019_CONTAINER :: EnvironmentType
newtype EnvironmentVariableType
EnvironmentVariableType' :: Text -> EnvironmentVariableType
[fromEnvironmentVariableType] :: EnvironmentVariableType -> Text
pattern EnvironmentVariableType_PARAMETER_STORE :: EnvironmentVariableType
pattern EnvironmentVariableType_PLAINTEXT :: EnvironmentVariableType
pattern EnvironmentVariableType_SECRETS_MANAGER :: EnvironmentVariableType
newtype FileSystemType
FileSystemType' :: Text -> FileSystemType
[fromFileSystemType] :: FileSystemType -> Text
pattern FileSystemType_EFS :: FileSystemType
newtype ImagePullCredentialsType
ImagePullCredentialsType' :: Text -> ImagePullCredentialsType
[fromImagePullCredentialsType] :: ImagePullCredentialsType -> Text
pattern ImagePullCredentialsType_CODEBUILD :: ImagePullCredentialsType
pattern ImagePullCredentialsType_SERVICE_ROLE :: ImagePullCredentialsType
newtype LanguageType
LanguageType' :: Text -> LanguageType
[fromLanguageType] :: LanguageType -> Text
pattern LanguageType_ANDROID :: LanguageType
pattern LanguageType_BASE :: LanguageType
pattern LanguageType_DOCKER :: LanguageType
pattern LanguageType_DOTNET :: LanguageType
pattern LanguageType_GOLANG :: LanguageType
pattern LanguageType_JAVA :: LanguageType
pattern LanguageType_NODE_JS :: LanguageType
pattern LanguageType_PHP :: LanguageType
pattern LanguageType_PYTHON :: LanguageType
pattern LanguageType_RUBY :: LanguageType
newtype LogsConfigStatusType
LogsConfigStatusType' :: Text -> LogsConfigStatusType
[fromLogsConfigStatusType] :: LogsConfigStatusType -> Text
pattern LogsConfigStatusType_DISABLED :: LogsConfigStatusType
pattern LogsConfigStatusType_ENABLED :: LogsConfigStatusType
newtype PlatformType
PlatformType' :: Text -> PlatformType
[fromPlatformType] :: PlatformType -> Text
pattern PlatformType_AMAZON_LINUX :: PlatformType
pattern PlatformType_DEBIAN :: PlatformType
pattern PlatformType_UBUNTU :: PlatformType
pattern PlatformType_WINDOWS_SERVER :: PlatformType
newtype ProjectSortByType
ProjectSortByType' :: Text -> ProjectSortByType
[fromProjectSortByType] :: ProjectSortByType -> Text
pattern ProjectSortByType_CREATED_TIME :: ProjectSortByType
pattern ProjectSortByType_LAST_MODIFIED_TIME :: ProjectSortByType
pattern ProjectSortByType_NAME :: ProjectSortByType
-- | Specifies the visibility of the project's builds. Possible values are:
--
--
-- - PUBLIC_READ The project builds are visible to the
-- public.
-- - PRIVATE The project builds are not visible to the
-- public.
--
newtype ProjectVisibilityType
ProjectVisibilityType' :: Text -> ProjectVisibilityType
[fromProjectVisibilityType] :: ProjectVisibilityType -> Text
pattern ProjectVisibilityType_PRIVATE :: ProjectVisibilityType
pattern ProjectVisibilityType_PUBLIC_READ :: ProjectVisibilityType
newtype ReportCodeCoverageSortByType
ReportCodeCoverageSortByType' :: Text -> ReportCodeCoverageSortByType
[fromReportCodeCoverageSortByType] :: ReportCodeCoverageSortByType -> Text
pattern ReportCodeCoverageSortByType_FILE_PATH :: ReportCodeCoverageSortByType
pattern ReportCodeCoverageSortByType_LINE_COVERAGE_PERCENTAGE :: ReportCodeCoverageSortByType
newtype ReportExportConfigType
ReportExportConfigType' :: Text -> ReportExportConfigType
[fromReportExportConfigType] :: ReportExportConfigType -> Text
pattern ReportExportConfigType_NO_EXPORT :: ReportExportConfigType
pattern ReportExportConfigType_S3 :: ReportExportConfigType
newtype ReportGroupSortByType
ReportGroupSortByType' :: Text -> ReportGroupSortByType
[fromReportGroupSortByType] :: ReportGroupSortByType -> Text
pattern ReportGroupSortByType_CREATED_TIME :: ReportGroupSortByType
pattern ReportGroupSortByType_LAST_MODIFIED_TIME :: ReportGroupSortByType
pattern ReportGroupSortByType_NAME :: ReportGroupSortByType
newtype ReportGroupStatusType
ReportGroupStatusType' :: Text -> ReportGroupStatusType
[fromReportGroupStatusType] :: ReportGroupStatusType -> Text
pattern ReportGroupStatusType_ACTIVE :: ReportGroupStatusType
pattern ReportGroupStatusType_DELETING :: ReportGroupStatusType
newtype ReportGroupTrendFieldType
ReportGroupTrendFieldType' :: Text -> ReportGroupTrendFieldType
[fromReportGroupTrendFieldType] :: ReportGroupTrendFieldType -> Text
pattern ReportGroupTrendFieldType_BRANCHES_COVERED :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_BRANCHES_MISSED :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_BRANCH_COVERAGE :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_DURATION :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_LINES_COVERED :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_LINES_MISSED :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_LINE_COVERAGE :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_PASS_RATE :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_TOTAL :: ReportGroupTrendFieldType
newtype ReportPackagingType
ReportPackagingType' :: Text -> ReportPackagingType
[fromReportPackagingType] :: ReportPackagingType -> Text
pattern ReportPackagingType_NONE :: ReportPackagingType
pattern ReportPackagingType_ZIP :: ReportPackagingType
newtype ReportStatusType
ReportStatusType' :: Text -> ReportStatusType
[fromReportStatusType] :: ReportStatusType -> Text
pattern ReportStatusType_DELETING :: ReportStatusType
pattern ReportStatusType_FAILED :: ReportStatusType
pattern ReportStatusType_GENERATING :: ReportStatusType
pattern ReportStatusType_INCOMPLETE :: ReportStatusType
pattern ReportStatusType_SUCCEEDED :: ReportStatusType
newtype ReportType
ReportType' :: Text -> ReportType
[fromReportType] :: ReportType -> Text
pattern ReportType_CODE_COVERAGE :: ReportType
pattern ReportType_TEST :: ReportType
newtype RetryBuildBatchType
RetryBuildBatchType' :: Text -> RetryBuildBatchType
[fromRetryBuildBatchType] :: RetryBuildBatchType -> Text
pattern RetryBuildBatchType_RETRY_ALL_BUILDS :: RetryBuildBatchType
pattern RetryBuildBatchType_RETRY_FAILED_BUILDS :: RetryBuildBatchType
newtype ServerType
ServerType' :: Text -> ServerType
[fromServerType] :: ServerType -> Text
pattern ServerType_BITBUCKET :: ServerType
pattern ServerType_GITHUB :: ServerType
pattern ServerType_GITHUB_ENTERPRISE :: ServerType
newtype SharedResourceSortByType
SharedResourceSortByType' :: Text -> SharedResourceSortByType
[fromSharedResourceSortByType] :: SharedResourceSortByType -> Text
pattern SharedResourceSortByType_ARN :: SharedResourceSortByType
pattern SharedResourceSortByType_MODIFIED_TIME :: SharedResourceSortByType
newtype SortOrderType
SortOrderType' :: Text -> SortOrderType
[fromSortOrderType] :: SortOrderType -> Text
pattern SortOrderType_ASCENDING :: SortOrderType
pattern SortOrderType_DESCENDING :: SortOrderType
newtype SourceAuthType
SourceAuthType' :: Text -> SourceAuthType
[fromSourceAuthType] :: SourceAuthType -> Text
pattern SourceAuthType_OAUTH :: SourceAuthType
newtype SourceType
SourceType' :: Text -> SourceType
[fromSourceType] :: SourceType -> Text
pattern SourceType_BITBUCKET :: SourceType
pattern SourceType_CODECOMMIT :: SourceType
pattern SourceType_CODEPIPELINE :: SourceType
pattern SourceType_GITHUB :: SourceType
pattern SourceType_GITHUB_ENTERPRISE :: SourceType
pattern SourceType_NO_SOURCE :: SourceType
pattern SourceType_S3 :: SourceType
newtype StatusType
StatusType' :: Text -> StatusType
[fromStatusType] :: StatusType -> Text
pattern StatusType_FAILED :: StatusType
pattern StatusType_FAULT :: StatusType
pattern StatusType_IN_PROGRESS :: StatusType
pattern StatusType_STOPPED :: StatusType
pattern StatusType_SUCCEEDED :: StatusType
pattern StatusType_TIMED_OUT :: StatusType
newtype WebhookBuildType
WebhookBuildType' :: Text -> WebhookBuildType
[fromWebhookBuildType] :: WebhookBuildType -> Text
pattern WebhookBuildType_BUILD :: WebhookBuildType
pattern WebhookBuildType_BUILD_BATCH :: WebhookBuildType
newtype WebhookFilterType
WebhookFilterType' :: Text -> WebhookFilterType
[fromWebhookFilterType] :: WebhookFilterType -> Text
pattern WebhookFilterType_ACTOR_ACCOUNT_ID :: WebhookFilterType
pattern WebhookFilterType_BASE_REF :: WebhookFilterType
pattern WebhookFilterType_COMMIT_MESSAGE :: WebhookFilterType
pattern WebhookFilterType_EVENT :: WebhookFilterType
pattern WebhookFilterType_FILE_PATH :: WebhookFilterType
pattern WebhookFilterType_HEAD_REF :: WebhookFilterType
-- | Specifies restrictions for the batch build.
--
-- See: newBatchRestrictions smart constructor.
data BatchRestrictions
BatchRestrictions' :: Maybe [Text] -> Maybe Int -> BatchRestrictions
-- | An array of strings that specify the compute types that are allowed
-- for the batch build. See Build environment compute types in the
-- CodeBuild User Guide for these values.
[$sel:computeTypesAllowed:BatchRestrictions'] :: BatchRestrictions -> Maybe [Text]
-- | Specifies the maximum number of builds allowed.
[$sel:maximumBuildsAllowed:BatchRestrictions'] :: BatchRestrictions -> Maybe Int
-- | Create a value of BatchRestrictions with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:computeTypesAllowed:BatchRestrictions',
-- batchRestrictions_computeTypesAllowed - An array of strings
-- that specify the compute types that are allowed for the batch build.
-- See Build environment compute types in the CodeBuild User
-- Guide for these values.
--
-- $sel:maximumBuildsAllowed:BatchRestrictions',
-- batchRestrictions_maximumBuildsAllowed - Specifies the maximum
-- number of builds allowed.
newBatchRestrictions :: BatchRestrictions
-- | An array of strings that specify the compute types that are allowed
-- for the batch build. See Build environment compute types in the
-- CodeBuild User Guide for these values.
batchRestrictions_computeTypesAllowed :: Lens' BatchRestrictions (Maybe [Text])
-- | Specifies the maximum number of builds allowed.
batchRestrictions_maximumBuildsAllowed :: Lens' BatchRestrictions (Maybe Int)
-- | Information about a build.
--
-- See: newBuild smart constructor.
data Build
Build' :: Maybe Text -> Maybe BuildArtifacts -> Maybe Text -> Maybe Bool -> Maybe Integer -> Maybe StatusType -> Maybe ProjectCache -> Maybe Text -> Maybe DebugSession -> Maybe Text -> Maybe POSIX -> Maybe ProjectEnvironment -> Maybe [ExportedEnvironmentVariable] -> Maybe [ProjectFileSystemLocation] -> Maybe Text -> Maybe Text -> Maybe LogsLocation -> Maybe NetworkInterface -> Maybe [BuildPhase] -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe Text -> Maybe [BuildArtifacts] -> Maybe [ProjectSourceVersion] -> Maybe [ProjectSource] -> Maybe Text -> Maybe ProjectSource -> Maybe Text -> Maybe POSIX -> Maybe Int -> Maybe VpcConfig -> Build
-- | The Amazon Resource Name (ARN) of the build.
[$sel:arn:Build'] :: Build -> Maybe Text
-- | Information about the output artifacts for the build.
[$sel:artifacts:Build'] :: Build -> Maybe BuildArtifacts
-- | The ARN of the batch build that this build is a member of, if
-- applicable.
[$sel:buildBatchArn:Build'] :: Build -> Maybe Text
-- | Whether the build is complete. True if complete; otherwise, false.
[$sel:buildComplete:Build'] :: Build -> Maybe Bool
-- | The number of the build. For each project, the buildNumber of
-- its first build is 1. The buildNumber of each
-- subsequent build is incremented by 1. If a build is deleted,
-- the buildNumber of other builds does not change.
[$sel:buildNumber:Build'] :: Build -> Maybe Integer
-- | 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.
--
[$sel:buildStatus:Build'] :: Build -> Maybe StatusType
-- | Information about the cache for the build.
[$sel:cache:Build'] :: Build -> Maybe ProjectCache
-- | The current build phase.
[$sel:currentPhase:Build'] :: Build -> Maybe Text
-- | Contains information about the debug session for this build.
[$sel:debugSession:Build'] :: Build -> Maybe DebugSession
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
[$sel:encryptionKey:Build'] :: Build -> Maybe Text
-- | When the build process ended, expressed in Unix time format.
[$sel:endTime:Build'] :: Build -> Maybe POSIX
-- | Information about the build environment for this build.
[$sel:environment:Build'] :: Build -> Maybe ProjectEnvironment
-- | A list of exported environment variables for this build.
--
-- Exported environment variables are used in conjunction with
-- CodePipeline to export environment variables from the current build
-- stage to subsequent stages in the pipeline. For more information, see
-- Working with variables in the CodePipeline User Guide.
[$sel:exportedEnvironmentVariables:Build'] :: Build -> Maybe [ExportedEnvironmentVariable]
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
[$sel:fileSystemLocations:Build'] :: Build -> Maybe [ProjectFileSystemLocation]
-- | The unique ID for the build.
[$sel:id:Build'] :: Build -> Maybe Text
-- | The entity that started the build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name (for example,
-- MyUserName).
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
[$sel:initiator:Build'] :: Build -> Maybe Text
-- | Information about the build's logs in CloudWatch Logs.
[$sel:logs:Build'] :: Build -> Maybe LogsLocation
-- | Describes a network interface.
[$sel:networkInterface:Build'] :: Build -> Maybe NetworkInterface
-- | Information about all previous build phases that are complete and
-- information about any current build phase that is not yet complete.
[$sel:phases:Build'] :: Build -> Maybe [BuildPhase]
-- | The name of the CodeBuild project.
[$sel:projectName:Build'] :: Build -> Maybe Text
-- | The number of minutes a build is allowed to be queued before it times
-- out.
[$sel:queuedTimeoutInMinutes:Build'] :: Build -> Maybe Int
-- | An array of the ARNs associated with this build's reports.
[$sel:reportArns:Build'] :: Build -> Maybe [Text]
-- | An identifier for the version of this build's source code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
[$sel:resolvedSourceVersion:Build'] :: Build -> Maybe Text
-- | An array of ProjectArtifacts objects.
[$sel:secondaryArtifacts:Build'] :: Build -> Maybe [BuildArtifacts]
-- | An array of ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
[$sel:secondarySourceVersions:Build'] :: Build -> Maybe [ProjectSourceVersion]
-- | An array of ProjectSource objects.
[$sel:secondarySources:Build'] :: Build -> Maybe [ProjectSource]
-- | The name of a service role used for this build.
[$sel:serviceRole:Build'] :: Build -> Maybe Text
-- | Information about the source code to be built.
[$sel:source:Build'] :: Build -> Maybe ProjectSource
-- | Any version identifier for the version of the source code to be built.
-- If sourceVersion is specified at the project level, then this
-- sourceVersion (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
[$sel:sourceVersion:Build'] :: Build -> Maybe Text
-- | When the build process started, expressed in Unix time format.
[$sel:startTime:Build'] :: Build -> Maybe POSIX
-- | How long, in minutes, for CodeBuild to wait before timing out this
-- build if it does not get marked as completed.
[$sel:timeoutInMinutes:Build'] :: Build -> Maybe Int
-- | If your 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.
[$sel:vpcConfig:Build'] :: Build -> Maybe VpcConfig
-- | Create a value of Build with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:Build', build_arn - The Amazon Resource Name
-- (ARN) of the build.
--
-- $sel:artifacts:Build', build_artifacts - Information
-- about the output artifacts for the build.
--
-- $sel:buildBatchArn:Build', build_buildBatchArn - The ARN
-- of the batch build that this build is a member of, if applicable.
--
-- $sel:buildComplete:Build', build_buildComplete - Whether
-- the build is complete. True if complete; otherwise, false.
--
-- $sel:buildNumber:Build', build_buildNumber - The number
-- of the build. For each project, the buildNumber of its first
-- build is 1. The buildNumber of each subsequent build
-- is incremented by 1. If a build is deleted, the
-- buildNumber of other builds does not change.
--
-- $sel:buildStatus:Build', build_buildStatus - 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.
--
--
-- $sel:cache:Build', build_cache - Information about the
-- cache for the build.
--
-- $sel:currentPhase:Build', build_currentPhase - The
-- current build phase.
--
-- $sel:debugSession:Build', build_debugSession - Contains
-- information about the debug session for this build.
--
-- $sel:encryptionKey:Build', build_encryptionKey - The Key
-- Management Service customer master key (CMK) to be used for encrypting
-- the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
--
-- Build, build_endTime - When the build process ended,
-- expressed in Unix time format.
--
-- $sel:environment:Build', build_environment - Information
-- about the build environment for this build.
--
-- $sel:exportedEnvironmentVariables:Build',
-- build_exportedEnvironmentVariables - A list of exported
-- environment variables for this build.
--
-- Exported environment variables are used in conjunction with
-- CodePipeline to export environment variables from the current build
-- stage to subsequent stages in the pipeline. For more information, see
-- Working with variables in the CodePipeline User Guide.
--
-- $sel:fileSystemLocations:Build',
-- build_fileSystemLocations - An array of
-- ProjectFileSystemLocation objects for a CodeBuild build
-- project. A ProjectFileSystemLocation object specifies the
-- identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
--
-- $sel:id:Build', build_id - The unique ID for the build.
--
-- $sel:initiator:Build', build_initiator - The entity that
-- started the build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name (for example,
-- MyUserName).
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
--
-- $sel:logs:Build', build_logs - Information about the
-- build's logs in CloudWatch Logs.
--
-- $sel:networkInterface:Build', build_networkInterface -
-- Describes a network interface.
--
-- $sel:phases:Build', build_phases - Information about all
-- previous build phases that are complete and information about any
-- current build phase that is not yet complete.
--
-- $sel:projectName:Build', build_projectName - The name of
-- the CodeBuild project.
--
-- $sel:queuedTimeoutInMinutes:Build',
-- build_queuedTimeoutInMinutes - The number of minutes a build is
-- allowed to be queued before it times out.
--
-- $sel:reportArns:Build', build_reportArns - An array of
-- the ARNs associated with this build's reports.
--
-- $sel:resolvedSourceVersion:Build',
-- build_resolvedSourceVersion - An identifier for the version of
-- this build's source code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
--
-- $sel:secondaryArtifacts:Build', build_secondaryArtifacts
-- - An array of ProjectArtifacts objects.
--
-- $sel:secondarySourceVersions:Build',
-- build_secondarySourceVersions - An array of
-- ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- $sel:secondarySources:Build', build_secondarySources -
-- An array of ProjectSource objects.
--
-- $sel:serviceRole:Build', build_serviceRole - The name of
-- a service role used for this build.
--
-- $sel:source:Build', build_source - Information about the
-- source code to be built.
--
-- Build, build_sourceVersion - Any version identifier for
-- the version of the source code to be built. If sourceVersion
-- is specified at the project level, then this sourceVersion
-- (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
--
-- Build, build_startTime - When the build process started,
-- expressed in Unix time format.
--
-- $sel:timeoutInMinutes:Build', build_timeoutInMinutes -
-- How long, in minutes, for CodeBuild to wait before timing out this
-- build if it does not get marked as completed.
--
-- $sel:vpcConfig:Build', build_vpcConfig - If your
-- 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.
newBuild :: Build
-- | The Amazon Resource Name (ARN) of the build.
build_arn :: Lens' Build (Maybe Text)
-- | Information about the output artifacts for the build.
build_artifacts :: Lens' Build (Maybe BuildArtifacts)
-- | The ARN of the batch build that this build is a member of, if
-- applicable.
build_buildBatchArn :: Lens' Build (Maybe Text)
-- | Whether the build is complete. True if complete; otherwise, false.
build_buildComplete :: Lens' Build (Maybe Bool)
-- | The number of the build. For each project, the buildNumber of
-- its first build is 1. The buildNumber of each
-- subsequent build is incremented by 1. If a build is deleted,
-- the buildNumber of other builds does not change.
build_buildNumber :: Lens' Build (Maybe Integer)
-- | 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.
--
build_buildStatus :: Lens' Build (Maybe StatusType)
-- | Information about the cache for the build.
build_cache :: Lens' Build (Maybe ProjectCache)
-- | The current build phase.
build_currentPhase :: Lens' Build (Maybe Text)
-- | Contains information about the debug session for this build.
build_debugSession :: Lens' Build (Maybe DebugSession)
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
build_encryptionKey :: Lens' Build (Maybe Text)
-- | When the build process ended, expressed in Unix time format.
build_endTime :: Lens' Build (Maybe UTCTime)
-- | Information about the build environment for this build.
build_environment :: Lens' Build (Maybe ProjectEnvironment)
-- | A list of exported environment variables for this build.
--
-- Exported environment variables are used in conjunction with
-- CodePipeline to export environment variables from the current build
-- stage to subsequent stages in the pipeline. For more information, see
-- Working with variables in the CodePipeline User Guide.
build_exportedEnvironmentVariables :: Lens' Build (Maybe [ExportedEnvironmentVariable])
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
build_fileSystemLocations :: Lens' Build (Maybe [ProjectFileSystemLocation])
-- | The unique ID for the build.
build_id :: Lens' Build (Maybe Text)
-- | The entity that started the build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name (for example,
-- MyUserName).
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
build_initiator :: Lens' Build (Maybe Text)
-- | Information about the build's logs in CloudWatch Logs.
build_logs :: Lens' Build (Maybe LogsLocation)
-- | Describes a network interface.
build_networkInterface :: Lens' Build (Maybe NetworkInterface)
-- | Information about all previous build phases that are complete and
-- information about any current build phase that is not yet complete.
build_phases :: Lens' Build (Maybe [BuildPhase])
-- | The name of the CodeBuild project.
build_projectName :: Lens' Build (Maybe Text)
-- | The number of minutes a build is allowed to be queued before it times
-- out.
build_queuedTimeoutInMinutes :: Lens' Build (Maybe Int)
-- | An array of the ARNs associated with this build's reports.
build_reportArns :: Lens' Build (Maybe [Text])
-- | An identifier for the version of this build's source code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
build_resolvedSourceVersion :: Lens' Build (Maybe Text)
-- | An array of ProjectArtifacts objects.
build_secondaryArtifacts :: Lens' Build (Maybe [BuildArtifacts])
-- | An array of ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
build_secondarySourceVersions :: Lens' Build (Maybe [ProjectSourceVersion])
-- | An array of ProjectSource objects.
build_secondarySources :: Lens' Build (Maybe [ProjectSource])
-- | The name of a service role used for this build.
build_serviceRole :: Lens' Build (Maybe Text)
-- | Information about the source code to be built.
build_source :: Lens' Build (Maybe ProjectSource)
-- | Any version identifier for the version of the source code to be built.
-- If sourceVersion is specified at the project level, then this
-- sourceVersion (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
build_sourceVersion :: Lens' Build (Maybe Text)
-- | When the build process started, expressed in Unix time format.
build_startTime :: Lens' Build (Maybe UTCTime)
-- | How long, in minutes, for CodeBuild to wait before timing out this
-- build if it does not get marked as completed.
build_timeoutInMinutes :: Lens' Build (Maybe Int)
-- | If your 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.
build_vpcConfig :: Lens' Build (Maybe VpcConfig)
-- | Information about build output artifacts.
--
-- See: newBuildArtifacts smart constructor.
data BuildArtifacts
BuildArtifacts' :: Maybe Text -> Maybe BucketOwnerAccess -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> BuildArtifacts
-- | An identifier for this artifact definition.
[$sel:artifactIdentifier:BuildArtifacts'] :: BuildArtifacts -> Maybe Text
[$sel:bucketOwnerAccess:BuildArtifacts'] :: BuildArtifacts -> Maybe BucketOwnerAccess
-- | Information that tells you if encryption for build artifacts is
-- disabled.
[$sel:encryptionDisabled:BuildArtifacts'] :: BuildArtifacts -> Maybe Bool
-- | Information about the location of the build artifacts.
[$sel:location:BuildArtifacts'] :: BuildArtifacts -> Maybe Text
-- | The MD5 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
[$sel:md5sum:BuildArtifacts'] :: BuildArtifacts -> Maybe Text
-- | If this flag is set, a name specified in the buildspec file overrides
-- the artifact name. The name specified in a buildspec file is
-- calculated at build time and uses the Shell Command Language. For
-- example, you can append a date and time to your artifact name so that
-- it is always unique.
[$sel:overrideArtifactName:BuildArtifacts'] :: BuildArtifacts -> Maybe Bool
-- | The SHA-256 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
[$sel:sha256sum:BuildArtifacts'] :: BuildArtifacts -> Maybe Text
-- | Create a value of BuildArtifacts with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:artifactIdentifier:BuildArtifacts',
-- buildArtifacts_artifactIdentifier - An identifier for this
-- artifact definition.
--
-- $sel:bucketOwnerAccess:BuildArtifacts',
-- buildArtifacts_bucketOwnerAccess - Undocumented member.
--
-- $sel:encryptionDisabled:BuildArtifacts',
-- buildArtifacts_encryptionDisabled - Information that tells you
-- if encryption for build artifacts is disabled.
--
-- $sel:location:BuildArtifacts', buildArtifacts_location -
-- Information about the location of the build artifacts.
--
-- $sel:md5sum:BuildArtifacts', buildArtifacts_md5sum - The
-- MD5 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
--
-- $sel:overrideArtifactName:BuildArtifacts',
-- buildArtifacts_overrideArtifactName - If this flag is set, a
-- name specified in the buildspec file overrides the artifact name. The
-- name specified in a buildspec file is calculated at build time and
-- uses the Shell Command Language. For example, you can append a date
-- and time to your artifact name so that it is always unique.
--
-- $sel:sha256sum:BuildArtifacts', buildArtifacts_sha256sum
-- - The SHA-256 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
newBuildArtifacts :: BuildArtifacts
-- | An identifier for this artifact definition.
buildArtifacts_artifactIdentifier :: Lens' BuildArtifacts (Maybe Text)
-- | Undocumented member.
buildArtifacts_bucketOwnerAccess :: Lens' BuildArtifacts (Maybe BucketOwnerAccess)
-- | Information that tells you if encryption for build artifacts is
-- disabled.
buildArtifacts_encryptionDisabled :: Lens' BuildArtifacts (Maybe Bool)
-- | Information about the location of the build artifacts.
buildArtifacts_location :: Lens' BuildArtifacts (Maybe Text)
-- | The MD5 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
buildArtifacts_md5sum :: Lens' BuildArtifacts (Maybe Text)
-- | If this flag is set, a name specified in the buildspec file overrides
-- the artifact name. The name specified in a buildspec file is
-- calculated at build time and uses the Shell Command Language. For
-- example, you can append a date and time to your artifact name so that
-- it is always unique.
buildArtifacts_overrideArtifactName :: Lens' BuildArtifacts (Maybe Bool)
-- | The SHA-256 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
buildArtifacts_sha256sum :: Lens' BuildArtifacts (Maybe Text)
-- | Contains information about a batch build.
--
-- See: newBuildBatch smart constructor.
data BuildBatch
BuildBatch' :: Maybe Text -> Maybe BuildArtifacts -> Maybe ProjectBuildBatchConfig -> Maybe Integer -> Maybe StatusType -> Maybe [BuildGroup] -> Maybe Int -> Maybe ProjectCache -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe POSIX -> Maybe ProjectEnvironment -> Maybe [ProjectFileSystemLocation] -> Maybe Text -> Maybe Text -> Maybe LogsConfig -> Maybe [BuildBatchPhase] -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe [BuildArtifacts] -> Maybe [ProjectSourceVersion] -> Maybe [ProjectSource] -> Maybe Text -> Maybe ProjectSource -> Maybe Text -> Maybe POSIX -> Maybe VpcConfig -> BuildBatch
-- | The ARN of the batch build.
[$sel:arn:BuildBatch'] :: BuildBatch -> Maybe Text
-- | A BuildArtifacts object the defines the build artifacts for
-- this batch build.
[$sel:artifacts:BuildBatch'] :: BuildBatch -> Maybe BuildArtifacts
[$sel:buildBatchConfig:BuildBatch'] :: BuildBatch -> Maybe ProjectBuildBatchConfig
-- | The number of the batch build. For each project, the
-- buildBatchNumber of its first batch build is 1. The
-- buildBatchNumber of each subsequent batch build is
-- incremented by 1. If a batch build is deleted, the
-- buildBatchNumber of other batch builds does not change.
[$sel:buildBatchNumber:BuildBatch'] :: BuildBatch -> Maybe Integer
-- | The status of the batch build.
[$sel:buildBatchStatus:BuildBatch'] :: BuildBatch -> Maybe StatusType
-- | An array of BuildGroup objects that define the build groups
-- for the batch build.
[$sel:buildGroups:BuildBatch'] :: BuildBatch -> Maybe [BuildGroup]
-- | Specifies the maximum amount of time, in minutes, that the build in a
-- batch must be completed in.
[$sel:buildTimeoutInMinutes:BuildBatch'] :: BuildBatch -> Maybe Int
[$sel:cache:BuildBatch'] :: BuildBatch -> Maybe ProjectCache
-- | Indicates if the batch build is complete.
[$sel:complete:BuildBatch'] :: BuildBatch -> Maybe Bool
-- | The current phase of the batch build.
[$sel:currentPhase:BuildBatch'] :: BuildBatch -> Maybe Text
-- | Specifies if session debugging is enabled for this batch build. For
-- more information, see Viewing a running build in Session
-- Manager. Batch session debugging is not supported for matrix batch
-- builds.
[$sel:debugSessionEnabled:BuildBatch'] :: BuildBatch -> Maybe Bool
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the batch build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
[$sel:encryptionKey:BuildBatch'] :: BuildBatch -> Maybe Text
-- | The date and time that the batch build ended.
[$sel:endTime:BuildBatch'] :: BuildBatch -> Maybe POSIX
[$sel:environment:BuildBatch'] :: BuildBatch -> Maybe ProjectEnvironment
-- | An array of ProjectFileSystemLocation objects for the batch
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
[$sel:fileSystemLocations:BuildBatch'] :: BuildBatch -> Maybe [ProjectFileSystemLocation]
-- | The identifier of the batch build.
[$sel:id:BuildBatch'] :: BuildBatch -> Maybe Text
-- | The entity that started the batch build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name.
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
[$sel:initiator:BuildBatch'] :: BuildBatch -> Maybe Text
[$sel:logConfig:BuildBatch'] :: BuildBatch -> Maybe LogsConfig
-- | An array of BuildBatchPhase objects the specify the phases of
-- the batch build.
[$sel:phases:BuildBatch'] :: BuildBatch -> Maybe [BuildBatchPhase]
-- | The name of the batch build project.
[$sel:projectName:BuildBatch'] :: BuildBatch -> Maybe Text
-- | Specifies the amount of time, in minutes, that the batch build is
-- allowed to be queued before it times out.
[$sel:queuedTimeoutInMinutes:BuildBatch'] :: BuildBatch -> Maybe Int
-- | The identifier of the resolved version of this batch build's source
-- code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
[$sel:resolvedSourceVersion:BuildBatch'] :: BuildBatch -> Maybe Text
-- | An array of BuildArtifacts objects the define the build
-- artifacts for this batch build.
[$sel:secondaryArtifacts:BuildBatch'] :: BuildBatch -> Maybe [BuildArtifacts]
-- | An array of ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
[$sel:secondarySourceVersions:BuildBatch'] :: BuildBatch -> Maybe [ProjectSourceVersion]
-- | An array of ProjectSource objects that define the sources for
-- the batch build.
[$sel:secondarySources:BuildBatch'] :: BuildBatch -> Maybe [ProjectSource]
-- | The name of a service role used for builds in the batch.
[$sel:serviceRole:BuildBatch'] :: BuildBatch -> Maybe Text
[$sel:source:BuildBatch'] :: BuildBatch -> Maybe ProjectSource
-- | The identifier of the version of the source code to be built.
[$sel:sourceVersion:BuildBatch'] :: BuildBatch -> Maybe Text
-- | The date and time that the batch build started.
[$sel:startTime:BuildBatch'] :: BuildBatch -> Maybe POSIX
[$sel:vpcConfig:BuildBatch'] :: BuildBatch -> Maybe VpcConfig
-- | Create a value of BuildBatch with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:BuildBatch', buildBatch_arn - The ARN of the
-- batch build.
--
-- $sel:artifacts:BuildBatch', buildBatch_artifacts - A
-- BuildArtifacts object the defines the build artifacts for
-- this batch build.
--
-- $sel:buildBatchConfig:BuildBatch',
-- buildBatch_buildBatchConfig - Undocumented member.
--
-- $sel:buildBatchNumber:BuildBatch',
-- buildBatch_buildBatchNumber - The number of the batch build.
-- For each project, the buildBatchNumber of its first batch
-- build is 1. The buildBatchNumber of each subsequent
-- batch build is incremented by 1. If a batch build is deleted,
-- the buildBatchNumber of other batch builds does not change.
--
-- $sel:buildBatchStatus:BuildBatch',
-- buildBatch_buildBatchStatus - The status of the batch build.
--
-- $sel:buildGroups:BuildBatch', buildBatch_buildGroups -
-- An array of BuildGroup objects that define the build groups
-- for the batch build.
--
-- $sel:buildTimeoutInMinutes:BuildBatch',
-- buildBatch_buildTimeoutInMinutes - Specifies the maximum amount
-- of time, in minutes, that the build in a batch must be completed in.
--
-- $sel:cache:BuildBatch', buildBatch_cache - Undocumented
-- member.
--
-- $sel:complete:BuildBatch', buildBatch_complete -
-- Indicates if the batch build is complete.
--
-- $sel:currentPhase:BuildBatch', buildBatch_currentPhase -
-- The current phase of the batch build.
--
-- $sel:debugSessionEnabled:BuildBatch',
-- buildBatch_debugSessionEnabled - Specifies if session debugging
-- is enabled for this batch build. For more information, see Viewing
-- a running build in Session Manager. Batch session debugging is not
-- supported for matrix batch builds.
--
-- $sel:encryptionKey:BuildBatch', buildBatch_encryptionKey
-- - The Key Management Service customer master key (CMK) to be used for
-- encrypting the batch build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
--
-- BuildBatch, buildBatch_endTime - The date and time that
-- the batch build ended.
--
-- $sel:environment:BuildBatch', buildBatch_environment -
-- Undocumented member.
--
-- $sel:fileSystemLocations:BuildBatch',
-- buildBatch_fileSystemLocations - An array of
-- ProjectFileSystemLocation objects for the batch build
-- project. A ProjectFileSystemLocation object specifies the
-- identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
--
-- $sel:id:BuildBatch', buildBatch_id - The identifier of
-- the batch build.
--
-- $sel:initiator:BuildBatch', buildBatch_initiator - The
-- entity that started the batch build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name.
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
--
-- $sel:logConfig:BuildBatch', buildBatch_logConfig -
-- Undocumented member.
--
-- $sel:phases:BuildBatch', buildBatch_phases - An array of
-- BuildBatchPhase objects the specify the phases of the batch
-- build.
--
-- $sel:projectName:BuildBatch', buildBatch_projectName -
-- The name of the batch build project.
--
-- $sel:queuedTimeoutInMinutes:BuildBatch',
-- buildBatch_queuedTimeoutInMinutes - Specifies the amount of
-- time, in minutes, that the batch build is allowed to be queued before
-- it times out.
--
-- $sel:resolvedSourceVersion:BuildBatch',
-- buildBatch_resolvedSourceVersion - The identifier of the
-- resolved version of this batch build's source code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
--
-- $sel:secondaryArtifacts:BuildBatch',
-- buildBatch_secondaryArtifacts - An array of
-- BuildArtifacts objects the define the build artifacts for
-- this batch build.
--
-- $sel:secondarySourceVersions:BuildBatch',
-- buildBatch_secondarySourceVersions - An array of
-- ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- $sel:secondarySources:BuildBatch',
-- buildBatch_secondarySources - An array of
-- ProjectSource objects that define the sources for the batch
-- build.
--
-- BuildBatch, buildBatch_serviceRole - The name of a
-- service role used for builds in the batch.
--
-- $sel:source:BuildBatch', buildBatch_source -
-- Undocumented member.
--
-- BuildBatch, buildBatch_sourceVersion - The identifier of
-- the version of the source code to be built.
--
-- BuildBatch, buildBatch_startTime - The date and time
-- that the batch build started.
--
-- $sel:vpcConfig:BuildBatch', buildBatch_vpcConfig -
-- Undocumented member.
newBuildBatch :: BuildBatch
-- | The ARN of the batch build.
buildBatch_arn :: Lens' BuildBatch (Maybe Text)
-- | A BuildArtifacts object the defines the build artifacts for
-- this batch build.
buildBatch_artifacts :: Lens' BuildBatch (Maybe BuildArtifacts)
-- | Undocumented member.
buildBatch_buildBatchConfig :: Lens' BuildBatch (Maybe ProjectBuildBatchConfig)
-- | The number of the batch build. For each project, the
-- buildBatchNumber of its first batch build is 1. The
-- buildBatchNumber of each subsequent batch build is
-- incremented by 1. If a batch build is deleted, the
-- buildBatchNumber of other batch builds does not change.
buildBatch_buildBatchNumber :: Lens' BuildBatch (Maybe Integer)
-- | The status of the batch build.
buildBatch_buildBatchStatus :: Lens' BuildBatch (Maybe StatusType)
-- | An array of BuildGroup objects that define the build groups
-- for the batch build.
buildBatch_buildGroups :: Lens' BuildBatch (Maybe [BuildGroup])
-- | Specifies the maximum amount of time, in minutes, that the build in a
-- batch must be completed in.
buildBatch_buildTimeoutInMinutes :: Lens' BuildBatch (Maybe Int)
-- | Undocumented member.
buildBatch_cache :: Lens' BuildBatch (Maybe ProjectCache)
-- | Indicates if the batch build is complete.
buildBatch_complete :: Lens' BuildBatch (Maybe Bool)
-- | The current phase of the batch build.
buildBatch_currentPhase :: Lens' BuildBatch (Maybe Text)
-- | Specifies if session debugging is enabled for this batch build. For
-- more information, see Viewing a running build in Session
-- Manager. Batch session debugging is not supported for matrix batch
-- builds.
buildBatch_debugSessionEnabled :: Lens' BuildBatch (Maybe Bool)
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the batch build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
buildBatch_encryptionKey :: Lens' BuildBatch (Maybe Text)
-- | The date and time that the batch build ended.
buildBatch_endTime :: Lens' BuildBatch (Maybe UTCTime)
-- | Undocumented member.
buildBatch_environment :: Lens' BuildBatch (Maybe ProjectEnvironment)
-- | An array of ProjectFileSystemLocation objects for the batch
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
buildBatch_fileSystemLocations :: Lens' BuildBatch (Maybe [ProjectFileSystemLocation])
-- | The identifier of the batch build.
buildBatch_id :: Lens' BuildBatch (Maybe Text)
-- | The entity that started the batch build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name.
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
buildBatch_initiator :: Lens' BuildBatch (Maybe Text)
-- | Undocumented member.
buildBatch_logConfig :: Lens' BuildBatch (Maybe LogsConfig)
-- | An array of BuildBatchPhase objects the specify the phases of
-- the batch build.
buildBatch_phases :: Lens' BuildBatch (Maybe [BuildBatchPhase])
-- | The name of the batch build project.
buildBatch_projectName :: Lens' BuildBatch (Maybe Text)
-- | Specifies the amount of time, in minutes, that the batch build is
-- allowed to be queued before it times out.
buildBatch_queuedTimeoutInMinutes :: Lens' BuildBatch (Maybe Int)
-- | The identifier of the resolved version of this batch build's source
-- code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
buildBatch_resolvedSourceVersion :: Lens' BuildBatch (Maybe Text)
-- | An array of BuildArtifacts objects the define the build
-- artifacts for this batch build.
buildBatch_secondaryArtifacts :: Lens' BuildBatch (Maybe [BuildArtifacts])
-- | An array of ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
buildBatch_secondarySourceVersions :: Lens' BuildBatch (Maybe [ProjectSourceVersion])
-- | An array of ProjectSource objects that define the sources for
-- the batch build.
buildBatch_secondarySources :: Lens' BuildBatch (Maybe [ProjectSource])
-- | The name of a service role used for builds in the batch.
buildBatch_serviceRole :: Lens' BuildBatch (Maybe Text)
-- | Undocumented member.
buildBatch_source :: Lens' BuildBatch (Maybe ProjectSource)
-- | The identifier of the version of the source code to be built.
buildBatch_sourceVersion :: Lens' BuildBatch (Maybe Text)
-- | The date and time that the batch build started.
buildBatch_startTime :: Lens' BuildBatch (Maybe UTCTime)
-- | Undocumented member.
buildBatch_vpcConfig :: Lens' BuildBatch (Maybe VpcConfig)
-- | Specifies filters when retrieving batch builds.
--
-- See: newBuildBatchFilter smart constructor.
data BuildBatchFilter
BuildBatchFilter' :: Maybe StatusType -> BuildBatchFilter
-- | The status of the batch builds to retrieve. Only batch builds that
-- have this status will be retrieved.
[$sel:status:BuildBatchFilter'] :: BuildBatchFilter -> Maybe StatusType
-- | Create a value of BuildBatchFilter with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:status:BuildBatchFilter', buildBatchFilter_status -
-- The status of the batch builds to retrieve. Only batch builds that
-- have this status will be retrieved.
newBuildBatchFilter :: BuildBatchFilter
-- | The status of the batch builds to retrieve. Only batch builds that
-- have this status will be retrieved.
buildBatchFilter_status :: Lens' BuildBatchFilter (Maybe StatusType)
-- | Contains information about a stage for a batch build.
--
-- See: newBuildBatchPhase smart constructor.
data BuildBatchPhase
BuildBatchPhase' :: Maybe [PhaseContext] -> Maybe Integer -> Maybe POSIX -> Maybe StatusType -> Maybe BuildBatchPhaseType -> Maybe POSIX -> BuildBatchPhase
-- | Additional information about the batch build phase. Especially to help
-- troubleshoot a failed batch build.
[$sel:contexts:BuildBatchPhase'] :: BuildBatchPhase -> Maybe [PhaseContext]
-- | How long, in seconds, between the starting and ending times of the
-- batch build's phase.
[$sel:durationInSeconds:BuildBatchPhase'] :: BuildBatchPhase -> Maybe Integer
-- | When the batch build phase ended, expressed in Unix time format.
[$sel:endTime:BuildBatchPhase'] :: BuildBatchPhase -> Maybe POSIX
-- | The current status of the batch 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.
--
[$sel:phaseStatus:BuildBatchPhase'] :: BuildBatchPhase -> Maybe StatusType
-- | The name of the batch build phase. Valid values include:
--
--
-- - COMBINE_ARTIFACTS Build output artifacts are being combined
-- and uploaded to the output location.
-- - DOWNLOAD_BATCHSPEC The batch build specification is being
-- downloaded.
-- - FAILED One or more of the builds failed.
-- - IN_PROGRESS The batch build is in progress.
-- - STOPPED The batch build was stopped.
-- - SUBMITTED The btach build has been submitted.
-- - SUCCEEDED The batch build succeeded.
--
[$sel:phaseType:BuildBatchPhase'] :: BuildBatchPhase -> Maybe BuildBatchPhaseType
-- | When the batch build phase started, expressed in Unix time format.
[$sel:startTime:BuildBatchPhase'] :: BuildBatchPhase -> Maybe POSIX
-- | Create a value of BuildBatchPhase with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:contexts:BuildBatchPhase', buildBatchPhase_contexts
-- - Additional information about the batch build phase. Especially to
-- help troubleshoot a failed batch build.
--
-- $sel:durationInSeconds:BuildBatchPhase',
-- buildBatchPhase_durationInSeconds - How long, in seconds,
-- between the starting and ending times of the batch build's phase.
--
-- $sel:endTime:BuildBatchPhase', buildBatchPhase_endTime -
-- When the batch build phase ended, expressed in Unix time format.
--
-- $sel:phaseStatus:BuildBatchPhase',
-- buildBatchPhase_phaseStatus - The current status of the batch
-- 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.
--
--
-- $sel:phaseType:BuildBatchPhase',
-- buildBatchPhase_phaseType - The name of the batch build phase.
-- Valid values include:
--
--
-- - COMBINE_ARTIFACTS Build output artifacts are being combined
-- and uploaded to the output location.
-- - DOWNLOAD_BATCHSPEC The batch build specification is being
-- downloaded.
-- - FAILED One or more of the builds failed.
-- - IN_PROGRESS The batch build is in progress.
-- - STOPPED The batch build was stopped.
-- - SUBMITTED The btach build has been submitted.
-- - SUCCEEDED The batch build succeeded.
--
--
-- $sel:startTime:BuildBatchPhase',
-- buildBatchPhase_startTime - When the batch build phase started,
-- expressed in Unix time format.
newBuildBatchPhase :: BuildBatchPhase
-- | Additional information about the batch build phase. Especially to help
-- troubleshoot a failed batch build.
buildBatchPhase_contexts :: Lens' BuildBatchPhase (Maybe [PhaseContext])
-- | How long, in seconds, between the starting and ending times of the
-- batch build's phase.
buildBatchPhase_durationInSeconds :: Lens' BuildBatchPhase (Maybe Integer)
-- | When the batch build phase ended, expressed in Unix time format.
buildBatchPhase_endTime :: Lens' BuildBatchPhase (Maybe UTCTime)
-- | The current status of the batch 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.
--
buildBatchPhase_phaseStatus :: Lens' BuildBatchPhase (Maybe StatusType)
-- | The name of the batch build phase. Valid values include:
--
--
-- - COMBINE_ARTIFACTS Build output artifacts are being combined
-- and uploaded to the output location.
-- - DOWNLOAD_BATCHSPEC The batch build specification is being
-- downloaded.
-- - FAILED One or more of the builds failed.
-- - IN_PROGRESS The batch build is in progress.
-- - STOPPED The batch build was stopped.
-- - SUBMITTED The btach build has been submitted.
-- - SUCCEEDED The batch build succeeded.
--
buildBatchPhase_phaseType :: Lens' BuildBatchPhase (Maybe BuildBatchPhaseType)
-- | When the batch build phase started, expressed in Unix time format.
buildBatchPhase_startTime :: Lens' BuildBatchPhase (Maybe UTCTime)
-- | Contains information about a batch build build group. Build groups are
-- used to combine builds that can run in parallel, while still being
-- able to set dependencies on other build groups.
--
-- See: newBuildGroup smart constructor.
data BuildGroup
BuildGroup' :: Maybe BuildSummary -> Maybe [Text] -> Maybe Text -> Maybe Bool -> Maybe [BuildSummary] -> BuildGroup
-- | A BuildSummary object that contains a summary of the current
-- build group.
[$sel:currentBuildSummary:BuildGroup'] :: BuildGroup -> Maybe BuildSummary
-- | An array of strings that contain the identifiers of the build groups
-- that this build group depends on.
[$sel:dependsOn:BuildGroup'] :: BuildGroup -> Maybe [Text]
-- | Contains the identifier of the build group.
[$sel:identifier:BuildGroup'] :: BuildGroup -> Maybe Text
-- | Specifies if failures in this build group can be ignored.
[$sel:ignoreFailure:BuildGroup'] :: BuildGroup -> Maybe Bool
-- | An array of BuildSummary objects that contain summaries of
-- previous build groups.
[$sel:priorBuildSummaryList:BuildGroup'] :: BuildGroup -> Maybe [BuildSummary]
-- | Create a value of BuildGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:currentBuildSummary:BuildGroup',
-- buildGroup_currentBuildSummary - A BuildSummary object
-- that contains a summary of the current build group.
--
-- $sel:dependsOn:BuildGroup', buildGroup_dependsOn - An
-- array of strings that contain the identifiers of the build groups that
-- this build group depends on.
--
-- $sel:identifier:BuildGroup', buildGroup_identifier -
-- Contains the identifier of the build group.
--
-- $sel:ignoreFailure:BuildGroup', buildGroup_ignoreFailure
-- - Specifies if failures in this build group can be ignored.
--
-- $sel:priorBuildSummaryList:BuildGroup',
-- buildGroup_priorBuildSummaryList - An array of
-- BuildSummary objects that contain summaries of previous build
-- groups.
newBuildGroup :: BuildGroup
-- | A BuildSummary object that contains a summary of the current
-- build group.
buildGroup_currentBuildSummary :: Lens' BuildGroup (Maybe BuildSummary)
-- | An array of strings that contain the identifiers of the build groups
-- that this build group depends on.
buildGroup_dependsOn :: Lens' BuildGroup (Maybe [Text])
-- | Contains the identifier of the build group.
buildGroup_identifier :: Lens' BuildGroup (Maybe Text)
-- | Specifies if failures in this build group can be ignored.
buildGroup_ignoreFailure :: Lens' BuildGroup (Maybe Bool)
-- | An array of BuildSummary objects that contain summaries of
-- previous build groups.
buildGroup_priorBuildSummaryList :: Lens' BuildGroup (Maybe [BuildSummary])
-- | Information about a build that could not be successfully deleted.
--
-- See: newBuildNotDeleted smart constructor.
data BuildNotDeleted
BuildNotDeleted' :: Maybe Text -> Maybe Text -> BuildNotDeleted
-- | The ID of the build that could not be successfully deleted.
[$sel:id:BuildNotDeleted'] :: BuildNotDeleted -> Maybe Text
-- | Additional information about the build that could not be successfully
-- deleted.
[$sel:statusCode:BuildNotDeleted'] :: BuildNotDeleted -> Maybe Text
-- | Create a value of BuildNotDeleted with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:BuildNotDeleted', buildNotDeleted_id - The ID of
-- the build that could not be successfully deleted.
--
-- $sel:statusCode:BuildNotDeleted',
-- buildNotDeleted_statusCode - Additional information about the
-- build that could not be successfully deleted.
newBuildNotDeleted :: BuildNotDeleted
-- | The ID of the build that could not be successfully deleted.
buildNotDeleted_id :: Lens' BuildNotDeleted (Maybe Text)
-- | Additional information about the build that could not be successfully
-- deleted.
buildNotDeleted_statusCode :: Lens' BuildNotDeleted (Maybe Text)
-- | Information about a stage for a build.
--
-- See: newBuildPhase smart constructor.
data BuildPhase
BuildPhase' :: Maybe [PhaseContext] -> Maybe Integer -> Maybe POSIX -> Maybe StatusType -> Maybe BuildPhaseType -> Maybe POSIX -> BuildPhase
-- | Additional information about a build phase, especially to help
-- troubleshoot a failed build.
[$sel:contexts:BuildPhase'] :: BuildPhase -> Maybe [PhaseContext]
-- | How long, in seconds, between the starting and ending times of the
-- build's phase.
[$sel:durationInSeconds:BuildPhase'] :: BuildPhase -> Maybe Integer
-- | When the build phase ended, expressed in Unix time format.
[$sel:endTime:BuildPhase'] :: BuildPhase -> Maybe POSIX
-- | 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.
--
[$sel:phaseStatus:BuildPhase'] :: 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.
-- - QUEUED The build has been submitted and is queued behind
-- other submitted builds.
-- - SUBMITTED The build has been submitted.
-- - UPLOAD_ARTIFACTS Build output artifacts are being uploaded
-- to the output location.
--
[$sel:phaseType:BuildPhase'] :: BuildPhase -> Maybe BuildPhaseType
-- | When the build phase started, expressed in Unix time format.
[$sel:startTime:BuildPhase'] :: BuildPhase -> Maybe POSIX
-- | Create a value of BuildPhase with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:contexts:BuildPhase', buildPhase_contexts -
-- Additional information about a build phase, especially to help
-- troubleshoot a failed build.
--
-- $sel:durationInSeconds:BuildPhase',
-- buildPhase_durationInSeconds - How long, in seconds, between
-- the starting and ending times of the build's phase.
--
-- $sel:endTime:BuildPhase', buildPhase_endTime - When the
-- build phase ended, expressed in Unix time format.
--
-- $sel:phaseStatus:BuildPhase', buildPhase_phaseStatus -
-- 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.
--
--
-- $sel:phaseType:BuildPhase', buildPhase_phaseType - 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.
-- - QUEUED The build has been submitted and is queued behind
-- other submitted builds.
-- - SUBMITTED The build has been submitted.
-- - UPLOAD_ARTIFACTS Build output artifacts are being uploaded
-- to the output location.
--
--
-- $sel:startTime:BuildPhase', buildPhase_startTime - When
-- the build phase started, expressed in Unix time format.
newBuildPhase :: BuildPhase
-- | Additional information about a build phase, especially to help
-- troubleshoot a failed build.
buildPhase_contexts :: Lens' BuildPhase (Maybe [PhaseContext])
-- | How long, in seconds, between the starting and ending times of the
-- build's phase.
buildPhase_durationInSeconds :: Lens' BuildPhase (Maybe Integer)
-- | When the build phase ended, expressed in Unix time format.
buildPhase_endTime :: 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.
--
buildPhase_phaseStatus :: 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.
-- - QUEUED The build has been submitted and is queued behind
-- other submitted builds.
-- - SUBMITTED The build has been submitted.
-- - UPLOAD_ARTIFACTS Build output artifacts are being uploaded
-- to the output location.
--
buildPhase_phaseType :: Lens' BuildPhase (Maybe BuildPhaseType)
-- | When the build phase started, expressed in Unix time format.
buildPhase_startTime :: Lens' BuildPhase (Maybe UTCTime)
-- | Contains information that defines how the CodeBuild build project
-- reports the build status to the source provider.
--
-- See: newBuildStatusConfig smart constructor.
data BuildStatusConfig
BuildStatusConfig' :: Maybe Text -> Maybe Text -> BuildStatusConfig
-- | Specifies the context of the build status CodeBuild sends to the
-- source provider. The usage of this parameter depends on the source
-- provider.
--
--
-- - Bitbucket This parameter is used for the name
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the context parameter in the GitHub commit status. For more
-- information, see Create a commit status in the GitHub developer
-- guide.
--
[$sel:context:BuildStatusConfig'] :: BuildStatusConfig -> Maybe Text
-- | Specifies the target url of the build status CodeBuild sends to the
-- source provider. The usage of this parameter depends on the source
-- provider.
--
--
-- - Bitbucket This parameter is used for the url
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the target_url parameter in the GitHub commit status. For
-- more information, see Create a commit status in the GitHub
-- developer guide.
--
[$sel:targetUrl:BuildStatusConfig'] :: BuildStatusConfig -> Maybe Text
-- | Create a value of BuildStatusConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:context:BuildStatusConfig',
-- buildStatusConfig_context - Specifies the context of the build
-- status CodeBuild sends to the source provider. The usage of this
-- parameter depends on the source provider.
--
--
-- - Bitbucket This parameter is used for the name
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the context parameter in the GitHub commit status. For more
-- information, see Create a commit status in the GitHub developer
-- guide.
--
--
-- $sel:targetUrl:BuildStatusConfig',
-- buildStatusConfig_targetUrl - Specifies the target url of the
-- build status CodeBuild sends to the source provider. The usage of this
-- parameter depends on the source provider.
--
--
-- - Bitbucket This parameter is used for the url
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the target_url parameter in the GitHub commit status. For
-- more information, see Create a commit status in the GitHub
-- developer guide.
--
newBuildStatusConfig :: BuildStatusConfig
-- | Specifies the context of the build status CodeBuild sends to the
-- source provider. The usage of this parameter depends on the source
-- provider.
--
--
-- - Bitbucket This parameter is used for the name
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the context parameter in the GitHub commit status. For more
-- information, see Create a commit status in the GitHub developer
-- guide.
--
buildStatusConfig_context :: Lens' BuildStatusConfig (Maybe Text)
-- | Specifies the target url of the build status CodeBuild sends to the
-- source provider. The usage of this parameter depends on the source
-- provider.
--
--
-- - Bitbucket This parameter is used for the url
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the target_url parameter in the GitHub commit status. For
-- more information, see Create a commit status in the GitHub
-- developer guide.
--
buildStatusConfig_targetUrl :: Lens' BuildStatusConfig (Maybe Text)
-- | Contains summary information about a batch build group.
--
-- See: newBuildSummary smart constructor.
data BuildSummary
BuildSummary' :: Maybe Text -> Maybe StatusType -> Maybe ResolvedArtifact -> Maybe POSIX -> Maybe [ResolvedArtifact] -> BuildSummary
-- | The batch build ARN.
[$sel:arn:BuildSummary'] :: BuildSummary -> Maybe Text
-- | The status of the build group.
--
--
-- - FAILED The build group failed.
-- - FAULT The build group faulted.
-- - IN_PROGRESS The build group is still in progress.
-- - STOPPED The build group stopped.
-- - SUCCEEDED The build group succeeded.
-- - TIMED_OUT The build group timed out.
--
[$sel:buildStatus:BuildSummary'] :: BuildSummary -> Maybe StatusType
-- | A ResolvedArtifact object that represents the primary build
-- artifacts for the build group.
[$sel:primaryArtifact:BuildSummary'] :: BuildSummary -> Maybe ResolvedArtifact
-- | When the build was started, expressed in Unix time format.
[$sel:requestedOn:BuildSummary'] :: BuildSummary -> Maybe POSIX
-- | An array of ResolvedArtifact objects that represents the
-- secondary build artifacts for the build group.
[$sel:secondaryArtifacts:BuildSummary'] :: BuildSummary -> Maybe [ResolvedArtifact]
-- | Create a value of BuildSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:BuildSummary', buildSummary_arn - The batch
-- build ARN.
--
-- $sel:buildStatus:BuildSummary', buildSummary_buildStatus
-- - The status of the build group.
--
--
-- - FAILED The build group failed.
-- - FAULT The build group faulted.
-- - IN_PROGRESS The build group is still in progress.
-- - STOPPED The build group stopped.
-- - SUCCEEDED The build group succeeded.
-- - TIMED_OUT The build group timed out.
--
--
-- $sel:primaryArtifact:BuildSummary',
-- buildSummary_primaryArtifact - A ResolvedArtifact
-- object that represents the primary build artifacts for the build
-- group.
--
-- $sel:requestedOn:BuildSummary', buildSummary_requestedOn
-- - When the build was started, expressed in Unix time format.
--
-- $sel:secondaryArtifacts:BuildSummary',
-- buildSummary_secondaryArtifacts - An array of
-- ResolvedArtifact objects that represents the secondary build
-- artifacts for the build group.
newBuildSummary :: BuildSummary
-- | The batch build ARN.
buildSummary_arn :: Lens' BuildSummary (Maybe Text)
-- | The status of the build group.
--
--
-- - FAILED The build group failed.
-- - FAULT The build group faulted.
-- - IN_PROGRESS The build group is still in progress.
-- - STOPPED The build group stopped.
-- - SUCCEEDED The build group succeeded.
-- - TIMED_OUT The build group timed out.
--
buildSummary_buildStatus :: Lens' BuildSummary (Maybe StatusType)
-- | A ResolvedArtifact object that represents the primary build
-- artifacts for the build group.
buildSummary_primaryArtifact :: Lens' BuildSummary (Maybe ResolvedArtifact)
-- | When the build was started, expressed in Unix time format.
buildSummary_requestedOn :: Lens' BuildSummary (Maybe UTCTime)
-- | An array of ResolvedArtifact objects that represents the
-- secondary build artifacts for the build group.
buildSummary_secondaryArtifacts :: Lens' BuildSummary (Maybe [ResolvedArtifact])
-- | Information about CloudWatch Logs for a build project.
--
-- See: newCloudWatchLogsConfig smart constructor.
data CloudWatchLogsConfig
CloudWatchLogsConfig' :: Maybe Text -> Maybe Text -> LogsConfigStatusType -> CloudWatchLogsConfig
-- | The group name of the logs in CloudWatch Logs. For more information,
-- see Working with Log Groups and Log Streams.
[$sel:groupName:CloudWatchLogsConfig'] :: CloudWatchLogsConfig -> Maybe Text
-- | The prefix of the stream name of the CloudWatch Logs. For more
-- information, see Working with Log Groups and Log Streams.
[$sel:streamName:CloudWatchLogsConfig'] :: CloudWatchLogsConfig -> Maybe Text
-- | The current status of the logs in CloudWatch Logs for a build project.
-- Valid values are:
--
--
-- - ENABLED: CloudWatch Logs are enabled for this build
-- project.
-- - DISABLED: CloudWatch Logs are not enabled for this build
-- project.
--
[$sel:status:CloudWatchLogsConfig'] :: CloudWatchLogsConfig -> LogsConfigStatusType
-- | Create a value of CloudWatchLogsConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:groupName:CloudWatchLogsConfig',
-- cloudWatchLogsConfig_groupName - The group name of the logs in
-- CloudWatch Logs. For more information, see Working with Log Groups
-- and Log Streams.
--
-- $sel:streamName:CloudWatchLogsConfig',
-- cloudWatchLogsConfig_streamName - The prefix of the stream name
-- of the CloudWatch Logs. For more information, see Working with Log
-- Groups and Log Streams.
--
-- $sel:status:CloudWatchLogsConfig',
-- cloudWatchLogsConfig_status - The current status of the logs in
-- CloudWatch Logs for a build project. Valid values are:
--
--
-- - ENABLED: CloudWatch Logs are enabled for this build
-- project.
-- - DISABLED: CloudWatch Logs are not enabled for this build
-- project.
--
newCloudWatchLogsConfig :: LogsConfigStatusType -> CloudWatchLogsConfig
-- | The group name of the logs in CloudWatch Logs. For more information,
-- see Working with Log Groups and Log Streams.
cloudWatchLogsConfig_groupName :: Lens' CloudWatchLogsConfig (Maybe Text)
-- | The prefix of the stream name of the CloudWatch Logs. For more
-- information, see Working with Log Groups and Log Streams.
cloudWatchLogsConfig_streamName :: Lens' CloudWatchLogsConfig (Maybe Text)
-- | The current status of the logs in CloudWatch Logs for a build project.
-- Valid values are:
--
--
-- - ENABLED: CloudWatch Logs are enabled for this build
-- project.
-- - DISABLED: CloudWatch Logs are not enabled for this build
-- project.
--
cloudWatchLogsConfig_status :: Lens' CloudWatchLogsConfig LogsConfigStatusType
-- | Contains code coverage report information.
--
-- Line coverage measures how many statements your tests cover. A
-- statement is a single instruction, not including comments,
-- conditionals, etc.
--
-- Branch coverage determines if your tests cover every possible branch
-- of a control structure, such as an if or case
-- statement.
--
-- See: newCodeCoverage smart constructor.
data CodeCoverage
CodeCoverage' :: Maybe Double -> Maybe Natural -> Maybe Natural -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe Natural -> Maybe Natural -> Maybe Text -> CodeCoverage
-- | The percentage of branches that are covered by your tests.
[$sel:branchCoveragePercentage:CodeCoverage'] :: CodeCoverage -> Maybe Double
-- | The number of conditional branches that are covered by your tests.
[$sel:branchesCovered:CodeCoverage'] :: CodeCoverage -> Maybe Natural
-- | The number of conditional branches that are not covered by your tests.
[$sel:branchesMissed:CodeCoverage'] :: CodeCoverage -> Maybe Natural
-- | The date and time that the tests were run.
[$sel:expired:CodeCoverage'] :: CodeCoverage -> Maybe POSIX
-- | The path of the test report file.
[$sel:filePath:CodeCoverage'] :: CodeCoverage -> Maybe Text
-- | The identifier of the code coverage report.
[$sel:id:CodeCoverage'] :: CodeCoverage -> Maybe Text
-- | The percentage of lines that are covered by your tests.
[$sel:lineCoveragePercentage:CodeCoverage'] :: CodeCoverage -> Maybe Double
-- | The number of lines that are covered by your tests.
[$sel:linesCovered:CodeCoverage'] :: CodeCoverage -> Maybe Natural
-- | The number of lines that are not covered by your tests.
[$sel:linesMissed:CodeCoverage'] :: CodeCoverage -> Maybe Natural
-- | The ARN of the report.
[$sel:reportARN:CodeCoverage'] :: CodeCoverage -> Maybe Text
-- | Create a value of CodeCoverage with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:branchCoveragePercentage:CodeCoverage',
-- codeCoverage_branchCoveragePercentage - The percentage of
-- branches that are covered by your tests.
--
-- $sel:branchesCovered:CodeCoverage',
-- codeCoverage_branchesCovered - The number of conditional
-- branches that are covered by your tests.
--
-- $sel:branchesMissed:CodeCoverage',
-- codeCoverage_branchesMissed - The number of conditional
-- branches that are not covered by your tests.
--
-- $sel:expired:CodeCoverage', codeCoverage_expired - The
-- date and time that the tests were run.
--
-- $sel:filePath:CodeCoverage', codeCoverage_filePath - The
-- path of the test report file.
--
-- $sel:id:CodeCoverage', codeCoverage_id - The identifier
-- of the code coverage report.
--
-- $sel:lineCoveragePercentage:CodeCoverage',
-- codeCoverage_lineCoveragePercentage - The percentage of lines
-- that are covered by your tests.
--
-- $sel:linesCovered:CodeCoverage',
-- codeCoverage_linesCovered - The number of lines that are
-- covered by your tests.
--
-- $sel:linesMissed:CodeCoverage', codeCoverage_linesMissed
-- - The number of lines that are not covered by your tests.
--
-- $sel:reportARN:CodeCoverage', codeCoverage_reportARN -
-- The ARN of the report.
newCodeCoverage :: CodeCoverage
-- | The percentage of branches that are covered by your tests.
codeCoverage_branchCoveragePercentage :: Lens' CodeCoverage (Maybe Double)
-- | The number of conditional branches that are covered by your tests.
codeCoverage_branchesCovered :: Lens' CodeCoverage (Maybe Natural)
-- | The number of conditional branches that are not covered by your tests.
codeCoverage_branchesMissed :: Lens' CodeCoverage (Maybe Natural)
-- | The date and time that the tests were run.
codeCoverage_expired :: Lens' CodeCoverage (Maybe UTCTime)
-- | The path of the test report file.
codeCoverage_filePath :: Lens' CodeCoverage (Maybe Text)
-- | The identifier of the code coverage report.
codeCoverage_id :: Lens' CodeCoverage (Maybe Text)
-- | The percentage of lines that are covered by your tests.
codeCoverage_lineCoveragePercentage :: Lens' CodeCoverage (Maybe Double)
-- | The number of lines that are covered by your tests.
codeCoverage_linesCovered :: Lens' CodeCoverage (Maybe Natural)
-- | The number of lines that are not covered by your tests.
codeCoverage_linesMissed :: Lens' CodeCoverage (Maybe Natural)
-- | The ARN of the report.
codeCoverage_reportARN :: Lens' CodeCoverage (Maybe Text)
-- | Contains a summary of a code coverage report.
--
-- Line coverage measures how many statements your tests cover. A
-- statement is a single instruction, not including comments,
-- conditionals, etc.
--
-- Branch coverage determines if your tests cover every possible branch
-- of a control structure, such as an if or case
-- statement.
--
-- See: newCodeCoverageReportSummary smart constructor.
data CodeCoverageReportSummary
CodeCoverageReportSummary' :: Maybe Double -> Maybe Natural -> Maybe Natural -> Maybe Double -> Maybe Natural -> Maybe Natural -> CodeCoverageReportSummary
-- | The percentage of branches that are covered by your tests.
[$sel:branchCoveragePercentage:CodeCoverageReportSummary'] :: CodeCoverageReportSummary -> Maybe Double
-- | The number of conditional branches that are covered by your tests.
[$sel:branchesCovered:CodeCoverageReportSummary'] :: CodeCoverageReportSummary -> Maybe Natural
-- | The number of conditional branches that are not covered by your tests.
[$sel:branchesMissed:CodeCoverageReportSummary'] :: CodeCoverageReportSummary -> Maybe Natural
-- | The percentage of lines that are covered by your tests.
[$sel:lineCoveragePercentage:CodeCoverageReportSummary'] :: CodeCoverageReportSummary -> Maybe Double
-- | The number of lines that are covered by your tests.
[$sel:linesCovered:CodeCoverageReportSummary'] :: CodeCoverageReportSummary -> Maybe Natural
-- | The number of lines that are not covered by your tests.
[$sel:linesMissed:CodeCoverageReportSummary'] :: CodeCoverageReportSummary -> Maybe Natural
-- | Create a value of CodeCoverageReportSummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:branchCoveragePercentage:CodeCoverageReportSummary',
-- codeCoverageReportSummary_branchCoveragePercentage - The
-- percentage of branches that are covered by your tests.
--
-- $sel:branchesCovered:CodeCoverageReportSummary',
-- codeCoverageReportSummary_branchesCovered - The number of
-- conditional branches that are covered by your tests.
--
-- $sel:branchesMissed:CodeCoverageReportSummary',
-- codeCoverageReportSummary_branchesMissed - The number of
-- conditional branches that are not covered by your tests.
--
-- $sel:lineCoveragePercentage:CodeCoverageReportSummary',
-- codeCoverageReportSummary_lineCoveragePercentage - The
-- percentage of lines that are covered by your tests.
--
-- $sel:linesCovered:CodeCoverageReportSummary',
-- codeCoverageReportSummary_linesCovered - The number of lines
-- that are covered by your tests.
--
-- $sel:linesMissed:CodeCoverageReportSummary',
-- codeCoverageReportSummary_linesMissed - The number of lines
-- that are not covered by your tests.
newCodeCoverageReportSummary :: CodeCoverageReportSummary
-- | The percentage of branches that are covered by your tests.
codeCoverageReportSummary_branchCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double)
-- | The number of conditional branches that are covered by your tests.
codeCoverageReportSummary_branchesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural)
-- | The number of conditional branches that are not covered by your tests.
codeCoverageReportSummary_branchesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural)
-- | The percentage of lines that are covered by your tests.
codeCoverageReportSummary_lineCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double)
-- | The number of lines that are covered by your tests.
codeCoverageReportSummary_linesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural)
-- | The number of lines that are not covered by your tests.
codeCoverageReportSummary_linesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural)
-- | Contains information about the debug session for a build. For more
-- information, see Viewing a running build in Session Manager.
--
-- See: newDebugSession smart constructor.
data DebugSession
DebugSession' :: Maybe Bool -> Maybe Text -> DebugSession
-- | Specifies if session debugging is enabled for this build.
[$sel:sessionEnabled:DebugSession'] :: DebugSession -> Maybe Bool
-- | Contains the identifier of the Session Manager session used for the
-- build. To work with the paused build, you open this session to
-- examine, control, and resume the build.
[$sel:sessionTarget:DebugSession'] :: DebugSession -> Maybe Text
-- | Create a value of DebugSession with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:sessionEnabled:DebugSession',
-- debugSession_sessionEnabled - Specifies if session debugging is
-- enabled for this build.
--
-- $sel:sessionTarget:DebugSession',
-- debugSession_sessionTarget - Contains the identifier of the
-- Session Manager session used for the build. To work with the paused
-- build, you open this session to examine, control, and resume the
-- build.
newDebugSession :: DebugSession
-- | Specifies if session debugging is enabled for this build.
debugSession_sessionEnabled :: Lens' DebugSession (Maybe Bool)
-- | Contains the identifier of the Session Manager session used for the
-- build. To work with the paused build, you open this session to
-- examine, control, and resume the build.
debugSession_sessionTarget :: Lens' DebugSession (Maybe Text)
-- | Information about a Docker image that is managed by CodeBuild.
--
-- See: newEnvironmentImage smart constructor.
data EnvironmentImage
EnvironmentImage' :: Maybe Text -> Maybe Text -> Maybe [Text] -> EnvironmentImage
-- | The description of the Docker image.
[$sel:description:EnvironmentImage'] :: EnvironmentImage -> Maybe Text
-- | The name of the Docker image.
[$sel:name:EnvironmentImage'] :: EnvironmentImage -> Maybe Text
-- | A list of environment image versions.
[$sel:versions:EnvironmentImage'] :: EnvironmentImage -> Maybe [Text]
-- | Create a value of EnvironmentImage with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:description:EnvironmentImage',
-- environmentImage_description - The description of the Docker
-- image.
--
-- $sel:name:EnvironmentImage', environmentImage_name - The
-- name of the Docker image.
--
-- $sel:versions:EnvironmentImage',
-- environmentImage_versions - A list of environment image
-- versions.
newEnvironmentImage :: EnvironmentImage
-- | The description of the Docker image.
environmentImage_description :: Lens' EnvironmentImage (Maybe Text)
-- | The name of the Docker image.
environmentImage_name :: Lens' EnvironmentImage (Maybe Text)
-- | A list of environment image versions.
environmentImage_versions :: Lens' EnvironmentImage (Maybe [Text])
-- | A set of Docker images that are related by programming language and
-- are managed by CodeBuild.
--
-- See: newEnvironmentLanguage smart constructor.
data EnvironmentLanguage
EnvironmentLanguage' :: Maybe [EnvironmentImage] -> Maybe LanguageType -> EnvironmentLanguage
-- | The list of Docker images that are related by the specified
-- programming language.
[$sel:images:EnvironmentLanguage'] :: EnvironmentLanguage -> Maybe [EnvironmentImage]
-- | The programming language for the Docker images.
[$sel:language:EnvironmentLanguage'] :: EnvironmentLanguage -> Maybe LanguageType
-- | Create a value of EnvironmentLanguage with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:images:EnvironmentLanguage',
-- environmentLanguage_images - The list of Docker images that are
-- related by the specified programming language.
--
-- $sel:language:EnvironmentLanguage',
-- environmentLanguage_language - The programming language for the
-- Docker images.
newEnvironmentLanguage :: EnvironmentLanguage
-- | The list of Docker images that are related by the specified
-- programming language.
environmentLanguage_images :: Lens' EnvironmentLanguage (Maybe [EnvironmentImage])
-- | The programming language for the Docker images.
environmentLanguage_language :: Lens' EnvironmentLanguage (Maybe LanguageType)
-- | A set of Docker images that are related by platform and are managed by
-- CodeBuild.
--
-- See: newEnvironmentPlatform smart constructor.
data EnvironmentPlatform
EnvironmentPlatform' :: Maybe [EnvironmentLanguage] -> Maybe PlatformType -> EnvironmentPlatform
-- | The list of programming languages that are available for the specified
-- platform.
[$sel:languages:EnvironmentPlatform'] :: EnvironmentPlatform -> Maybe [EnvironmentLanguage]
-- | The platform's name.
[$sel:platform:EnvironmentPlatform'] :: EnvironmentPlatform -> Maybe PlatformType
-- | Create a value of EnvironmentPlatform with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:languages:EnvironmentPlatform',
-- environmentPlatform_languages - The list of programming
-- languages that are available for the specified platform.
--
-- $sel:platform:EnvironmentPlatform',
-- environmentPlatform_platform - The platform's name.
newEnvironmentPlatform :: EnvironmentPlatform
-- | The list of programming languages that are available for the specified
-- platform.
environmentPlatform_languages :: Lens' EnvironmentPlatform (Maybe [EnvironmentLanguage])
-- | The platform's name.
environmentPlatform_platform :: Lens' EnvironmentPlatform (Maybe PlatformType)
-- | Information about an environment variable for a build project or a
-- build.
--
-- See: newEnvironmentVariable smart constructor.
data EnvironmentVariable
EnvironmentVariable' :: Maybe EnvironmentVariableType -> Text -> Text -> EnvironmentVariable
-- | The type of environment variable. Valid values include:
--
--
-- - PARAMETER_STORE: An environment variable stored in
-- Systems Manager Parameter Store. To learn how to specify a parameter
-- store environment variable, see env/parameter-store in the
-- CodeBuild User Guide.
-- - PLAINTEXT: An environment variable in plain text format.
-- This is the default value.
-- - SECRETS_MANAGER: An environment variable stored in
-- Secrets Manager. To learn how to specify a secrets manager environment
-- variable, see env/secrets-manager in the CodeBuild User
-- Guide.
--
[$sel:type':EnvironmentVariable'] :: EnvironmentVariable -> Maybe EnvironmentVariableType
-- | The name or key of the environment variable.
[$sel:name:EnvironmentVariable'] :: EnvironmentVariable -> Text
-- | The value of the environment variable.
--
-- We strongly discourage the use of PLAINTEXT environment
-- variables to store sensitive values, especially Amazon Web Services
-- secret key IDs and secret access keys. PLAINTEXT environment
-- variables can be displayed in plain text using the CodeBuild console
-- and the CLI. For sensitive values, we recommend you use an environment
-- variable of type PARAMETER_STORE or SECRETS_MANAGER.
[$sel:value:EnvironmentVariable'] :: EnvironmentVariable -> Text
-- | Create a value of EnvironmentVariable with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':EnvironmentVariable',
-- environmentVariable_type - The type of environment variable.
-- Valid values include:
--
--
-- - PARAMETER_STORE: An environment variable stored in
-- Systems Manager Parameter Store. To learn how to specify a parameter
-- store environment variable, see env/parameter-store in the
-- CodeBuild User Guide.
-- - PLAINTEXT: An environment variable in plain text format.
-- This is the default value.
-- - SECRETS_MANAGER: An environment variable stored in
-- Secrets Manager. To learn how to specify a secrets manager environment
-- variable, see env/secrets-manager in the CodeBuild User
-- Guide.
--
--
-- $sel:name:EnvironmentVariable', environmentVariable_name
-- - The name or key of the environment variable.
--
-- $sel:value:EnvironmentVariable',
-- environmentVariable_value - The value of the environment
-- variable.
--
-- We strongly discourage the use of PLAINTEXT environment
-- variables to store sensitive values, especially Amazon Web Services
-- secret key IDs and secret access keys. PLAINTEXT environment
-- variables can be displayed in plain text using the CodeBuild console
-- and the CLI. For sensitive values, we recommend you use an environment
-- variable of type PARAMETER_STORE or SECRETS_MANAGER.
newEnvironmentVariable :: Text -> Text -> EnvironmentVariable
-- | The type of environment variable. Valid values include:
--
--
-- - PARAMETER_STORE: An environment variable stored in
-- Systems Manager Parameter Store. To learn how to specify a parameter
-- store environment variable, see env/parameter-store in the
-- CodeBuild User Guide.
-- - PLAINTEXT: An environment variable in plain text format.
-- This is the default value.
-- - SECRETS_MANAGER: An environment variable stored in
-- Secrets Manager. To learn how to specify a secrets manager environment
-- variable, see env/secrets-manager in the CodeBuild User
-- Guide.
--
environmentVariable_type :: Lens' EnvironmentVariable (Maybe EnvironmentVariableType)
-- | The name or key of the environment variable.
environmentVariable_name :: Lens' EnvironmentVariable Text
-- | The value of the environment variable.
--
-- We strongly discourage the use of PLAINTEXT environment
-- variables to store sensitive values, especially Amazon Web Services
-- secret key IDs and secret access keys. PLAINTEXT environment
-- variables can be displayed in plain text using the CodeBuild console
-- and the CLI. For sensitive values, we recommend you use an environment
-- variable of type PARAMETER_STORE or SECRETS_MANAGER.
environmentVariable_value :: Lens' EnvironmentVariable Text
-- | Contains information about an exported environment variable.
--
-- Exported environment variables are used in conjunction with
-- CodePipeline to export environment variables from the current build
-- stage to subsequent stages in the pipeline. For more information, see
-- Working with variables in the CodePipeline User Guide.
--
-- During a build, the value of a variable is available starting with the
-- install phase. It can be updated between the start of the
-- install phase and the end of the post_build phase.
-- After the post_build phase ends, the value of exported
-- variables cannot change.
--
-- See: newExportedEnvironmentVariable smart constructor.
data ExportedEnvironmentVariable
ExportedEnvironmentVariable' :: Maybe Text -> Maybe Text -> ExportedEnvironmentVariable
-- | The name of the exported environment variable.
[$sel:name:ExportedEnvironmentVariable'] :: ExportedEnvironmentVariable -> Maybe Text
-- | The value assigned to the exported environment variable.
[$sel:value:ExportedEnvironmentVariable'] :: ExportedEnvironmentVariable -> Maybe Text
-- | Create a value of ExportedEnvironmentVariable with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:ExportedEnvironmentVariable',
-- exportedEnvironmentVariable_name - The name of the exported
-- environment variable.
--
-- $sel:value:ExportedEnvironmentVariable',
-- exportedEnvironmentVariable_value - The value assigned to the
-- exported environment variable.
newExportedEnvironmentVariable :: ExportedEnvironmentVariable
-- | The name of the exported environment variable.
exportedEnvironmentVariable_name :: Lens' ExportedEnvironmentVariable (Maybe Text)
-- | The value assigned to the exported environment variable.
exportedEnvironmentVariable_value :: Lens' ExportedEnvironmentVariable (Maybe Text)
-- | Information about the Git submodules configuration for an CodeBuild
-- build project.
--
-- See: newGitSubmodulesConfig smart constructor.
data GitSubmodulesConfig
GitSubmodulesConfig' :: Bool -> GitSubmodulesConfig
-- | Set to true to fetch Git submodules for your CodeBuild build project.
[$sel:fetchSubmodules:GitSubmodulesConfig'] :: GitSubmodulesConfig -> Bool
-- | Create a value of GitSubmodulesConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fetchSubmodules:GitSubmodulesConfig',
-- gitSubmodulesConfig_fetchSubmodules - Set to true to fetch Git
-- submodules for your CodeBuild build project.
newGitSubmodulesConfig :: Bool -> GitSubmodulesConfig
-- | Set to true to fetch Git submodules for your CodeBuild build project.
gitSubmodulesConfig_fetchSubmodules :: Lens' GitSubmodulesConfig Bool
-- | Information about logs for a build project. These can be logs in
-- CloudWatch Logs, built in a specified S3 bucket, or both.
--
-- See: newLogsConfig smart constructor.
data LogsConfig
LogsConfig' :: Maybe CloudWatchLogsConfig -> Maybe S3LogsConfig -> LogsConfig
-- | Information about CloudWatch Logs for a build project. CloudWatch Logs
-- are enabled by default.
[$sel:cloudWatchLogs:LogsConfig'] :: LogsConfig -> Maybe CloudWatchLogsConfig
-- | Information about logs built to an S3 bucket for a build project. S3
-- logs are not enabled by default.
[$sel:s3Logs:LogsConfig'] :: LogsConfig -> Maybe S3LogsConfig
-- | Create a value of LogsConfig with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudWatchLogs:LogsConfig',
-- logsConfig_cloudWatchLogs - Information about CloudWatch Logs
-- for a build project. CloudWatch Logs are enabled by default.
--
-- $sel:s3Logs:LogsConfig', logsConfig_s3Logs - Information
-- about logs built to an S3 bucket for a build project. S3 logs are not
-- enabled by default.
newLogsConfig :: LogsConfig
-- | Information about CloudWatch Logs for a build project. CloudWatch Logs
-- are enabled by default.
logsConfig_cloudWatchLogs :: Lens' LogsConfig (Maybe CloudWatchLogsConfig)
-- | Information about logs built to an S3 bucket for a build project. S3
-- logs are not enabled by default.
logsConfig_s3Logs :: Lens' LogsConfig (Maybe S3LogsConfig)
-- | Information about build logs in CloudWatch Logs.
--
-- See: newLogsLocation smart constructor.
data LogsLocation
LogsLocation' :: Maybe CloudWatchLogsConfig -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe S3LogsConfig -> Maybe Text -> Maybe Text -> LogsLocation
-- | Information about CloudWatch Logs for a build project.
[$sel:cloudWatchLogs:LogsLocation'] :: LogsLocation -> Maybe CloudWatchLogsConfig
-- | The ARN of CloudWatch Logs for a build project. Its format is
-- arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}.
-- For more information, see Resources Defined by CloudWatch Logs.
[$sel:cloudWatchLogsArn:LogsLocation'] :: LogsLocation -> Maybe Text
-- | The URL to an individual build log in CloudWatch Logs.
[$sel:deepLink:LogsLocation'] :: LogsLocation -> Maybe Text
-- | The name of the CloudWatch Logs group for the build logs.
[$sel:groupName:LogsLocation'] :: LogsLocation -> Maybe Text
-- | The URL to a build log in an S3 bucket.
[$sel:s3DeepLink:LogsLocation'] :: LogsLocation -> Maybe Text
-- | Information about S3 logs for a build project.
[$sel:s3Logs:LogsLocation'] :: LogsLocation -> Maybe S3LogsConfig
-- | The ARN of S3 logs for a build project. Its format is
-- arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more
-- information, see Resources Defined by Amazon S3.
[$sel:s3LogsArn:LogsLocation'] :: LogsLocation -> Maybe Text
-- | The name of the CloudWatch Logs stream for the build logs.
[$sel:streamName:LogsLocation'] :: LogsLocation -> Maybe Text
-- | Create a value of LogsLocation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudWatchLogs:LogsLocation',
-- logsLocation_cloudWatchLogs - Information about CloudWatch Logs
-- for a build project.
--
-- $sel:cloudWatchLogsArn:LogsLocation',
-- logsLocation_cloudWatchLogsArn - The ARN of CloudWatch Logs for
-- a build project. Its format is
-- arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}.
-- For more information, see Resources Defined by CloudWatch Logs.
--
-- $sel:deepLink:LogsLocation', logsLocation_deepLink - The
-- URL to an individual build log in CloudWatch Logs.
--
-- LogsLocation, logsLocation_groupName - The name of the
-- CloudWatch Logs group for the build logs.
--
-- $sel:s3DeepLink:LogsLocation', logsLocation_s3DeepLink -
-- The URL to a build log in an S3 bucket.
--
-- $sel:s3Logs:LogsLocation', logsLocation_s3Logs -
-- Information about S3 logs for a build project.
--
-- $sel:s3LogsArn:LogsLocation', logsLocation_s3LogsArn -
-- The ARN of S3 logs for a build project. Its format is
-- arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more
-- information, see Resources Defined by Amazon S3.
--
-- LogsLocation, logsLocation_streamName - The name of the
-- CloudWatch Logs stream for the build logs.
newLogsLocation :: LogsLocation
-- | Information about CloudWatch Logs for a build project.
logsLocation_cloudWatchLogs :: Lens' LogsLocation (Maybe CloudWatchLogsConfig)
-- | The ARN of CloudWatch Logs for a build project. Its format is
-- arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}.
-- For more information, see Resources Defined by CloudWatch Logs.
logsLocation_cloudWatchLogsArn :: Lens' LogsLocation (Maybe Text)
-- | The URL to an individual build log in CloudWatch Logs.
logsLocation_deepLink :: Lens' LogsLocation (Maybe Text)
-- | The name of the CloudWatch Logs group for the build logs.
logsLocation_groupName :: Lens' LogsLocation (Maybe Text)
-- | The URL to a build log in an S3 bucket.
logsLocation_s3DeepLink :: Lens' LogsLocation (Maybe Text)
-- | Information about S3 logs for a build project.
logsLocation_s3Logs :: Lens' LogsLocation (Maybe S3LogsConfig)
-- | The ARN of S3 logs for a build project. Its format is
-- arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more
-- information, see Resources Defined by Amazon S3.
logsLocation_s3LogsArn :: Lens' LogsLocation (Maybe Text)
-- | The name of the CloudWatch Logs stream for the build logs.
logsLocation_streamName :: Lens' LogsLocation (Maybe Text)
-- | Describes a network interface.
--
-- See: newNetworkInterface smart constructor.
data NetworkInterface
NetworkInterface' :: Maybe Text -> Maybe Text -> NetworkInterface
-- | The ID of the network interface.
[$sel:networkInterfaceId:NetworkInterface'] :: NetworkInterface -> Maybe Text
-- | The ID of the subnet.
[$sel:subnetId:NetworkInterface'] :: NetworkInterface -> Maybe Text
-- | Create a value of NetworkInterface with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:networkInterfaceId:NetworkInterface',
-- networkInterface_networkInterfaceId - The ID of the network
-- interface.
--
-- $sel:subnetId:NetworkInterface',
-- networkInterface_subnetId - The ID of the subnet.
newNetworkInterface :: NetworkInterface
-- | The ID of the network interface.
networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text)
-- | The ID of the subnet.
networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text)
-- | Additional information about a build phase that has an error. You can
-- use this information for troubleshooting.
--
-- See: newPhaseContext smart constructor.
data PhaseContext
PhaseContext' :: Maybe Text -> Maybe Text -> PhaseContext
-- | An explanation of the build phase's context. This might include a
-- command ID and an exit code.
[$sel:message:PhaseContext'] :: PhaseContext -> Maybe Text
-- | The status code for the context of the build phase.
[$sel:statusCode:PhaseContext'] :: PhaseContext -> Maybe Text
-- | Create a value of PhaseContext with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:message:PhaseContext', phaseContext_message - An
-- explanation of the build phase's context. This might include a command
-- ID and an exit code.
--
-- $sel:statusCode:PhaseContext', phaseContext_statusCode -
-- The status code for the context of the build phase.
newPhaseContext :: PhaseContext
-- | An explanation of the build phase's context. This might include a
-- command ID and an exit code.
phaseContext_message :: Lens' PhaseContext (Maybe Text)
-- | The status code for the context of the build phase.
phaseContext_statusCode :: Lens' PhaseContext (Maybe Text)
-- | Information about a build project.
--
-- See: newProject smart constructor.
data Project
Project' :: Maybe Text -> Maybe ProjectArtifacts -> Maybe ProjectBadge -> Maybe ProjectBuildBatchConfig -> Maybe ProjectCache -> Maybe Int -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe ProjectEnvironment -> Maybe [ProjectFileSystemLocation] -> Maybe POSIX -> Maybe LogsConfig -> Maybe Text -> Maybe ProjectVisibilityType -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe [ProjectArtifacts] -> Maybe [ProjectSourceVersion] -> Maybe [ProjectSource] -> Maybe Text -> Maybe ProjectSource -> Maybe Text -> Maybe [Tag] -> Maybe Natural -> Maybe VpcConfig -> Maybe Webhook -> Project
-- | The Amazon Resource Name (ARN) of the build project.
[$sel:arn:Project'] :: Project -> Maybe Text
-- | Information about the build output artifacts for the build project.
[$sel:artifacts:Project'] :: Project -> Maybe ProjectArtifacts
-- | Information about the build badge for the build project.
[$sel:badge:Project'] :: Project -> Maybe ProjectBadge
-- | A ProjectBuildBatchConfig object that defines the batch build options
-- for the project.
[$sel:buildBatchConfig:Project'] :: Project -> Maybe ProjectBuildBatchConfig
-- | Information about the cache for the build project.
[$sel:cache:Project'] :: Project -> Maybe ProjectCache
-- | The maximum number of concurrent builds that are allowed for this
-- project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
[$sel:concurrentBuildLimit:Project'] :: Project -> Maybe Int
-- | When the build project was created, expressed in Unix time format.
[$sel:created:Project'] :: Project -> Maybe POSIX
-- | A description that makes the build project easy to identify.
[$sel:description:Project'] :: Project -> Maybe Text
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>). If you don't specify a value,
-- CodeBuild uses the managed CMK for Amazon Simple Storage Service
-- (Amazon S3).
[$sel:encryptionKey:Project'] :: Project -> Maybe Text
-- | Information about the build environment for this build project.
[$sel:environment:Project'] :: Project -> Maybe ProjectEnvironment
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
[$sel:fileSystemLocations:Project'] :: Project -> Maybe [ProjectFileSystemLocation]
-- | When the build project's settings were last modified, expressed in
-- Unix time format.
[$sel:lastModified:Project'] :: Project -> Maybe POSIX
-- | Information about logs for the build project. A project can create
-- logs in CloudWatch Logs, an S3 bucket, or both.
[$sel:logsConfig:Project'] :: Project -> Maybe LogsConfig
-- | The name of the build project.
[$sel:name:Project'] :: Project -> Maybe Text
[$sel:projectVisibility:Project'] :: Project -> Maybe ProjectVisibilityType
-- | Contains the project identifier used with the public build APIs.
[$sel:publicProjectAlias:Project'] :: Project -> Maybe Text
-- | The number of minutes a build is allowed to be queued before it times
-- out.
[$sel:queuedTimeoutInMinutes:Project'] :: Project -> Maybe Natural
-- | The ARN of the IAM role that enables CodeBuild to access the
-- CloudWatch Logs and Amazon S3 artifacts for the project's builds.
[$sel:resourceAccessRole:Project'] :: Project -> Maybe Text
-- | An array of ProjectArtifacts objects.
[$sel:secondaryArtifacts:Project'] :: Project -> Maybe [ProjectArtifacts]
-- | An array of ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take over these secondarySourceVersions (at the project
-- level).
[$sel:secondarySourceVersions:Project'] :: Project -> Maybe [ProjectSourceVersion]
-- | An array of ProjectSource objects.
[$sel:secondarySources:Project'] :: Project -> Maybe [ProjectSource]
-- | The ARN of the IAM role that enables CodeBuild to interact with
-- dependent Amazon Web Services services on behalf of the Amazon Web
-- Services account.
[$sel:serviceRole:Project'] :: Project -> Maybe Text
-- | Information about the build input source code for this build project.
[$sel:source:Project'] :: Project -> Maybe ProjectSource
-- | A version of the build input to be built for this project. If not
-- specified, the latest version is used. If specified, it must be one
-- of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
[$sel:sourceVersion:Project'] :: Project -> Maybe Text
-- | A list of tag key and value pairs associated with this build project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
[$sel:tags:Project'] :: Project -> Maybe [Tag]
-- | How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
-- before timing out any related build that did not get marked as
-- completed. The default is 60 minutes.
[$sel:timeoutInMinutes:Project'] :: Project -> Maybe Natural
-- | Information about the VPC configuration that CodeBuild accesses.
[$sel:vpcConfig:Project'] :: Project -> Maybe VpcConfig
-- | Information about a webhook that connects repository events to a build
-- project in CodeBuild.
[$sel:webhook:Project'] :: Project -> Maybe Webhook
-- | Create a value of Project with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:Project', project_arn - The Amazon Resource
-- Name (ARN) of the build project.
--
-- $sel:artifacts:Project', project_artifacts - Information
-- about the build output artifacts for the build project.
--
-- $sel:badge:Project', project_badge - Information about
-- the build badge for the build project.
--
-- $sel:buildBatchConfig:Project', project_buildBatchConfig
-- - A ProjectBuildBatchConfig object that defines the batch build
-- options for the project.
--
-- $sel:cache:Project', project_cache - Information about
-- the cache for the build project.
--
-- $sel:concurrentBuildLimit:Project',
-- project_concurrentBuildLimit - The maximum number of concurrent
-- builds that are allowed for this project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
--
-- $sel:created:Project', project_created - When the build
-- project was created, expressed in Unix time format.
--
-- $sel:description:Project', project_description - A
-- description that makes the build project easy to identify.
--
-- $sel:encryptionKey:Project', project_encryptionKey - The
-- Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>). If you don't specify a value,
-- CodeBuild uses the managed CMK for Amazon Simple Storage Service
-- (Amazon S3).
--
-- $sel:environment:Project', project_environment -
-- Information about the build environment for this build project.
--
-- $sel:fileSystemLocations:Project',
-- project_fileSystemLocations - An array of
-- ProjectFileSystemLocation objects for a CodeBuild build
-- project. A ProjectFileSystemLocation object specifies the
-- identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
--
-- $sel:lastModified:Project', project_lastModified - When
-- the build project's settings were last modified, expressed in Unix
-- time format.
--
-- $sel:logsConfig:Project', project_logsConfig -
-- Information about logs for the build project. A project can create
-- logs in CloudWatch Logs, an S3 bucket, or both.
--
-- Project, project_name - The name of the build project.
--
-- $sel:projectVisibility:Project',
-- project_projectVisibility - Undocumented member.
--
-- $sel:publicProjectAlias:Project',
-- project_publicProjectAlias - Contains the project identifier
-- used with the public build APIs.
--
-- $sel:queuedTimeoutInMinutes:Project',
-- project_queuedTimeoutInMinutes - The number of minutes a build
-- is allowed to be queued before it times out.
--
-- $sel:resourceAccessRole:Project',
-- project_resourceAccessRole - The ARN of the IAM role that
-- enables CodeBuild to access the CloudWatch Logs and Amazon S3
-- artifacts for the project's builds.
--
-- $sel:secondaryArtifacts:Project',
-- project_secondaryArtifacts - An array of
-- ProjectArtifacts objects.
--
-- $sel:secondarySourceVersions:Project',
-- project_secondarySourceVersions - An array of
-- ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take over these secondarySourceVersions (at the project
-- level).
--
-- $sel:secondarySources:Project', project_secondarySources
-- - An array of ProjectSource objects.
--
-- Project, project_serviceRole - The ARN of the IAM role
-- that enables CodeBuild to interact with dependent Amazon Web Services
-- services on behalf of the Amazon Web Services account.
--
-- $sel:source:Project', project_source - Information about
-- the build input source code for this build project.
--
-- Project, project_sourceVersion - A version of the build
-- input to be built for this project. If not specified, the latest
-- version is used. If specified, it must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
--
-- $sel:tags:Project', project_tags - A list of tag key and
-- value pairs associated with this build project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
--
-- $sel:timeoutInMinutes:Project', project_timeoutInMinutes
-- - How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
-- before timing out any related build that did not get marked as
-- completed. The default is 60 minutes.
--
-- $sel:vpcConfig:Project', project_vpcConfig - Information
-- about the VPC configuration that CodeBuild accesses.
--
-- $sel:webhook:Project', project_webhook - Information
-- about a webhook that connects repository events to a build project in
-- CodeBuild.
newProject :: Project
-- | The Amazon Resource Name (ARN) of the build project.
project_arn :: Lens' Project (Maybe Text)
-- | Information about the build output artifacts for the build project.
project_artifacts :: Lens' Project (Maybe ProjectArtifacts)
-- | Information about the build badge for the build project.
project_badge :: Lens' Project (Maybe ProjectBadge)
-- | A ProjectBuildBatchConfig object that defines the batch build options
-- for the project.
project_buildBatchConfig :: Lens' Project (Maybe ProjectBuildBatchConfig)
-- | Information about the cache for the build project.
project_cache :: Lens' Project (Maybe ProjectCache)
-- | The maximum number of concurrent builds that are allowed for this
-- project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
project_concurrentBuildLimit :: Lens' Project (Maybe Int)
-- | When the build project was created, expressed in Unix time format.
project_created :: Lens' Project (Maybe UTCTime)
-- | A description that makes the build project easy to identify.
project_description :: Lens' Project (Maybe Text)
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>). If you don't specify a value,
-- CodeBuild uses the managed CMK for Amazon Simple Storage Service
-- (Amazon S3).
project_encryptionKey :: Lens' Project (Maybe Text)
-- | Information about the build environment for this build project.
project_environment :: Lens' Project (Maybe ProjectEnvironment)
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
project_fileSystemLocations :: Lens' Project (Maybe [ProjectFileSystemLocation])
-- | When the build project's settings were last modified, expressed in
-- Unix time format.
project_lastModified :: Lens' Project (Maybe UTCTime)
-- | Information about logs for the build project. A project can create
-- logs in CloudWatch Logs, an S3 bucket, or both.
project_logsConfig :: Lens' Project (Maybe LogsConfig)
-- | The name of the build project.
project_name :: Lens' Project (Maybe Text)
-- | Undocumented member.
project_projectVisibility :: Lens' Project (Maybe ProjectVisibilityType)
-- | Contains the project identifier used with the public build APIs.
project_publicProjectAlias :: Lens' Project (Maybe Text)
-- | The number of minutes a build is allowed to be queued before it times
-- out.
project_queuedTimeoutInMinutes :: Lens' Project (Maybe Natural)
-- | The ARN of the IAM role that enables CodeBuild to access the
-- CloudWatch Logs and Amazon S3 artifacts for the project's builds.
project_resourceAccessRole :: Lens' Project (Maybe Text)
-- | An array of ProjectArtifacts objects.
project_secondaryArtifacts :: Lens' Project (Maybe [ProjectArtifacts])
-- | An array of ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take over these secondarySourceVersions (at the project
-- level).
project_secondarySourceVersions :: Lens' Project (Maybe [ProjectSourceVersion])
-- | An array of ProjectSource objects.
project_secondarySources :: Lens' Project (Maybe [ProjectSource])
-- | The ARN of the IAM role that enables CodeBuild to interact with
-- dependent Amazon Web Services services on behalf of the Amazon Web
-- Services account.
project_serviceRole :: Lens' Project (Maybe Text)
-- | Information about the build input source code for this build project.
project_source :: Lens' Project (Maybe ProjectSource)
-- | A version of the build input to be built for this project. If not
-- specified, the latest version is used. If specified, it must be one
-- of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
project_sourceVersion :: Lens' Project (Maybe Text)
-- | A list of tag key and value pairs associated with this build project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
project_tags :: Lens' Project (Maybe [Tag])
-- | How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
-- before timing out any related build that did not get marked as
-- completed. The default is 60 minutes.
project_timeoutInMinutes :: Lens' Project (Maybe Natural)
-- | Information about the VPC configuration that CodeBuild accesses.
project_vpcConfig :: Lens' Project (Maybe VpcConfig)
-- | Information about a webhook that connects repository events to a build
-- project in CodeBuild.
project_webhook :: Lens' Project (Maybe Webhook)
-- | Information about the build output artifacts for the build project.
--
-- See: newProjectArtifacts smart constructor.
data ProjectArtifacts
ProjectArtifacts' :: Maybe Text -> Maybe BucketOwnerAccess -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe ArtifactNamespace -> Maybe Bool -> Maybe ArtifactPackaging -> Maybe Text -> ArtifactsType -> ProjectArtifacts
-- | An identifier for this artifact definition.
[$sel:artifactIdentifier:ProjectArtifacts'] :: ProjectArtifacts -> Maybe Text
[$sel:bucketOwnerAccess:ProjectArtifacts'] :: ProjectArtifacts -> Maybe BucketOwnerAccess
-- | Set to true if you do not want your output artifacts encrypted. This
-- option is valid only if your artifacts type is Amazon S3. If this is
-- set with another artifacts type, an invalidInputException is thrown.
[$sel:encryptionDisabled:ProjectArtifacts'] :: ProjectArtifacts -> Maybe Bool
-- | Information about the build output artifact location:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output locations instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output bucket.
--
[$sel:location:ProjectArtifacts'] :: ProjectArtifacts -> Maybe Text
-- | Along with path and namespaceType, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output artifact object. If you set the name to be a forward slash
-- ("/"), the artifact is stored in the root of the output bucket.
--
--
-- 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 is stored
-- in MyArtifacts/<build-ID>/MyArtifact.zip.
-- - If path is empty, namespaceType is set to
-- NONE, and name is set to "/", the output
-- artifact is stored in the root of the output bucket.
-- - If path is set to MyArtifacts,
-- namespaceType is set to BUILD_ID, and name
-- is set to "/", the output artifact is stored in
-- MyArtifacts/<build-ID>.
--
[$sel:name:ProjectArtifacts'] :: ProjectArtifacts -> Maybe Text
-- | Along with path and name, the pattern that CodeBuild
-- uses to determine the name and location to store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, 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, the output artifact is stored in
-- MyArtifacts/<build-ID>/MyArtifact.zip.
[$sel:namespaceType:ProjectArtifacts'] :: ProjectArtifacts -> Maybe ArtifactNamespace
-- | If this flag is set, a name specified in the buildspec file overrides
-- the artifact name. The name specified in a buildspec file is
-- calculated at build time and uses the Shell Command Language. For
-- example, you can append a date and time to your artifact name so that
-- it is always unique.
[$sel:overrideArtifactName:ProjectArtifacts'] :: ProjectArtifacts -> Maybe Bool
-- | The type of build output artifact to create:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output artifacts instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, valid values
-- include:
- NONE: CodeBuild creates in the output bucket
-- a folder that contains the build output. This is the default if
-- packaging is not specified.
- ZIP: CodeBuild
-- creates in the output bucket a ZIP file that contains the build
-- output.
--
[$sel:packaging:ProjectArtifacts'] :: ProjectArtifacts -> Maybe ArtifactPackaging
-- | Along with namespaceType and name, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the path to the
-- output artifact. If path is not specified, path is
-- not used.
--
--
-- For example, if path is set to MyArtifacts,
-- namespaceType is set to NONE, and name is
-- set to MyArtifact.zip, the output artifact is stored in the
-- output bucket at MyArtifacts/MyArtifact.zip.
[$sel:path:ProjectArtifacts'] :: ProjectArtifacts -> Maybe Text
-- | The type of build output artifact. Valid values include:
--
--
-- - CODEPIPELINE: The build project has build output
-- generated through CodePipeline.The CODEPIPELINE type is not
-- supported for secondaryArtifacts.
-- - NO_ARTIFACTS: The build project does not produce any
-- build output.
-- - S3: The build project stores build output in Amazon
-- S3.
--
[$sel:type':ProjectArtifacts'] :: ProjectArtifacts -> ArtifactsType
-- | Create a value of ProjectArtifacts with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:artifactIdentifier:ProjectArtifacts',
-- projectArtifacts_artifactIdentifier - An identifier for this
-- artifact definition.
--
-- $sel:bucketOwnerAccess:ProjectArtifacts',
-- projectArtifacts_bucketOwnerAccess - Undocumented member.
--
-- $sel:encryptionDisabled:ProjectArtifacts',
-- projectArtifacts_encryptionDisabled - Set to true if you do not
-- want your output artifacts encrypted. This option is valid only if
-- your artifacts type is Amazon S3. If this is set with another
-- artifacts type, an invalidInputException is thrown.
--
-- $sel:location:ProjectArtifacts',
-- projectArtifacts_location - Information about the build output
-- artifact location:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output locations instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output bucket.
--
--
-- $sel:name:ProjectArtifacts', projectArtifacts_name -
-- Along with path and namespaceType, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output artifact object. If you set the name to be a forward slash
-- ("/"), the artifact is stored in the root of the output bucket.
--
--
-- 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 is stored
-- in MyArtifacts/<build-ID>/MyArtifact.zip.
-- - If path is empty, namespaceType is set to
-- NONE, and name is set to "/", the output
-- artifact is stored in the root of the output bucket.
-- - If path is set to MyArtifacts,
-- namespaceType is set to BUILD_ID, and name
-- is set to "/", the output artifact is stored in
-- MyArtifacts/<build-ID>.
--
--
-- $sel:namespaceType:ProjectArtifacts',
-- projectArtifacts_namespaceType - Along with path and
-- name, the pattern that CodeBuild uses to determine the name
-- and location to store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, 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, the output artifact is stored in
-- MyArtifacts/<build-ID>/MyArtifact.zip.
--
-- $sel:overrideArtifactName:ProjectArtifacts',
-- projectArtifacts_overrideArtifactName - If this flag is set, a
-- name specified in the buildspec file overrides the artifact name. The
-- name specified in a buildspec file is calculated at build time and
-- uses the Shell Command Language. For example, you can append a date
-- and time to your artifact name so that it is always unique.
--
-- $sel:packaging:ProjectArtifacts',
-- projectArtifacts_packaging - The type of build output artifact
-- to create:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output artifacts instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, valid values
-- include:
- NONE: CodeBuild creates in the output bucket
-- a folder that contains the build output. This is the default if
-- packaging is not specified.
- ZIP: CodeBuild
-- creates in the output bucket a ZIP file that contains the build
-- output.
--
--
-- $sel:path:ProjectArtifacts', projectArtifacts_path -
-- Along with namespaceType and name, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the path to the
-- output artifact. If path is not specified, path is
-- not used.
--
--
-- For example, if path is set to MyArtifacts,
-- namespaceType is set to NONE, and name is
-- set to MyArtifact.zip, the output artifact is stored in the
-- output bucket at MyArtifacts/MyArtifact.zip.
--
-- $sel:type':ProjectArtifacts', projectArtifacts_type -
-- The type of build output artifact. Valid values include:
--
--
-- - CODEPIPELINE: The build project has build output
-- generated through CodePipeline.The CODEPIPELINE type is not
-- supported for secondaryArtifacts.
-- - NO_ARTIFACTS: The build project does not produce any
-- build output.
-- - S3: The build project stores build output in Amazon
-- S3.
--
newProjectArtifacts :: ArtifactsType -> ProjectArtifacts
-- | An identifier for this artifact definition.
projectArtifacts_artifactIdentifier :: Lens' ProjectArtifacts (Maybe Text)
-- | Undocumented member.
projectArtifacts_bucketOwnerAccess :: Lens' ProjectArtifacts (Maybe BucketOwnerAccess)
-- | Set to true if you do not want your output artifacts encrypted. This
-- option is valid only if your artifacts type is Amazon S3. If this is
-- set with another artifacts type, an invalidInputException is thrown.
projectArtifacts_encryptionDisabled :: Lens' ProjectArtifacts (Maybe Bool)
-- | Information about the build output artifact location:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output locations instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output bucket.
--
projectArtifacts_location :: Lens' ProjectArtifacts (Maybe Text)
-- | Along with path and namespaceType, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output artifact object. If you set the name to be a forward slash
-- ("/"), the artifact is stored in the root of the output bucket.
--
--
-- 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 is stored
-- in MyArtifacts/<build-ID>/MyArtifact.zip.
-- - If path is empty, namespaceType is set to
-- NONE, and name is set to "/", the output
-- artifact is stored in the root of the output bucket.
-- - If path is set to MyArtifacts,
-- namespaceType is set to BUILD_ID, and name
-- is set to "/", the output artifact is stored in
-- MyArtifacts/<build-ID>.
--
projectArtifacts_name :: Lens' ProjectArtifacts (Maybe Text)
-- | Along with path and name, the pattern that CodeBuild
-- uses to determine the name and location to store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, 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, the output artifact is stored in
-- MyArtifacts/<build-ID>/MyArtifact.zip.
projectArtifacts_namespaceType :: Lens' ProjectArtifacts (Maybe ArtifactNamespace)
-- | If this flag is set, a name specified in the buildspec file overrides
-- the artifact name. The name specified in a buildspec file is
-- calculated at build time and uses the Shell Command Language. For
-- example, you can append a date and time to your artifact name so that
-- it is always unique.
projectArtifacts_overrideArtifactName :: Lens' ProjectArtifacts (Maybe Bool)
-- | The type of build output artifact to create:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output artifacts instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, valid values
-- include:
- NONE: CodeBuild creates in the output bucket
-- a folder that contains the build output. This is the default if
-- packaging is not specified.
- ZIP: CodeBuild
-- creates in the output bucket a ZIP file that contains the build
-- output.
--
projectArtifacts_packaging :: Lens' ProjectArtifacts (Maybe ArtifactPackaging)
-- | Along with namespaceType and name, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the path to the
-- output artifact. If path is not specified, path is
-- not used.
--
--
-- For example, if path is set to MyArtifacts,
-- namespaceType is set to NONE, and name is
-- set to MyArtifact.zip, the output artifact is stored in the
-- output bucket at MyArtifacts/MyArtifact.zip.
projectArtifacts_path :: Lens' ProjectArtifacts (Maybe Text)
-- | The type of build output artifact. Valid values include:
--
--
-- - CODEPIPELINE: The build project has build output
-- generated through CodePipeline.The CODEPIPELINE type is not
-- supported for secondaryArtifacts.
-- - NO_ARTIFACTS: The build project does not produce any
-- build output.
-- - S3: The build project stores build output in Amazon
-- S3.
--
projectArtifacts_type :: Lens' ProjectArtifacts ArtifactsType
-- | Information about the build badge for the build project.
--
-- See: newProjectBadge smart constructor.
data ProjectBadge
ProjectBadge' :: Maybe Bool -> Maybe Text -> ProjectBadge
-- | Set this to true to generate a publicly accessible URL for your
-- project's build badge.
[$sel:badgeEnabled:ProjectBadge'] :: ProjectBadge -> Maybe Bool
-- | The publicly-accessible URL through which you can access the build
-- badge for your project.
[$sel:badgeRequestUrl:ProjectBadge'] :: ProjectBadge -> Maybe Text
-- | Create a value of ProjectBadge with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:badgeEnabled:ProjectBadge',
-- projectBadge_badgeEnabled - Set this to true to generate a
-- publicly accessible URL for your project's build badge.
--
-- $sel:badgeRequestUrl:ProjectBadge',
-- projectBadge_badgeRequestUrl - The publicly-accessible URL
-- through which you can access the build badge for your project.
newProjectBadge :: ProjectBadge
-- | Set this to true to generate a publicly accessible URL for your
-- project's build badge.
projectBadge_badgeEnabled :: Lens' ProjectBadge (Maybe Bool)
-- | The publicly-accessible URL through which you can access the build
-- badge for your project.
projectBadge_badgeRequestUrl :: Lens' ProjectBadge (Maybe Text)
-- | Contains configuration information about a batch build project.
--
-- See: newProjectBuildBatchConfig smart constructor.
data ProjectBuildBatchConfig
ProjectBuildBatchConfig' :: Maybe BatchReportModeType -> Maybe Bool -> Maybe BatchRestrictions -> Maybe Text -> Maybe Int -> ProjectBuildBatchConfig
-- | Specifies how build status reports are sent to the source provider for
-- the batch build. This property is only used when the source provider
-- for your project is Bitbucket, GitHub, or GitHub Enterprise, and your
-- project is configured to report build statuses to the source provider.
--
-- REPORT_AGGREGATED_BATCH Aggregate all of the build statuses
-- into a single status report.
--
--
-- - REPORT_INDIVIDUAL_BUILDS Send a separate status report for
-- each individual build.
--
[$sel:batchReportMode:ProjectBuildBatchConfig'] :: ProjectBuildBatchConfig -> Maybe BatchReportModeType
-- | Specifies if the build artifacts for the batch build should be
-- combined into a single artifact location.
[$sel:combineArtifacts:ProjectBuildBatchConfig'] :: ProjectBuildBatchConfig -> Maybe Bool
-- | A BatchRestrictions object that specifies the restrictions
-- for the batch build.
[$sel:restrictions:ProjectBuildBatchConfig'] :: ProjectBuildBatchConfig -> Maybe BatchRestrictions
-- | Specifies the service role ARN for the batch build project.
[$sel:serviceRole:ProjectBuildBatchConfig'] :: ProjectBuildBatchConfig -> Maybe Text
-- | Specifies the maximum amount of time, in minutes, that the batch build
-- must be completed in.
[$sel:timeoutInMins:ProjectBuildBatchConfig'] :: ProjectBuildBatchConfig -> Maybe Int
-- | Create a value of ProjectBuildBatchConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:batchReportMode:ProjectBuildBatchConfig',
-- projectBuildBatchConfig_batchReportMode - Specifies how build
-- status reports are sent to the source provider for the batch build.
-- This property is only used when the source provider for your project
-- is Bitbucket, GitHub, or GitHub Enterprise, and your project is
-- configured to report build statuses to the source provider.
--
-- REPORT_AGGREGATED_BATCH Aggregate all of the build statuses
-- into a single status report.
--
--
-- - REPORT_INDIVIDUAL_BUILDS Send a separate status report for
-- each individual build.
--
--
-- $sel:combineArtifacts:ProjectBuildBatchConfig',
-- projectBuildBatchConfig_combineArtifacts - Specifies if the
-- build artifacts for the batch build should be combined into a single
-- artifact location.
--
-- $sel:restrictions:ProjectBuildBatchConfig',
-- projectBuildBatchConfig_restrictions - A
-- BatchRestrictions object that specifies the restrictions for
-- the batch build.
--
-- $sel:serviceRole:ProjectBuildBatchConfig',
-- projectBuildBatchConfig_serviceRole - Specifies the service
-- role ARN for the batch build project.
--
-- $sel:timeoutInMins:ProjectBuildBatchConfig',
-- projectBuildBatchConfig_timeoutInMins - Specifies the maximum
-- amount of time, in minutes, that the batch build must be completed in.
newProjectBuildBatchConfig :: ProjectBuildBatchConfig
-- | Specifies how build status reports are sent to the source provider for
-- the batch build. This property is only used when the source provider
-- for your project is Bitbucket, GitHub, or GitHub Enterprise, and your
-- project is configured to report build statuses to the source provider.
--
-- REPORT_AGGREGATED_BATCH Aggregate all of the build statuses
-- into a single status report.
--
--
-- - REPORT_INDIVIDUAL_BUILDS Send a separate status report for
-- each individual build.
--
projectBuildBatchConfig_batchReportMode :: Lens' ProjectBuildBatchConfig (Maybe BatchReportModeType)
-- | Specifies if the build artifacts for the batch build should be
-- combined into a single artifact location.
projectBuildBatchConfig_combineArtifacts :: Lens' ProjectBuildBatchConfig (Maybe Bool)
-- | A BatchRestrictions object that specifies the restrictions
-- for the batch build.
projectBuildBatchConfig_restrictions :: Lens' ProjectBuildBatchConfig (Maybe BatchRestrictions)
-- | Specifies the service role ARN for the batch build project.
projectBuildBatchConfig_serviceRole :: Lens' ProjectBuildBatchConfig (Maybe Text)
-- | Specifies the maximum amount of time, in minutes, that the batch build
-- must be completed in.
projectBuildBatchConfig_timeoutInMins :: Lens' ProjectBuildBatchConfig (Maybe Int)
-- | Information about the cache for the build project.
--
-- See: newProjectCache smart constructor.
data ProjectCache
ProjectCache' :: Maybe Text -> Maybe [CacheMode] -> CacheType -> ProjectCache
-- | Information about the cache location:
--
--
-- - NO_CACHE or LOCAL: This value is ignored.
-- - S3: This is the S3 bucket name/prefix.
--
[$sel:location:ProjectCache'] :: ProjectCache -> Maybe Text
-- | An array of strings that specify the local cache modes. You can use
-- one or more local cache modes at the same time. This is only used for
-- LOCAL cache types.
--
-- Possible values are:
--
--
-- - LOCAL_SOURCE_CACHE Caches Git metadata for primary and
-- secondary sources. After the cache is created, subsequent builds pull
-- only the change between commits. This mode is a good choice for
-- projects with a clean working directory and a source that is a large
-- Git repository. If you choose this option and your project does not
-- use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the
-- option is ignored.
-- - LOCAL_DOCKER_LAYER_CACHE Caches existing Docker layers.
-- This mode is a good choice for projects that build or pull large
-- Docker images. It can prevent the performance issues caused by pulling
-- large Docker images down from the network.
- You can use a Docker
-- layer cache in the Linux environment only.
- The
-- privileged flag must be set so that your project has the
-- required Docker permissions.
- You should consider the security
-- implications before you use a Docker layer cache.
-- - LOCAL_CUSTOM_CACHE Caches directories you specify in the
-- buildspec file. This mode is a good choice if your build scenario is
-- not suited to one of the other three local cache modes. If you use a
-- custom cache:
- Only directories can be specified for caching.
-- You cannot specify individual files.
- Symlinks are used to
-- reference cached directories.
- Cached directories are linked to
-- your build before it downloads its project sources. Cached items are
-- overridden if a source item has the same name. Directories are
-- specified using cache paths in the buildspec file.
--
[$sel:modes:ProjectCache'] :: ProjectCache -> Maybe [CacheMode]
-- | The type of cache used by the build project. Valid values include:
--
--
-- - NO_CACHE: The build project does not use any cache.
-- - S3: The build project reads and writes from and to
-- S3.
-- - LOCAL: The build project stores a cache locally on a
-- build host that is only available to that build host.
--
[$sel:type':ProjectCache'] :: ProjectCache -> CacheType
-- | Create a value of ProjectCache with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:location:ProjectCache', projectCache_location -
-- Information about the cache location:
--
--
-- - NO_CACHE or LOCAL: This value is ignored.
-- - S3: This is the S3 bucket name/prefix.
--
--
-- $sel:modes:ProjectCache', projectCache_modes - An array
-- of strings that specify the local cache modes. You can use one or more
-- local cache modes at the same time. This is only used for
-- LOCAL cache types.
--
-- Possible values are:
--
--
-- - LOCAL_SOURCE_CACHE Caches Git metadata for primary and
-- secondary sources. After the cache is created, subsequent builds pull
-- only the change between commits. This mode is a good choice for
-- projects with a clean working directory and a source that is a large
-- Git repository. If you choose this option and your project does not
-- use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the
-- option is ignored.
-- - LOCAL_DOCKER_LAYER_CACHE Caches existing Docker layers.
-- This mode is a good choice for projects that build or pull large
-- Docker images. It can prevent the performance issues caused by pulling
-- large Docker images down from the network.
- You can use a Docker
-- layer cache in the Linux environment only.
- The
-- privileged flag must be set so that your project has the
-- required Docker permissions.
- You should consider the security
-- implications before you use a Docker layer cache.
-- - LOCAL_CUSTOM_CACHE Caches directories you specify in the
-- buildspec file. This mode is a good choice if your build scenario is
-- not suited to one of the other three local cache modes. If you use a
-- custom cache:
- Only directories can be specified for caching.
-- You cannot specify individual files.
- Symlinks are used to
-- reference cached directories.
- Cached directories are linked to
-- your build before it downloads its project sources. Cached items are
-- overridden if a source item has the same name. Directories are
-- specified using cache paths in the buildspec file.
--
--
-- $sel:type':ProjectCache', projectCache_type - The type
-- of cache used by the build project. Valid values include:
--
--
-- - NO_CACHE: The build project does not use any cache.
-- - S3: The build project reads and writes from and to
-- S3.
-- - LOCAL: The build project stores a cache locally on a
-- build host that is only available to that build host.
--
newProjectCache :: CacheType -> ProjectCache
-- | Information about the cache location:
--
--
-- - NO_CACHE or LOCAL: This value is ignored.
-- - S3: This is the S3 bucket name/prefix.
--
projectCache_location :: Lens' ProjectCache (Maybe Text)
-- | An array of strings that specify the local cache modes. You can use
-- one or more local cache modes at the same time. This is only used for
-- LOCAL cache types.
--
-- Possible values are:
--
--
-- - LOCAL_SOURCE_CACHE Caches Git metadata for primary and
-- secondary sources. After the cache is created, subsequent builds pull
-- only the change between commits. This mode is a good choice for
-- projects with a clean working directory and a source that is a large
-- Git repository. If you choose this option and your project does not
-- use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the
-- option is ignored.
-- - LOCAL_DOCKER_LAYER_CACHE Caches existing Docker layers.
-- This mode is a good choice for projects that build or pull large
-- Docker images. It can prevent the performance issues caused by pulling
-- large Docker images down from the network.
- You can use a Docker
-- layer cache in the Linux environment only.
- The
-- privileged flag must be set so that your project has the
-- required Docker permissions.
- You should consider the security
-- implications before you use a Docker layer cache.
-- - LOCAL_CUSTOM_CACHE Caches directories you specify in the
-- buildspec file. This mode is a good choice if your build scenario is
-- not suited to one of the other three local cache modes. If you use a
-- custom cache:
- Only directories can be specified for caching.
-- You cannot specify individual files.
- Symlinks are used to
-- reference cached directories.
- Cached directories are linked to
-- your build before it downloads its project sources. Cached items are
-- overridden if a source item has the same name. Directories are
-- specified using cache paths in the buildspec file.
--
projectCache_modes :: Lens' ProjectCache (Maybe [CacheMode])
-- | The type of cache used by the build project. Valid values include:
--
--
-- - NO_CACHE: The build project does not use any cache.
-- - S3: The build project reads and writes from and to
-- S3.
-- - LOCAL: The build project stores a cache locally on a
-- build host that is only available to that build host.
--
projectCache_type :: Lens' ProjectCache CacheType
-- | Information about the build environment of the build project.
--
-- See: newProjectEnvironment smart constructor.
data ProjectEnvironment
ProjectEnvironment' :: Maybe Text -> Maybe [EnvironmentVariable] -> Maybe ImagePullCredentialsType -> Maybe Bool -> Maybe RegistryCredential -> EnvironmentType -> Text -> ComputeType -> ProjectEnvironment
-- | The ARN of the Amazon S3 bucket, path prefix, and object key that
-- contains the PEM-encoded certificate for the build project. For more
-- information, see certificate in the CodeBuild User
-- Guide.
[$sel:certificate:ProjectEnvironment'] :: ProjectEnvironment -> Maybe Text
-- | A set of environment variables to make available to builds for this
-- build project.
[$sel:environmentVariables:ProjectEnvironment'] :: ProjectEnvironment -> Maybe [EnvironmentVariable]
-- | The type of credentials CodeBuild uses to pull images in your build.
-- There are two valid values:
--
--
-- - CODEBUILD specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild service principal.
-- - SERVICE_ROLE specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When you use a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When you use an CodeBuild curated image, you
-- must use CODEBUILD credentials.
[$sel:imagePullCredentialsType:ProjectEnvironment'] :: ProjectEnvironment -> Maybe ImagePullCredentialsType
-- | Enables running the Docker daemon inside a Docker container. Set to
-- true only if the build project is used to build Docker images.
-- Otherwise, a build that attempts to interact with the Docker daemon
-- fails. The default setting is false.
--
-- You can initialize the Docker daemon during the install phase of your
-- build by adding one of the following sets of commands to the install
-- phase of your buildspec file:
--
-- If the operating system's base image is Ubuntu Linux:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
--
--
-- If the operating system's base image is Alpine Linux and the previous
-- command does not work, add the -t argument to
-- timeout:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"
--
[$sel:privilegedMode:ProjectEnvironment'] :: ProjectEnvironment -> Maybe Bool
-- | The credentials for access to a private registry.
[$sel:registryCredential:ProjectEnvironment'] :: ProjectEnvironment -> Maybe RegistryCredential
-- | The type of build environment to use for related builds.
--
--
-- - The environment type ARM_CONTAINER is available only in
-- regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU
-- (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific
-- (Sydney), and EU (Frankfurt).
-- - The environment type LINUX_CONTAINER with compute type
-- build.general1.2xlarge is available only in regions US East
-- (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU
-- (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
-- Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney),
-- China (Beijing), and China (Ningxia).
-- - The environment type LINUX_GPU_CONTAINER is available
-- only in regions US East (N. Virginia), US East (Ohio), US West
-- (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt),
-- Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
-- Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
-- - The environment types WINDOWS_CONTAINER and
-- WINDOWS_SERVER_2019_CONTAINER are available only in regions
-- US East (N. Virginia), US East (Ohio), US West (Oregon), and EU
-- (Ireland).
--
--
-- For more information, see Build environment compute types in
-- the CodeBuild user guide.
[$sel:type':ProjectEnvironment'] :: ProjectEnvironment -> EnvironmentType
-- | The image tag or image digest that identifies the Docker image to use
-- for this build project. Use the following formats:
--
--
-- - For an image tag:
-- <registry>/<repository>:<tag>. For example,
-- in the Docker repository that CodeBuild uses to manage its Docker
-- images, this would be aws/codebuild/standard:4.0.
-- - For an image digest:
-- <registry>/<repository>@<digest>. For
-- example, to specify an image with the digest
-- "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
-- use
-- <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
--
--
-- For more information, see Docker images provided by CodeBuild
-- in the CodeBuild user guide.
[$sel:image:ProjectEnvironment'] :: ProjectEnvironment -> Text
-- | Information about the compute resources the build project uses.
-- 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 16 GB memory and 8 vCPUs
-- for builds, depending on your environment type.
-- - BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72
-- vCPUs, and 824 GB of SSD storage for builds. This compute type
-- supports Docker images up to 100 GB uncompressed.
--
--
-- If you use BUILD_GENERAL1_LARGE:
--
--
-- - For environment type LINUX_CONTAINER, you can use up to
-- 15 GB memory and 8 vCPUs for builds.
-- - For environment type LINUX_GPU_CONTAINER, you can use up
-- to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for
-- builds.
-- - For environment type ARM_CONTAINER, you can use up to 16
-- GB memory and 8 vCPUs on ARM-based processors for builds.
--
--
-- For more information, see Build Environment Compute Types in
-- the CodeBuild User Guide.
[$sel:computeType:ProjectEnvironment'] :: ProjectEnvironment -> ComputeType
-- | Create a value of ProjectEnvironment with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:certificate:ProjectEnvironment',
-- projectEnvironment_certificate - The ARN of the Amazon S3
-- bucket, path prefix, and object key that contains the PEM-encoded
-- certificate for the build project. For more information, see
-- certificate in the CodeBuild User Guide.
--
-- $sel:environmentVariables:ProjectEnvironment',
-- projectEnvironment_environmentVariables - A set of environment
-- variables to make available to builds for this build project.
--
-- $sel:imagePullCredentialsType:ProjectEnvironment',
-- projectEnvironment_imagePullCredentialsType - The type of
-- credentials CodeBuild uses to pull images in your build. There are two
-- valid values:
--
--
-- - CODEBUILD specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild service principal.
-- - SERVICE_ROLE specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When you use a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When you use an CodeBuild curated image, you
-- must use CODEBUILD credentials.
--
-- $sel:privilegedMode:ProjectEnvironment',
-- projectEnvironment_privilegedMode - Enables running the Docker
-- daemon inside a Docker container. Set to true only if the build
-- project is used to build Docker images. Otherwise, a build that
-- attempts to interact with the Docker daemon fails. The default setting
-- is false.
--
-- You can initialize the Docker daemon during the install phase of your
-- build by adding one of the following sets of commands to the install
-- phase of your buildspec file:
--
-- If the operating system's base image is Ubuntu Linux:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
--
--
-- If the operating system's base image is Alpine Linux and the previous
-- command does not work, add the -t argument to
-- timeout:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"
--
--
-- $sel:registryCredential:ProjectEnvironment',
-- projectEnvironment_registryCredential - The credentials for
-- access to a private registry.
--
-- ProjectEnvironment, projectEnvironment_type - The type
-- of build environment to use for related builds.
--
--
-- - The environment type ARM_CONTAINER is available only in
-- regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU
-- (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific
-- (Sydney), and EU (Frankfurt).
-- - The environment type LINUX_CONTAINER with compute type
-- build.general1.2xlarge is available only in regions US East
-- (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU
-- (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
-- Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney),
-- China (Beijing), and China (Ningxia).
-- - The environment type LINUX_GPU_CONTAINER is available
-- only in regions US East (N. Virginia), US East (Ohio), US West
-- (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt),
-- Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
-- Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
-- - The environment types WINDOWS_CONTAINER and
-- WINDOWS_SERVER_2019_CONTAINER are available only in regions
-- US East (N. Virginia), US East (Ohio), US West (Oregon), and EU
-- (Ireland).
--
--
-- For more information, see Build environment compute types in
-- the CodeBuild user guide.
--
-- $sel:image:ProjectEnvironment', projectEnvironment_image
-- - The image tag or image digest that identifies the Docker image to
-- use for this build project. Use the following formats:
--
--
-- - For an image tag:
-- <registry>/<repository>:<tag>. For example,
-- in the Docker repository that CodeBuild uses to manage its Docker
-- images, this would be aws/codebuild/standard:4.0.
-- - For an image digest:
-- <registry>/<repository>@<digest>. For
-- example, to specify an image with the digest
-- "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
-- use
-- <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
--
--
-- For more information, see Docker images provided by CodeBuild
-- in the CodeBuild user guide.
--
-- $sel:computeType:ProjectEnvironment',
-- projectEnvironment_computeType - Information about the compute
-- resources the build project uses. 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 16 GB memory and 8 vCPUs
-- for builds, depending on your environment type.
-- - BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72
-- vCPUs, and 824 GB of SSD storage for builds. This compute type
-- supports Docker images up to 100 GB uncompressed.
--
--
-- If you use BUILD_GENERAL1_LARGE:
--
--
-- - For environment type LINUX_CONTAINER, you can use up to
-- 15 GB memory and 8 vCPUs for builds.
-- - For environment type LINUX_GPU_CONTAINER, you can use up
-- to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for
-- builds.
-- - For environment type ARM_CONTAINER, you can use up to 16
-- GB memory and 8 vCPUs on ARM-based processors for builds.
--
--
-- For more information, see Build Environment Compute Types in
-- the CodeBuild User Guide.
newProjectEnvironment :: EnvironmentType -> Text -> ComputeType -> ProjectEnvironment
-- | The ARN of the Amazon S3 bucket, path prefix, and object key that
-- contains the PEM-encoded certificate for the build project. For more
-- information, see certificate in the CodeBuild User
-- Guide.
projectEnvironment_certificate :: Lens' ProjectEnvironment (Maybe Text)
-- | A set of environment variables to make available to builds for this
-- build project.
projectEnvironment_environmentVariables :: Lens' ProjectEnvironment (Maybe [EnvironmentVariable])
-- | The type of credentials CodeBuild uses to pull images in your build.
-- There are two valid values:
--
--
-- - CODEBUILD specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild service principal.
-- - SERVICE_ROLE specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When you use a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When you use an CodeBuild curated image, you
-- must use CODEBUILD credentials.
projectEnvironment_imagePullCredentialsType :: Lens' ProjectEnvironment (Maybe ImagePullCredentialsType)
-- | Enables running the Docker daemon inside a Docker container. Set to
-- true only if the build project is used to build Docker images.
-- Otherwise, a build that attempts to interact with the Docker daemon
-- fails. The default setting is false.
--
-- You can initialize the Docker daemon during the install phase of your
-- build by adding one of the following sets of commands to the install
-- phase of your buildspec file:
--
-- If the operating system's base image is Ubuntu Linux:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
--
--
-- If the operating system's base image is Alpine Linux and the previous
-- command does not work, add the -t argument to
-- timeout:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"
--
projectEnvironment_privilegedMode :: Lens' ProjectEnvironment (Maybe Bool)
-- | The credentials for access to a private registry.
projectEnvironment_registryCredential :: Lens' ProjectEnvironment (Maybe RegistryCredential)
-- | The type of build environment to use for related builds.
--
--
-- - The environment type ARM_CONTAINER is available only in
-- regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU
-- (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific
-- (Sydney), and EU (Frankfurt).
-- - The environment type LINUX_CONTAINER with compute type
-- build.general1.2xlarge is available only in regions US East
-- (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU
-- (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
-- Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney),
-- China (Beijing), and China (Ningxia).
-- - The environment type LINUX_GPU_CONTAINER is available
-- only in regions US East (N. Virginia), US East (Ohio), US West
-- (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt),
-- Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
-- Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
-- - The environment types WINDOWS_CONTAINER and
-- WINDOWS_SERVER_2019_CONTAINER are available only in regions
-- US East (N. Virginia), US East (Ohio), US West (Oregon), and EU
-- (Ireland).
--
--
-- For more information, see Build environment compute types in
-- the CodeBuild user guide.
projectEnvironment_type :: Lens' ProjectEnvironment EnvironmentType
-- | The image tag or image digest that identifies the Docker image to use
-- for this build project. Use the following formats:
--
--
-- - For an image tag:
-- <registry>/<repository>:<tag>. For example,
-- in the Docker repository that CodeBuild uses to manage its Docker
-- images, this would be aws/codebuild/standard:4.0.
-- - For an image digest:
-- <registry>/<repository>@<digest>. For
-- example, to specify an image with the digest
-- "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
-- use
-- <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
--
--
-- For more information, see Docker images provided by CodeBuild
-- in the CodeBuild user guide.
projectEnvironment_image :: Lens' ProjectEnvironment Text
-- | Information about the compute resources the build project uses.
-- 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 16 GB memory and 8 vCPUs
-- for builds, depending on your environment type.
-- - BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72
-- vCPUs, and 824 GB of SSD storage for builds. This compute type
-- supports Docker images up to 100 GB uncompressed.
--
--
-- If you use BUILD_GENERAL1_LARGE:
--
--
-- - For environment type LINUX_CONTAINER, you can use up to
-- 15 GB memory and 8 vCPUs for builds.
-- - For environment type LINUX_GPU_CONTAINER, you can use up
-- to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for
-- builds.
-- - For environment type ARM_CONTAINER, you can use up to 16
-- GB memory and 8 vCPUs on ARM-based processors for builds.
--
--
-- For more information, see Build Environment Compute Types in
-- the CodeBuild User Guide.
projectEnvironment_computeType :: Lens' ProjectEnvironment ComputeType
-- | Information about a file system created by Amazon Elastic File System
-- (EFS). For more information, see What Is Amazon Elastic File
-- System?
--
-- See: newProjectFileSystemLocation smart constructor.
data ProjectFileSystemLocation
ProjectFileSystemLocation' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe FileSystemType -> ProjectFileSystemLocation
-- | The name used to access a file system created by Amazon EFS. CodeBuild
-- creates an environment variable by appending the identifier
-- in all capital letters to CODEBUILD_. For example, if you
-- specify my_efs for identifier, a new environment
-- variable is create named CODEBUILD_MY_EFS.
--
-- The identifier is used to mount your file system.
[$sel:identifier:ProjectFileSystemLocation'] :: ProjectFileSystemLocation -> Maybe Text
-- | A string that specifies the location of the file system created by
-- Amazon EFS. Its format is efs-dns-name:/directory-path. You
-- can find the DNS name of file system when you view it in the Amazon
-- EFS console. The directory path is a path to a directory in the file
-- system that CodeBuild mounts. For example, if the DNS name of a file
-- system is fs-abcd1234.efs.us-west-2.amazonaws.com, and its
-- mount directory is my-efs-mount-directory, then the
-- location is
-- fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.
--
-- The directory path in the format efs-dns-name:/directory-path
-- is optional. If you do not specify a directory path, the location is
-- only the DNS name and CodeBuild mounts the entire file system.
[$sel:location:ProjectFileSystemLocation'] :: ProjectFileSystemLocation -> Maybe Text
-- | The mount options for a file system created by Amazon EFS. The default
-- mount options used by CodeBuild are
-- nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2.
-- For more information, see Recommended NFS Mount Options.
[$sel:mountOptions:ProjectFileSystemLocation'] :: ProjectFileSystemLocation -> Maybe Text
-- | The location in the container where you mount the file system.
[$sel:mountPoint:ProjectFileSystemLocation'] :: ProjectFileSystemLocation -> Maybe Text
-- | The type of the file system. The one supported type is EFS.
[$sel:type':ProjectFileSystemLocation'] :: ProjectFileSystemLocation -> Maybe FileSystemType
-- | Create a value of ProjectFileSystemLocation with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:identifier:ProjectFileSystemLocation',
-- projectFileSystemLocation_identifier - The name used to access
-- a file system created by Amazon EFS. CodeBuild creates an environment
-- variable by appending the identifier in all capital letters
-- to CODEBUILD_. For example, if you specify my_efs
-- for identifier, a new environment variable is create named
-- CODEBUILD_MY_EFS.
--
-- The identifier is used to mount your file system.
--
-- $sel:location:ProjectFileSystemLocation',
-- projectFileSystemLocation_location - A string that specifies
-- the location of the file system created by Amazon EFS. Its format is
-- efs-dns-name:/directory-path. You can find the DNS name of
-- file system when you view it in the Amazon EFS console. The directory
-- path is a path to a directory in the file system that CodeBuild
-- mounts. For example, if the DNS name of a file system is
-- fs-abcd1234.efs.us-west-2.amazonaws.com, and its mount
-- directory is my-efs-mount-directory, then the
-- location is
-- fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.
--
-- The directory path in the format efs-dns-name:/directory-path
-- is optional. If you do not specify a directory path, the location is
-- only the DNS name and CodeBuild mounts the entire file system.
--
-- $sel:mountOptions:ProjectFileSystemLocation',
-- projectFileSystemLocation_mountOptions - The mount options for
-- a file system created by Amazon EFS. The default mount options used by
-- CodeBuild are
-- nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2.
-- For more information, see Recommended NFS Mount Options.
--
-- $sel:mountPoint:ProjectFileSystemLocation',
-- projectFileSystemLocation_mountPoint - The location in the
-- container where you mount the file system.
--
-- $sel:type':ProjectFileSystemLocation',
-- projectFileSystemLocation_type - The type of the file system.
-- The one supported type is EFS.
newProjectFileSystemLocation :: ProjectFileSystemLocation
-- | The name used to access a file system created by Amazon EFS. CodeBuild
-- creates an environment variable by appending the identifier
-- in all capital letters to CODEBUILD_. For example, if you
-- specify my_efs for identifier, a new environment
-- variable is create named CODEBUILD_MY_EFS.
--
-- The identifier is used to mount your file system.
projectFileSystemLocation_identifier :: Lens' ProjectFileSystemLocation (Maybe Text)
-- | A string that specifies the location of the file system created by
-- Amazon EFS. Its format is efs-dns-name:/directory-path. You
-- can find the DNS name of file system when you view it in the Amazon
-- EFS console. The directory path is a path to a directory in the file
-- system that CodeBuild mounts. For example, if the DNS name of a file
-- system is fs-abcd1234.efs.us-west-2.amazonaws.com, and its
-- mount directory is my-efs-mount-directory, then the
-- location is
-- fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.
--
-- The directory path in the format efs-dns-name:/directory-path
-- is optional. If you do not specify a directory path, the location is
-- only the DNS name and CodeBuild mounts the entire file system.
projectFileSystemLocation_location :: Lens' ProjectFileSystemLocation (Maybe Text)
-- | The mount options for a file system created by Amazon EFS. The default
-- mount options used by CodeBuild are
-- nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2.
-- For more information, see Recommended NFS Mount Options.
projectFileSystemLocation_mountOptions :: Lens' ProjectFileSystemLocation (Maybe Text)
-- | The location in the container where you mount the file system.
projectFileSystemLocation_mountPoint :: Lens' ProjectFileSystemLocation (Maybe Text)
-- | The type of the file system. The one supported type is EFS.
projectFileSystemLocation_type :: Lens' ProjectFileSystemLocation (Maybe FileSystemType)
-- | Information about the build input source code for the build project.
--
-- See: newProjectSource smart constructor.
data ProjectSource
ProjectSource' :: Maybe SourceAuth -> Maybe BuildStatusConfig -> Maybe Text -> Maybe Natural -> Maybe GitSubmodulesConfig -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Text -> SourceType -> ProjectSource
-- | Information about the authorization settings for CodeBuild to access
-- the source code to be built.
--
-- This information is for the CodeBuild console's use only. Your code
-- should not get or set this information directly.
[$sel:auth:ProjectSource'] :: ProjectSource -> Maybe SourceAuth
-- | Contains information that defines how the build project reports the
-- build status to the source provider. This option is only used when the
-- source provider is GITHUB, GITHUB_ENTERPRISE, or
-- BITBUCKET.
[$sel:buildStatusConfig:ProjectSource'] :: ProjectSource -> Maybe BuildStatusConfig
-- | The buildspec file declaration to use for the builds in this build
-- project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
[$sel:buildspec:ProjectSource'] :: ProjectSource -> Maybe Text
-- | Information about the Git clone depth for the build project.
[$sel:gitCloneDepth:ProjectSource'] :: ProjectSource -> Maybe Natural
-- | Information about the Git submodules configuration for the build
-- project.
[$sel:gitSubmodulesConfig:ProjectSource'] :: ProjectSource -> Maybe GitSubmodulesConfig
-- | Enable this flag to ignore SSL warnings while connecting to the
-- project source code.
[$sel:insecureSsl:ProjectSource'] :: 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 CodePipeline, location should not be
-- specified. If it is specified, CodePipeline ignores it. This is
-- because CodePipeline uses the settings in a pipeline's source action
-- instead of this value.
-- - For source code in an CodeCommit repository, the HTTPS clone URL
-- to the repository that contains the source code and the buildspec file
-- (for example,
-- https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>).
-- - For source code in an Amazon S3 input bucket, one of the
-- following.
- The path to the ZIP file that contains the source
-- code (for example,
-- <bucket-name>/<path>/<object-name>.zip).
- The
-- path to the folder that contains the source code (for example,
-- <bucket-name>/<path-to-source-code>/<folder>/).
-- - For source code in a GitHub repository, the HTTPS clone URL to the
-- repository that contains the source and the buildspec file. You must
-- connect your Amazon Web Services account to your GitHub account. Use
-- the CodeBuild console to start creating a build project. When you use
-- the console to connect (or reconnect) with GitHub, on the GitHub
-- Authorize application page, for Organization access,
-- choose Request access next to each repository you want to allow
-- CodeBuild to have access to, and then choose __Authorize
-- application__. (After you have connected to your GitHub account, you
-- do not need to finish creating the build project. You can leave the
-- CodeBuild console.) To instruct CodeBuild to 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 buildspec file. You
-- must connect your Amazon Web Services account to your Bitbucket
-- account. Use the CodeBuild console to start creating a build project.
-- When you use the console to connect (or reconnect) with Bitbucket, on
-- the Bitbucket Confirm access to your account page, choose
-- Grant access. (After you have connected to your Bitbucket
-- account, you do not need to finish creating the build project. You can
-- leave the CodeBuild console.) To instruct CodeBuild to use this
-- connection, in the source object, set the auth
-- object's type value to OAUTH.
--
--
-- If you specify CODEPIPELINE for the Type property,
-- don't specify this property. For all of the other types, you must
-- specify Location.
[$sel:location:ProjectSource'] :: ProjectSource -> Maybe Text
-- | Set to true to report the status of a build's start and finish to your
-- source provider. This option is valid only when your source provider
-- is GitHub, GitHub Enterprise, or Bitbucket. If this is set and you use
-- a different source provider, an invalidInputException is
-- thrown.
--
-- To be able to report the build status to the source provider, the user
-- associated with the source provider must have write access to the
-- repo. If the user does not have write access, the build status cannot
-- be updated. For more information, see Source provider access in
-- the CodeBuild User Guide.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
--
-- If your project's builds are triggered by a webhook, you must push a
-- new commit to the repo for a change to this property to take effect.
[$sel:reportBuildStatus:ProjectSource'] :: ProjectSource -> Maybe Bool
-- | An identifier for this project source. The identifier can only contain
-- alphanumeric characters and underscores, and must be less than 128
-- characters in length.
[$sel:sourceIdentifier:ProjectSource'] :: ProjectSource -> Maybe Text
-- | 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 CodeCommit
-- repository.
-- - CODEPIPELINE: The source code settings are specified in
-- the source action of a pipeline in CodePipeline.
-- - GITHUB: The source code is in a GitHub or GitHub
-- Enterprise Cloud repository.
-- - GITHUB_ENTERPRISE: The source code is in a GitHub
-- Enterprise Server repository.
-- - NO_SOURCE: The project does not have input source
-- code.
-- - S3: The source code is in an Amazon S3 bucket.
--
[$sel:type':ProjectSource'] :: ProjectSource -> SourceType
-- | Create a value of ProjectSource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:auth:ProjectSource', projectSource_auth -
-- Information about the authorization settings for CodeBuild to access
-- the source code to be built.
--
-- This information is for the CodeBuild console's use only. Your code
-- should not get or set this information directly.
--
-- $sel:buildStatusConfig:ProjectSource',
-- projectSource_buildStatusConfig - Contains information that
-- defines how the build project reports the build status to the source
-- provider. This option is only used when the source provider is
-- GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
--
-- $sel:buildspec:ProjectSource', projectSource_buildspec -
-- The buildspec file declaration to use for the builds in this build
-- project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
--
-- $sel:gitCloneDepth:ProjectSource',
-- projectSource_gitCloneDepth - Information about the Git clone
-- depth for the build project.
--
-- $sel:gitSubmodulesConfig:ProjectSource',
-- projectSource_gitSubmodulesConfig - Information about the Git
-- submodules configuration for the build project.
--
-- $sel:insecureSsl:ProjectSource',
-- projectSource_insecureSsl - Enable this flag to ignore SSL
-- warnings while connecting to the project source code.
--
-- $sel:location:ProjectSource', projectSource_location -
-- 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 CodePipeline, location should not be
-- specified. If it is specified, CodePipeline ignores it. This is
-- because CodePipeline uses the settings in a pipeline's source action
-- instead of this value.
-- - For source code in an CodeCommit repository, the HTTPS clone URL
-- to the repository that contains the source code and the buildspec file
-- (for example,
-- https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>).
-- - For source code in an Amazon S3 input bucket, one of the
-- following.
- The path to the ZIP file that contains the source
-- code (for example,
-- <bucket-name>/<path>/<object-name>.zip).
- The
-- path to the folder that contains the source code (for example,
-- <bucket-name>/<path-to-source-code>/<folder>/).
-- - For source code in a GitHub repository, the HTTPS clone URL to the
-- repository that contains the source and the buildspec file. You must
-- connect your Amazon Web Services account to your GitHub account. Use
-- the CodeBuild console to start creating a build project. When you use
-- the console to connect (or reconnect) with GitHub, on the GitHub
-- Authorize application page, for Organization access,
-- choose Request access next to each repository you want to allow
-- CodeBuild to have access to, and then choose __Authorize
-- application__. (After you have connected to your GitHub account, you
-- do not need to finish creating the build project. You can leave the
-- CodeBuild console.) To instruct CodeBuild to 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 buildspec file. You
-- must connect your Amazon Web Services account to your Bitbucket
-- account. Use the CodeBuild console to start creating a build project.
-- When you use the console to connect (or reconnect) with Bitbucket, on
-- the Bitbucket Confirm access to your account page, choose
-- Grant access. (After you have connected to your Bitbucket
-- account, you do not need to finish creating the build project. You can
-- leave the CodeBuild console.) To instruct CodeBuild to use this
-- connection, in the source object, set the auth
-- object's type value to OAUTH.
--
--
-- If you specify CODEPIPELINE for the Type property,
-- don't specify this property. For all of the other types, you must
-- specify Location.
--
-- $sel:reportBuildStatus:ProjectSource',
-- projectSource_reportBuildStatus - Set to true to report the
-- status of a build's start and finish to your source provider. This
-- option is valid only when your source provider is GitHub, GitHub
-- Enterprise, or Bitbucket. If this is set and you use a different
-- source provider, an invalidInputException is thrown.
--
-- To be able to report the build status to the source provider, the user
-- associated with the source provider must have write access to the
-- repo. If the user does not have write access, the build status cannot
-- be updated. For more information, see Source provider access in
-- the CodeBuild User Guide.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
--
-- If your project's builds are triggered by a webhook, you must push a
-- new commit to the repo for a change to this property to take effect.
--
-- $sel:sourceIdentifier:ProjectSource',
-- projectSource_sourceIdentifier - An identifier for this project
-- source. The identifier can only contain alphanumeric characters and
-- underscores, and must be less than 128 characters in length.
--
-- ProjectSource, projectSource_type - 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 CodeCommit
-- repository.
-- - CODEPIPELINE: The source code settings are specified in
-- the source action of a pipeline in CodePipeline.
-- - GITHUB: The source code is in a GitHub or GitHub
-- Enterprise Cloud repository.
-- - GITHUB_ENTERPRISE: The source code is in a GitHub
-- Enterprise Server repository.
-- - NO_SOURCE: The project does not have input source
-- code.
-- - S3: The source code is in an Amazon S3 bucket.
--
newProjectSource :: SourceType -> ProjectSource
-- | Information about the authorization settings for CodeBuild to access
-- the source code to be built.
--
-- This information is for the CodeBuild console's use only. Your code
-- should not get or set this information directly.
projectSource_auth :: Lens' ProjectSource (Maybe SourceAuth)
-- | Contains information that defines how the build project reports the
-- build status to the source provider. This option is only used when the
-- source provider is GITHUB, GITHUB_ENTERPRISE, or
-- BITBUCKET.
projectSource_buildStatusConfig :: Lens' ProjectSource (Maybe BuildStatusConfig)
-- | The buildspec file declaration to use for the builds in this build
-- project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
projectSource_buildspec :: Lens' ProjectSource (Maybe Text)
-- | Information about the Git clone depth for the build project.
projectSource_gitCloneDepth :: Lens' ProjectSource (Maybe Natural)
-- | Information about the Git submodules configuration for the build
-- project.
projectSource_gitSubmodulesConfig :: Lens' ProjectSource (Maybe GitSubmodulesConfig)
-- | Enable this flag to ignore SSL warnings while connecting to the
-- project source code.
projectSource_insecureSsl :: 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 CodePipeline, location should not be
-- specified. If it is specified, CodePipeline ignores it. This is
-- because CodePipeline uses the settings in a pipeline's source action
-- instead of this value.
-- - For source code in an CodeCommit repository, the HTTPS clone URL
-- to the repository that contains the source code and the buildspec file
-- (for example,
-- https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>).
-- - For source code in an Amazon S3 input bucket, one of the
-- following.
- The path to the ZIP file that contains the source
-- code (for example,
-- <bucket-name>/<path>/<object-name>.zip).
- The
-- path to the folder that contains the source code (for example,
-- <bucket-name>/<path-to-source-code>/<folder>/).
-- - For source code in a GitHub repository, the HTTPS clone URL to the
-- repository that contains the source and the buildspec file. You must
-- connect your Amazon Web Services account to your GitHub account. Use
-- the CodeBuild console to start creating a build project. When you use
-- the console to connect (or reconnect) with GitHub, on the GitHub
-- Authorize application page, for Organization access,
-- choose Request access next to each repository you want to allow
-- CodeBuild to have access to, and then choose __Authorize
-- application__. (After you have connected to your GitHub account, you
-- do not need to finish creating the build project. You can leave the
-- CodeBuild console.) To instruct CodeBuild to 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 buildspec file. You
-- must connect your Amazon Web Services account to your Bitbucket
-- account. Use the CodeBuild console to start creating a build project.
-- When you use the console to connect (or reconnect) with Bitbucket, on
-- the Bitbucket Confirm access to your account page, choose
-- Grant access. (After you have connected to your Bitbucket
-- account, you do not need to finish creating the build project. You can
-- leave the CodeBuild console.) To instruct CodeBuild to use this
-- connection, in the source object, set the auth
-- object's type value to OAUTH.
--
--
-- If you specify CODEPIPELINE for the Type property,
-- don't specify this property. For all of the other types, you must
-- specify Location.
projectSource_location :: Lens' ProjectSource (Maybe Text)
-- | Set to true to report the status of a build's start and finish to your
-- source provider. This option is valid only when your source provider
-- is GitHub, GitHub Enterprise, or Bitbucket. If this is set and you use
-- a different source provider, an invalidInputException is
-- thrown.
--
-- To be able to report the build status to the source provider, the user
-- associated with the source provider must have write access to the
-- repo. If the user does not have write access, the build status cannot
-- be updated. For more information, see Source provider access in
-- the CodeBuild User Guide.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
--
-- If your project's builds are triggered by a webhook, you must push a
-- new commit to the repo for a change to this property to take effect.
projectSource_reportBuildStatus :: Lens' ProjectSource (Maybe Bool)
-- | An identifier for this project source. The identifier can only contain
-- alphanumeric characters and underscores, and must be less than 128
-- characters in length.
projectSource_sourceIdentifier :: Lens' ProjectSource (Maybe Text)
-- | 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 CodeCommit
-- repository.
-- - CODEPIPELINE: The source code settings are specified in
-- the source action of a pipeline in CodePipeline.
-- - GITHUB: The source code is in a GitHub or GitHub
-- Enterprise Cloud repository.
-- - GITHUB_ENTERPRISE: The source code is in a GitHub
-- Enterprise Server repository.
-- - NO_SOURCE: The project does not have input source
-- code.
-- - S3: The source code is in an Amazon S3 bucket.
--
projectSource_type :: Lens' ProjectSource SourceType
-- | A source identifier and its corresponding version.
--
-- See: newProjectSourceVersion smart constructor.
data ProjectSourceVersion
ProjectSourceVersion' :: Text -> Text -> ProjectSourceVersion
-- | An identifier for a source in the build project. The identifier can
-- only contain alphanumeric characters and underscores, and must be less
-- than 128 characters in length.
[$sel:sourceIdentifier:ProjectSourceVersion'] :: ProjectSourceVersion -> Text
-- | The source version for the corresponding source identifier. If
-- specified, must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
[$sel:sourceVersion:ProjectSourceVersion'] :: ProjectSourceVersion -> Text
-- | Create a value of ProjectSourceVersion with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:sourceIdentifier:ProjectSourceVersion',
-- projectSourceVersion_sourceIdentifier - An identifier for a
-- source in the build project. The identifier can only contain
-- alphanumeric characters and underscores, and must be less than 128
-- characters in length.
--
-- $sel:sourceVersion:ProjectSourceVersion',
-- projectSourceVersion_sourceVersion - The source version for the
-- corresponding source identifier. If specified, must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
newProjectSourceVersion :: Text -> Text -> ProjectSourceVersion
-- | An identifier for a source in the build project. The identifier can
-- only contain alphanumeric characters and underscores, and must be less
-- than 128 characters in length.
projectSourceVersion_sourceIdentifier :: Lens' ProjectSourceVersion Text
-- | The source version for the corresponding source identifier. If
-- specified, must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
projectSourceVersion_sourceVersion :: Lens' ProjectSourceVersion Text
-- | Information about credentials that provide access to a private Docker
-- registry. When this is set:
--
--
-- - imagePullCredentialsType must be set to
-- SERVICE_ROLE.
-- - images cannot be curated or an Amazon ECR image.
--
--
-- For more information, see Private Registry with Secrets Manager
-- Sample for CodeBuild.
--
-- See: newRegistryCredential smart constructor.
data RegistryCredential
RegistryCredential' :: Text -> CredentialProviderType -> RegistryCredential
-- | The Amazon Resource Name (ARN) or name of credentials created using
-- Secrets Manager.
--
-- The credential can use the name of the credentials only if
-- they exist in your current Amazon Web Services Region.
[$sel:credential:RegistryCredential'] :: RegistryCredential -> Text
-- | The service that created the credentials to access a private Docker
-- registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
[$sel:credentialProvider:RegistryCredential'] :: RegistryCredential -> CredentialProviderType
-- | Create a value of RegistryCredential with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:credential:RegistryCredential',
-- registryCredential_credential - The Amazon Resource Name (ARN)
-- or name of credentials created using Secrets Manager.
--
-- The credential can use the name of the credentials only if
-- they exist in your current Amazon Web Services Region.
--
-- $sel:credentialProvider:RegistryCredential',
-- registryCredential_credentialProvider - The service that
-- created the credentials to access a private Docker registry. The valid
-- value, SECRETS_MANAGER, is for Secrets Manager.
newRegistryCredential :: Text -> CredentialProviderType -> RegistryCredential
-- | The Amazon Resource Name (ARN) or name of credentials created using
-- Secrets Manager.
--
-- The credential can use the name of the credentials only if
-- they exist in your current Amazon Web Services Region.
registryCredential_credential :: Lens' RegistryCredential Text
-- | The service that created the credentials to access a private Docker
-- registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
registryCredential_credentialProvider :: Lens' RegistryCredential CredentialProviderType
-- | Information about the results from running a series of test cases
-- during the run of a build project. The test cases are specified in the
-- buildspec for the build project using one or more paths to the test
-- case files. You can specify any type of tests you want, such as unit
-- tests, integration tests, and functional tests.
--
-- See: newReport smart constructor.
data Report
Report' :: Maybe Text -> Maybe CodeCoverageReportSummary -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe ReportExportConfig -> Maybe Text -> Maybe Text -> Maybe ReportStatusType -> Maybe TestReportSummary -> Maybe Bool -> Maybe ReportType -> Report
-- | The ARN of the report run.
[$sel:arn:Report'] :: Report -> Maybe Text
-- | A CodeCoverageReportSummary object that contains a code
-- coverage summary for this report.
[$sel:codeCoverageSummary:Report'] :: Report -> Maybe CodeCoverageReportSummary
-- | The date and time this report run occurred.
[$sel:created:Report'] :: Report -> Maybe POSIX
-- | The ARN of the build run that generated this report.
[$sel:executionId:Report'] :: Report -> Maybe Text
-- | The date and time a report expires. A report expires 30 days after it
-- is created. An expired report is not available to view in CodeBuild.
[$sel:expired:Report'] :: Report -> Maybe POSIX
-- | Information about where the raw data used to generate this report was
-- exported.
[$sel:exportConfig:Report'] :: Report -> Maybe ReportExportConfig
-- | The name of the report that was run.
[$sel:name:Report'] :: Report -> Maybe Text
-- | The ARN of the report group associated with this report.
[$sel:reportGroupArn:Report'] :: Report -> Maybe Text
-- | The status of this report.
[$sel:status:Report'] :: Report -> Maybe ReportStatusType
-- | A TestReportSummary object that contains information about
-- this test report.
[$sel:testSummary:Report'] :: Report -> Maybe TestReportSummary
-- | A boolean that specifies if this report run is truncated. The list of
-- test cases is truncated after the maximum number of test cases is
-- reached.
[$sel:truncated:Report'] :: Report -> Maybe Bool
-- | The type of the report that was run.
--
--
-- - CODE_COVERAGE A code coverage report.
-- - TEST A test report.
--
[$sel:type':Report'] :: Report -> Maybe ReportType
-- | Create a value of Report with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:Report', report_arn - The ARN of the report
-- run.
--
-- $sel:codeCoverageSummary:Report',
-- report_codeCoverageSummary - A
-- CodeCoverageReportSummary object that contains a code
-- coverage summary for this report.
--
-- $sel:created:Report', report_created - The date and time
-- this report run occurred.
--
-- $sel:executionId:Report', report_executionId - The ARN
-- of the build run that generated this report.
--
-- $sel:expired:Report', report_expired - The date and time
-- a report expires. A report expires 30 days after it is created. An
-- expired report is not available to view in CodeBuild.
--
-- $sel:exportConfig:Report', report_exportConfig -
-- Information about where the raw data used to generate this report was
-- exported.
--
-- $sel:name:Report', report_name - The name of the report
-- that was run.
--
-- $sel:reportGroupArn:Report', report_reportGroupArn - The
-- ARN of the report group associated with this report.
--
-- $sel:status:Report', report_status - The status of this
-- report.
--
-- $sel:testSummary:Report', report_testSummary - A
-- TestReportSummary object that contains information about this
-- test report.
--
-- $sel:truncated:Report', report_truncated - A boolean
-- that specifies if this report run is truncated. The list of test cases
-- is truncated after the maximum number of test cases is reached.
--
-- $sel:type':Report', report_type - The type of the report
-- that was run.
--
--
-- - CODE_COVERAGE A code coverage report.
-- - TEST A test report.
--
newReport :: Report
-- | The ARN of the report run.
report_arn :: Lens' Report (Maybe Text)
-- | A CodeCoverageReportSummary object that contains a code
-- coverage summary for this report.
report_codeCoverageSummary :: Lens' Report (Maybe CodeCoverageReportSummary)
-- | The date and time this report run occurred.
report_created :: Lens' Report (Maybe UTCTime)
-- | The ARN of the build run that generated this report.
report_executionId :: Lens' Report (Maybe Text)
-- | The date and time a report expires. A report expires 30 days after it
-- is created. An expired report is not available to view in CodeBuild.
report_expired :: Lens' Report (Maybe UTCTime)
-- | Information about where the raw data used to generate this report was
-- exported.
report_exportConfig :: Lens' Report (Maybe ReportExportConfig)
-- | The name of the report that was run.
report_name :: Lens' Report (Maybe Text)
-- | The ARN of the report group associated with this report.
report_reportGroupArn :: Lens' Report (Maybe Text)
-- | The status of this report.
report_status :: Lens' Report (Maybe ReportStatusType)
-- | A TestReportSummary object that contains information about
-- this test report.
report_testSummary :: Lens' Report (Maybe TestReportSummary)
-- | A boolean that specifies if this report run is truncated. The list of
-- test cases is truncated after the maximum number of test cases is
-- reached.
report_truncated :: Lens' Report (Maybe Bool)
-- | The type of the report that was run.
--
--
-- - CODE_COVERAGE A code coverage report.
-- - TEST A test report.
--
report_type :: Lens' Report (Maybe ReportType)
-- | Information about the location where the run of a report is exported.
--
-- See: newReportExportConfig smart constructor.
data ReportExportConfig
ReportExportConfig' :: Maybe ReportExportConfigType -> Maybe S3ReportExportConfig -> ReportExportConfig
-- | The export configuration type. Valid values are:
--
--
-- - S3: The report results are exported to an S3 bucket.
-- - NO_EXPORT: The report results are not exported.
--
[$sel:exportConfigType:ReportExportConfig'] :: ReportExportConfig -> Maybe ReportExportConfigType
-- | A S3ReportExportConfig object that contains information about
-- the S3 bucket where the run of a report is exported.
[$sel:s3Destination:ReportExportConfig'] :: ReportExportConfig -> Maybe S3ReportExportConfig
-- | Create a value of ReportExportConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:exportConfigType:ReportExportConfig',
-- reportExportConfig_exportConfigType - The export configuration
-- type. Valid values are:
--
--
-- - S3: The report results are exported to an S3 bucket.
-- - NO_EXPORT: The report results are not exported.
--
--
-- $sel:s3Destination:ReportExportConfig',
-- reportExportConfig_s3Destination - A
-- S3ReportExportConfig object that contains information about
-- the S3 bucket where the run of a report is exported.
newReportExportConfig :: ReportExportConfig
-- | The export configuration type. Valid values are:
--
--
-- - S3: The report results are exported to an S3 bucket.
-- - NO_EXPORT: The report results are not exported.
--
reportExportConfig_exportConfigType :: Lens' ReportExportConfig (Maybe ReportExportConfigType)
-- | A S3ReportExportConfig object that contains information about
-- the S3 bucket where the run of a report is exported.
reportExportConfig_s3Destination :: Lens' ReportExportConfig (Maybe S3ReportExportConfig)
-- | A filter used to return reports with the status specified by the input
-- status parameter.
--
-- See: newReportFilter smart constructor.
data ReportFilter
ReportFilter' :: Maybe ReportStatusType -> ReportFilter
-- | The status used to filter reports. You can filter using one status
-- only.
[$sel:status:ReportFilter'] :: ReportFilter -> Maybe ReportStatusType
-- | Create a value of ReportFilter with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:status:ReportFilter', reportFilter_status - The
-- status used to filter reports. You can filter using one status only.
newReportFilter :: ReportFilter
-- | The status used to filter reports. You can filter using one status
-- only.
reportFilter_status :: Lens' ReportFilter (Maybe ReportStatusType)
-- | A series of reports. Each report contains information about the
-- results from running a series of test cases. You specify the test
-- cases for a report group in the buildspec for a build project using
-- one or more paths to the test case files.
--
-- See: newReportGroup smart constructor.
data ReportGroup
ReportGroup' :: Maybe Text -> Maybe POSIX -> Maybe ReportExportConfig -> Maybe POSIX -> Maybe Text -> Maybe ReportGroupStatusType -> Maybe [Tag] -> Maybe ReportType -> ReportGroup
-- | The ARN of the ReportGroup.
[$sel:arn:ReportGroup'] :: ReportGroup -> Maybe Text
-- | The date and time this ReportGroup was created.
[$sel:created:ReportGroup'] :: ReportGroup -> Maybe POSIX
-- | Information about the destination where the raw data of this
-- ReportGroup is exported.
[$sel:exportConfig:ReportGroup'] :: ReportGroup -> Maybe ReportExportConfig
-- | The date and time this ReportGroup was last modified.
[$sel:lastModified:ReportGroup'] :: ReportGroup -> Maybe POSIX
-- | The name of the ReportGroup.
[$sel:name:ReportGroup'] :: ReportGroup -> Maybe Text
-- | The status of the report group. This property is read-only.
--
-- This can be one of the following values:
--
--
-- - ACTIVE The report group is active.
-- - DELETING The report group is in the process of being
-- deleted.
--
[$sel:status:ReportGroup'] :: ReportGroup -> Maybe ReportGroupStatusType
-- | A list of tag key and value pairs associated with this report group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
[$sel:tags:ReportGroup'] :: ReportGroup -> Maybe [Tag]
-- | The type of the ReportGroup. This can be one of the following
-- values:
--
--
-- - CODE_COVERAGE The report group contains code coverage
-- reports.
-- - TEST The report group contains test reports.
--
[$sel:type':ReportGroup'] :: ReportGroup -> Maybe ReportType
-- | Create a value of ReportGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:ReportGroup', reportGroup_arn - The ARN of the
-- ReportGroup.
--
-- $sel:created:ReportGroup', reportGroup_created - The
-- date and time this ReportGroup was created.
--
-- $sel:exportConfig:ReportGroup', reportGroup_exportConfig
-- - Information about the destination where the raw data of this
-- ReportGroup is exported.
--
-- $sel:lastModified:ReportGroup', reportGroup_lastModified
-- - The date and time this ReportGroup was last modified.
--
-- $sel:name:ReportGroup', reportGroup_name - The name of
-- the ReportGroup.
--
-- $sel:status:ReportGroup', reportGroup_status - The
-- status of the report group. This property is read-only.
--
-- This can be one of the following values:
--
--
-- - ACTIVE The report group is active.
-- - DELETING The report group is in the process of being
-- deleted.
--
--
-- $sel:tags:ReportGroup', reportGroup_tags - A list of tag
-- key and value pairs associated with this report group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
--
-- $sel:type':ReportGroup', reportGroup_type - The type of
-- the ReportGroup. This can be one of the following values:
--
--
-- - CODE_COVERAGE The report group contains code coverage
-- reports.
-- - TEST The report group contains test reports.
--
newReportGroup :: ReportGroup
-- | The ARN of the ReportGroup.
reportGroup_arn :: Lens' ReportGroup (Maybe Text)
-- | The date and time this ReportGroup was created.
reportGroup_created :: Lens' ReportGroup (Maybe UTCTime)
-- | Information about the destination where the raw data of this
-- ReportGroup is exported.
reportGroup_exportConfig :: Lens' ReportGroup (Maybe ReportExportConfig)
-- | The date and time this ReportGroup was last modified.
reportGroup_lastModified :: Lens' ReportGroup (Maybe UTCTime)
-- | The name of the ReportGroup.
reportGroup_name :: Lens' ReportGroup (Maybe Text)
-- | The status of the report group. This property is read-only.
--
-- This can be one of the following values:
--
--
-- - ACTIVE The report group is active.
-- - DELETING The report group is in the process of being
-- deleted.
--
reportGroup_status :: Lens' ReportGroup (Maybe ReportGroupStatusType)
-- | A list of tag key and value pairs associated with this report group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
reportGroup_tags :: Lens' ReportGroup (Maybe [Tag])
-- | The type of the ReportGroup. This can be one of the following
-- values:
--
--
-- - CODE_COVERAGE The report group contains code coverage
-- reports.
-- - TEST The report group contains test reports.
--
reportGroup_type :: Lens' ReportGroup (Maybe ReportType)
-- | Contains trend statistics for a set of reports. The actual values
-- depend on the type of trend being collected. For more information, see
-- .
--
-- See: newReportGroupTrendStats smart constructor.
data ReportGroupTrendStats
ReportGroupTrendStats' :: Maybe Text -> Maybe Text -> Maybe Text -> ReportGroupTrendStats
-- | Contains the average of all values analyzed.
[$sel:average:ReportGroupTrendStats'] :: ReportGroupTrendStats -> Maybe Text
-- | Contains the maximum value analyzed.
[$sel:max:ReportGroupTrendStats'] :: ReportGroupTrendStats -> Maybe Text
-- | Contains the minimum value analyzed.
[$sel:min:ReportGroupTrendStats'] :: ReportGroupTrendStats -> Maybe Text
-- | Create a value of ReportGroupTrendStats with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:average:ReportGroupTrendStats',
-- reportGroupTrendStats_average - Contains the average of all
-- values analyzed.
--
-- $sel:max:ReportGroupTrendStats',
-- reportGroupTrendStats_max - Contains the maximum value
-- analyzed.
--
-- $sel:min:ReportGroupTrendStats',
-- reportGroupTrendStats_min - Contains the minimum value
-- analyzed.
newReportGroupTrendStats :: ReportGroupTrendStats
-- | Contains the average of all values analyzed.
reportGroupTrendStats_average :: Lens' ReportGroupTrendStats (Maybe Text)
-- | Contains the maximum value analyzed.
reportGroupTrendStats_max :: Lens' ReportGroupTrendStats (Maybe Text)
-- | Contains the minimum value analyzed.
reportGroupTrendStats_min :: Lens' ReportGroupTrendStats (Maybe Text)
-- | Contains the unmodified data for the report. For more information, see
-- .
--
-- See: newReportWithRawData smart constructor.
data ReportWithRawData
ReportWithRawData' :: Maybe Text -> Maybe Text -> ReportWithRawData
-- | The value of the requested data field from the report.
[$sel:data':ReportWithRawData'] :: ReportWithRawData -> Maybe Text
-- | The ARN of the report.
[$sel:reportArn:ReportWithRawData'] :: ReportWithRawData -> Maybe Text
-- | Create a value of ReportWithRawData with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:data':ReportWithRawData', reportWithRawData_data -
-- The value of the requested data field from the report.
--
-- $sel:reportArn:ReportWithRawData',
-- reportWithRawData_reportArn - The ARN of the report.
newReportWithRawData :: ReportWithRawData
-- | The value of the requested data field from the report.
reportWithRawData_data :: Lens' ReportWithRawData (Maybe Text)
-- | The ARN of the report.
reportWithRawData_reportArn :: Lens' ReportWithRawData (Maybe Text)
-- | Represents a resolved build artifact. A resolved artifact is an
-- artifact that is built and deployed to the destination, such as Amazon
-- S3.
--
-- See: newResolvedArtifact smart constructor.
data ResolvedArtifact
ResolvedArtifact' :: Maybe Text -> Maybe Text -> Maybe ArtifactsType -> ResolvedArtifact
-- | The identifier of the artifact.
[$sel:identifier:ResolvedArtifact'] :: ResolvedArtifact -> Maybe Text
-- | The location of the artifact.
[$sel:location:ResolvedArtifact'] :: ResolvedArtifact -> Maybe Text
-- | Specifies the type of artifact.
[$sel:type':ResolvedArtifact'] :: ResolvedArtifact -> Maybe ArtifactsType
-- | Create a value of ResolvedArtifact with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:identifier:ResolvedArtifact',
-- resolvedArtifact_identifier - The identifier of the artifact.
--
-- $sel:location:ResolvedArtifact',
-- resolvedArtifact_location - The location of the artifact.
--
-- $sel:type':ResolvedArtifact', resolvedArtifact_type -
-- Specifies the type of artifact.
newResolvedArtifact :: ResolvedArtifact
-- | The identifier of the artifact.
resolvedArtifact_identifier :: Lens' ResolvedArtifact (Maybe Text)
-- | The location of the artifact.
resolvedArtifact_location :: Lens' ResolvedArtifact (Maybe Text)
-- | Specifies the type of artifact.
resolvedArtifact_type :: Lens' ResolvedArtifact (Maybe ArtifactsType)
-- | Information about S3 logs for a build project.
--
-- See: newS3LogsConfig smart constructor.
data S3LogsConfig
S3LogsConfig' :: Maybe BucketOwnerAccess -> Maybe Bool -> Maybe Text -> LogsConfigStatusType -> S3LogsConfig
[$sel:bucketOwnerAccess:S3LogsConfig'] :: S3LogsConfig -> Maybe BucketOwnerAccess
-- | Set to true if you do not want your S3 build log output encrypted. By
-- default S3 build logs are encrypted.
[$sel:encryptionDisabled:S3LogsConfig'] :: S3LogsConfig -> Maybe Bool
-- | The ARN of an S3 bucket and the path prefix for S3 logs. If your
-- Amazon S3 bucket name is my-bucket, and your path prefix is
-- build-log, then acceptable formats are
-- my-bucket/build-log or
-- arn:aws:s3:::my-bucket/build-log.
[$sel:location:S3LogsConfig'] :: S3LogsConfig -> Maybe Text
-- | The current status of the S3 build logs. Valid values are:
--
--
-- - ENABLED: S3 build logs are enabled for this build
-- project.
-- - DISABLED: S3 build logs are not enabled for this build
-- project.
--
[$sel:status:S3LogsConfig'] :: S3LogsConfig -> LogsConfigStatusType
-- | Create a value of S3LogsConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:bucketOwnerAccess:S3LogsConfig',
-- s3LogsConfig_bucketOwnerAccess - Undocumented member.
--
-- $sel:encryptionDisabled:S3LogsConfig',
-- s3LogsConfig_encryptionDisabled - Set to true if you do not
-- want your S3 build log output encrypted. By default S3 build logs are
-- encrypted.
--
-- $sel:location:S3LogsConfig', s3LogsConfig_location - The
-- ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3
-- bucket name is my-bucket, and your path prefix is
-- build-log, then acceptable formats are
-- my-bucket/build-log or
-- arn:aws:s3:::my-bucket/build-log.
--
-- $sel:status:S3LogsConfig', s3LogsConfig_status - The
-- current status of the S3 build logs. Valid values are:
--
--
-- - ENABLED: S3 build logs are enabled for this build
-- project.
-- - DISABLED: S3 build logs are not enabled for this build
-- project.
--
newS3LogsConfig :: LogsConfigStatusType -> S3LogsConfig
-- | Undocumented member.
s3LogsConfig_bucketOwnerAccess :: Lens' S3LogsConfig (Maybe BucketOwnerAccess)
-- | Set to true if you do not want your S3 build log output encrypted. By
-- default S3 build logs are encrypted.
s3LogsConfig_encryptionDisabled :: Lens' S3LogsConfig (Maybe Bool)
-- | The ARN of an S3 bucket and the path prefix for S3 logs. If your
-- Amazon S3 bucket name is my-bucket, and your path prefix is
-- build-log, then acceptable formats are
-- my-bucket/build-log or
-- arn:aws:s3:::my-bucket/build-log.
s3LogsConfig_location :: Lens' S3LogsConfig (Maybe Text)
-- | The current status of the S3 build logs. Valid values are:
--
--
-- - ENABLED: S3 build logs are enabled for this build
-- project.
-- - DISABLED: S3 build logs are not enabled for this build
-- project.
--
s3LogsConfig_status :: Lens' S3LogsConfig LogsConfigStatusType
-- | Information about the S3 bucket where the raw data of a report are
-- exported.
--
-- See: newS3ReportExportConfig smart constructor.
data S3ReportExportConfig
S3ReportExportConfig' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe ReportPackagingType -> Maybe Text -> S3ReportExportConfig
-- | The name of the S3 bucket where the raw data of a report are exported.
[$sel:bucket:S3ReportExportConfig'] :: S3ReportExportConfig -> Maybe Text
-- | The Amazon Web Services account identifier of the owner of the Amazon
-- S3 bucket. This allows report data to be exported to an Amazon S3
-- bucket that is owned by an account other than the account running the
-- build.
[$sel:bucketOwner:S3ReportExportConfig'] :: S3ReportExportConfig -> Maybe Text
-- | A boolean value that specifies if the results of a report are
-- encrypted.
[$sel:encryptionDisabled:S3ReportExportConfig'] :: S3ReportExportConfig -> Maybe Bool
-- | The encryption key for the report's encrypted raw data.
[$sel:encryptionKey:S3ReportExportConfig'] :: S3ReportExportConfig -> Maybe Text
-- | The type of build output artifact to create. Valid values include:
--
--
-- - NONE: CodeBuild creates the raw data in the output
-- bucket. This is the default if packaging is not specified.
-- - ZIP: CodeBuild creates a ZIP file with the raw data in
-- the output bucket.
--
[$sel:packaging:S3ReportExportConfig'] :: S3ReportExportConfig -> Maybe ReportPackagingType
-- | The path to the exported report's raw data results.
[$sel:path:S3ReportExportConfig'] :: S3ReportExportConfig -> Maybe Text
-- | Create a value of S3ReportExportConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:bucket:S3ReportExportConfig',
-- s3ReportExportConfig_bucket - The name of the S3 bucket where
-- the raw data of a report are exported.
--
-- $sel:bucketOwner:S3ReportExportConfig',
-- s3ReportExportConfig_bucketOwner - The Amazon Web Services
-- account identifier of the owner of the Amazon S3 bucket. This allows
-- report data to be exported to an Amazon S3 bucket that is owned by an
-- account other than the account running the build.
--
-- $sel:encryptionDisabled:S3ReportExportConfig',
-- s3ReportExportConfig_encryptionDisabled - A boolean value that
-- specifies if the results of a report are encrypted.
--
-- $sel:encryptionKey:S3ReportExportConfig',
-- s3ReportExportConfig_encryptionKey - The encryption key for the
-- report's encrypted raw data.
--
-- $sel:packaging:S3ReportExportConfig',
-- s3ReportExportConfig_packaging - The type of build output
-- artifact to create. Valid values include:
--
--
-- - NONE: CodeBuild creates the raw data in the output
-- bucket. This is the default if packaging is not specified.
-- - ZIP: CodeBuild creates a ZIP file with the raw data in
-- the output bucket.
--
--
-- $sel:path:S3ReportExportConfig',
-- s3ReportExportConfig_path - The path to the exported report's
-- raw data results.
newS3ReportExportConfig :: S3ReportExportConfig
-- | The name of the S3 bucket where the raw data of a report are exported.
s3ReportExportConfig_bucket :: Lens' S3ReportExportConfig (Maybe Text)
-- | The Amazon Web Services account identifier of the owner of the Amazon
-- S3 bucket. This allows report data to be exported to an Amazon S3
-- bucket that is owned by an account other than the account running the
-- build.
s3ReportExportConfig_bucketOwner :: Lens' S3ReportExportConfig (Maybe Text)
-- | A boolean value that specifies if the results of a report are
-- encrypted.
s3ReportExportConfig_encryptionDisabled :: Lens' S3ReportExportConfig (Maybe Bool)
-- | The encryption key for the report's encrypted raw data.
s3ReportExportConfig_encryptionKey :: Lens' S3ReportExportConfig (Maybe Text)
-- | The type of build output artifact to create. Valid values include:
--
--
-- - NONE: CodeBuild creates the raw data in the output
-- bucket. This is the default if packaging is not specified.
-- - ZIP: CodeBuild creates a ZIP file with the raw data in
-- the output bucket.
--
s3ReportExportConfig_packaging :: Lens' S3ReportExportConfig (Maybe ReportPackagingType)
-- | The path to the exported report's raw data results.
s3ReportExportConfig_path :: Lens' S3ReportExportConfig (Maybe Text)
-- | Information about the authorization settings for CodeBuild to access
-- the source code to be built.
--
-- This information is for the CodeBuild console's use only. Your code
-- should not get or set this information directly.
--
-- See: newSourceAuth smart constructor.
data SourceAuth
SourceAuth' :: Maybe Text -> SourceAuthType -> SourceAuth
-- | The resource value that applies to the specified authorization type.
[$sel:resource:SourceAuth'] :: SourceAuth -> Maybe Text
-- | This data type is deprecated and is no longer accurate or used.
--
-- The authorization type to use. The only valid value is OAUTH,
-- which represents the OAuth authorization type.
[$sel:type':SourceAuth'] :: SourceAuth -> SourceAuthType
-- | Create a value of SourceAuth with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resource:SourceAuth', sourceAuth_resource - The
-- resource value that applies to the specified authorization type.
--
-- $sel:type':SourceAuth', sourceAuth_type - This data type
-- is deprecated and is no longer accurate or used.
--
-- The authorization type to use. The only valid value is OAUTH,
-- which represents the OAuth authorization type.
newSourceAuth :: SourceAuthType -> SourceAuth
-- | The resource value that applies to the specified authorization type.
sourceAuth_resource :: Lens' SourceAuth (Maybe Text)
-- | This data type is deprecated and is no longer accurate or used.
--
-- The authorization type to use. The only valid value is OAUTH,
-- which represents the OAuth authorization type.
sourceAuth_type :: Lens' SourceAuth SourceAuthType
-- | Information about the credentials for a GitHub, GitHub Enterprise, or
-- Bitbucket repository.
--
-- See: newSourceCredentialsInfo smart constructor.
data SourceCredentialsInfo
SourceCredentialsInfo' :: Maybe Text -> Maybe AuthType -> Maybe ServerType -> SourceCredentialsInfo
-- | The Amazon Resource Name (ARN) of the token.
[$sel:arn:SourceCredentialsInfo'] :: SourceCredentialsInfo -> Maybe Text
-- | The type of authentication used by the credentials. Valid options are
-- OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
[$sel:authType:SourceCredentialsInfo'] :: SourceCredentialsInfo -> Maybe AuthType
-- | The type of source provider. The valid options are GITHUB,
-- GITHUB_ENTERPRISE, or BITBUCKET.
[$sel:serverType:SourceCredentialsInfo'] :: SourceCredentialsInfo -> Maybe ServerType
-- | Create a value of SourceCredentialsInfo with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:SourceCredentialsInfo',
-- sourceCredentialsInfo_arn - The Amazon Resource Name (ARN) of
-- the token.
--
-- $sel:authType:SourceCredentialsInfo',
-- sourceCredentialsInfo_authType - The type of authentication
-- used by the credentials. Valid options are OAUTH, BASIC_AUTH, or
-- PERSONAL_ACCESS_TOKEN.
--
-- $sel:serverType:SourceCredentialsInfo',
-- sourceCredentialsInfo_serverType - The type of source provider.
-- The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
newSourceCredentialsInfo :: SourceCredentialsInfo
-- | The Amazon Resource Name (ARN) of the token.
sourceCredentialsInfo_arn :: Lens' SourceCredentialsInfo (Maybe Text)
-- | The type of authentication used by the credentials. Valid options are
-- OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
sourceCredentialsInfo_authType :: Lens' SourceCredentialsInfo (Maybe AuthType)
-- | The type of source provider. The valid options are GITHUB,
-- GITHUB_ENTERPRISE, or BITBUCKET.
sourceCredentialsInfo_serverType :: Lens' SourceCredentialsInfo (Maybe ServerType)
-- | A tag, consisting of a key and a value.
--
-- This tag is available for use by Amazon Web Services services that
-- support tags in CodeBuild.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Maybe Text -> Tag
-- | The tag's key.
[$sel:key:Tag'] :: Tag -> Maybe Text
-- | The tag's value.
[$sel:value:Tag'] :: Tag -> Maybe Text
-- | Create a value of Tag with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:key:Tag', tag_key - The tag's key.
--
-- $sel:value:Tag', tag_value - The tag's value.
newTag :: Tag
-- | The tag's key.
tag_key :: Lens' Tag (Maybe Text)
-- | The tag's value.
tag_value :: Lens' Tag (Maybe Text)
-- | Information about a test case created using a framework such as NUnit
-- or Cucumber. A test case might be a unit test or a configuration test.
--
-- See: newTestCase smart constructor.
data TestCase
TestCase' :: Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> TestCase
-- | The number of nanoseconds it took to run this test case.
[$sel:durationInNanoSeconds:TestCase'] :: TestCase -> Maybe Integer
-- | The date and time a test case expires. A test case expires 30 days
-- after it is created. An expired test case is not available to view in
-- CodeBuild.
[$sel:expired:TestCase'] :: TestCase -> Maybe POSIX
-- | A message associated with a test case. For example, an error message
-- or stack trace.
[$sel:message:TestCase'] :: TestCase -> Maybe Text
-- | The name of the test case.
[$sel:name:TestCase'] :: TestCase -> Maybe Text
-- | A string that is applied to a series of related test cases. CodeBuild
-- generates the prefix. The prefix depends on the framework used to
-- generate the tests.
[$sel:prefix:TestCase'] :: TestCase -> Maybe Text
-- | The ARN of the report to which the test case belongs.
[$sel:reportArn:TestCase'] :: TestCase -> Maybe Text
-- | The status returned by the test case after it was run. Valid statuses
-- are SUCCEEDED, FAILED, ERROR,
-- SKIPPED, and UNKNOWN.
[$sel:status:TestCase'] :: TestCase -> Maybe Text
-- | The path to the raw data file that contains the test result.
[$sel:testRawDataPath:TestCase'] :: TestCase -> Maybe Text
-- | Create a value of TestCase with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:durationInNanoSeconds:TestCase',
-- testCase_durationInNanoSeconds - The number of nanoseconds it
-- took to run this test case.
--
-- $sel:expired:TestCase', testCase_expired - The date and
-- time a test case expires. A test case expires 30 days after it is
-- created. An expired test case is not available to view in CodeBuild.
--
-- $sel:message:TestCase', testCase_message - A message
-- associated with a test case. For example, an error message or stack
-- trace.
--
-- $sel:name:TestCase', testCase_name - The name of the
-- test case.
--
-- $sel:prefix:TestCase', testCase_prefix - A string that
-- is applied to a series of related test cases. CodeBuild generates the
-- prefix. The prefix depends on the framework used to generate the
-- tests.
--
-- $sel:reportArn:TestCase', testCase_reportArn - The ARN
-- of the report to which the test case belongs.
--
-- $sel:status:TestCase', testCase_status - The status
-- returned by the test case after it was run. Valid statuses are
-- SUCCEEDED, FAILED, ERROR, SKIPPED,
-- and UNKNOWN.
--
-- $sel:testRawDataPath:TestCase', testCase_testRawDataPath
-- - The path to the raw data file that contains the test result.
newTestCase :: TestCase
-- | The number of nanoseconds it took to run this test case.
testCase_durationInNanoSeconds :: Lens' TestCase (Maybe Integer)
-- | The date and time a test case expires. A test case expires 30 days
-- after it is created. An expired test case is not available to view in
-- CodeBuild.
testCase_expired :: Lens' TestCase (Maybe UTCTime)
-- | A message associated with a test case. For example, an error message
-- or stack trace.
testCase_message :: Lens' TestCase (Maybe Text)
-- | The name of the test case.
testCase_name :: Lens' TestCase (Maybe Text)
-- | A string that is applied to a series of related test cases. CodeBuild
-- generates the prefix. The prefix depends on the framework used to
-- generate the tests.
testCase_prefix :: Lens' TestCase (Maybe Text)
-- | The ARN of the report to which the test case belongs.
testCase_reportArn :: Lens' TestCase (Maybe Text)
-- | The status returned by the test case after it was run. Valid statuses
-- are SUCCEEDED, FAILED, ERROR,
-- SKIPPED, and UNKNOWN.
testCase_status :: Lens' TestCase (Maybe Text)
-- | The path to the raw data file that contains the test result.
testCase_testRawDataPath :: Lens' TestCase (Maybe Text)
-- | A filter used to return specific types of test cases. In order to pass
-- the filter, the report must meet all of the filter properties.
--
-- See: newTestCaseFilter smart constructor.
data TestCaseFilter
TestCaseFilter' :: Maybe Text -> Maybe Text -> TestCaseFilter
-- | A keyword that is used to filter on the name or the
-- prefix of the test cases. Only test cases where the keyword
-- is a substring of the name or the prefix will be
-- returned.
[$sel:keyword:TestCaseFilter'] :: TestCaseFilter -> Maybe Text
-- | The status used to filter test cases. A TestCaseFilter can
-- have one status. Valid values are:
--
--
-- SUCCEEDED
-- FAILED
-- ERROR
-- SKIPPED
-- UNKNOWN
--
[$sel:status:TestCaseFilter'] :: TestCaseFilter -> Maybe Text
-- | Create a value of TestCaseFilter with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:keyword:TestCaseFilter', testCaseFilter_keyword - A
-- keyword that is used to filter on the name or the
-- prefix of the test cases. Only test cases where the keyword
-- is a substring of the name or the prefix will be
-- returned.
--
-- $sel:status:TestCaseFilter', testCaseFilter_status - The
-- status used to filter test cases. A TestCaseFilter can have
-- one status. Valid values are:
--
--
-- SUCCEEDED
-- FAILED
-- ERROR
-- SKIPPED
-- UNKNOWN
--
newTestCaseFilter :: TestCaseFilter
-- | A keyword that is used to filter on the name or the
-- prefix of the test cases. Only test cases where the keyword
-- is a substring of the name or the prefix will be
-- returned.
testCaseFilter_keyword :: Lens' TestCaseFilter (Maybe Text)
-- | The status used to filter test cases. A TestCaseFilter can
-- have one status. Valid values are:
--
--
-- SUCCEEDED
-- FAILED
-- ERROR
-- SKIPPED
-- UNKNOWN
--
testCaseFilter_status :: Lens' TestCaseFilter (Maybe Text)
-- | Information about a test report.
--
-- See: newTestReportSummary smart constructor.
data TestReportSummary
TestReportSummary' :: Int -> HashMap Text Int -> Integer -> TestReportSummary
-- | The number of test cases in this TestReportSummary. The total
-- includes truncated test cases.
[$sel:total:TestReportSummary'] :: TestReportSummary -> Int
-- | A map that contains the number of each type of status returned by the
-- test results in this TestReportSummary.
[$sel:statusCounts:TestReportSummary'] :: TestReportSummary -> HashMap Text Int
-- | The number of nanoseconds it took to run all of the test cases in this
-- report.
[$sel:durationInNanoSeconds:TestReportSummary'] :: TestReportSummary -> Integer
-- | Create a value of TestReportSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:total:TestReportSummary', testReportSummary_total -
-- The number of test cases in this TestReportSummary. The total
-- includes truncated test cases.
--
-- $sel:statusCounts:TestReportSummary',
-- testReportSummary_statusCounts - A map that contains the number
-- of each type of status returned by the test results in this
-- TestReportSummary.
--
-- $sel:durationInNanoSeconds:TestReportSummary',
-- testReportSummary_durationInNanoSeconds - The number of
-- nanoseconds it took to run all of the test cases in this report.
newTestReportSummary :: Int -> Integer -> TestReportSummary
-- | The number of test cases in this TestReportSummary. The total
-- includes truncated test cases.
testReportSummary_total :: Lens' TestReportSummary Int
-- | A map that contains the number of each type of status returned by the
-- test results in this TestReportSummary.
testReportSummary_statusCounts :: Lens' TestReportSummary (HashMap Text Int)
-- | The number of nanoseconds it took to run all of the test cases in this
-- report.
testReportSummary_durationInNanoSeconds :: Lens' TestReportSummary Integer
-- | Information about the VPC configuration that CodeBuild accesses.
--
-- See: newVpcConfig smart constructor.
data VpcConfig
VpcConfig' :: Maybe [Text] -> Maybe [Text] -> Maybe Text -> VpcConfig
-- | A list of one or more security groups IDs in your Amazon VPC.
[$sel:securityGroupIds:VpcConfig'] :: VpcConfig -> Maybe [Text]
-- | A list of one or more subnet IDs in your Amazon VPC.
[$sel:subnets:VpcConfig'] :: VpcConfig -> Maybe [Text]
-- | The ID of the Amazon VPC.
[$sel:vpcId:VpcConfig'] :: VpcConfig -> Maybe Text
-- | Create a value of VpcConfig with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:securityGroupIds:VpcConfig',
-- vpcConfig_securityGroupIds - A list of one or more security
-- groups IDs in your Amazon VPC.
--
-- $sel:subnets:VpcConfig', vpcConfig_subnets - A list of
-- one or more subnet IDs in your Amazon VPC.
--
-- $sel:vpcId:VpcConfig', vpcConfig_vpcId - The ID of the
-- Amazon VPC.
newVpcConfig :: VpcConfig
-- | A list of one or more security groups IDs in your Amazon VPC.
vpcConfig_securityGroupIds :: Lens' VpcConfig (Maybe [Text])
-- | A list of one or more subnet IDs in your Amazon VPC.
vpcConfig_subnets :: Lens' VpcConfig (Maybe [Text])
-- | The ID of the Amazon VPC.
vpcConfig_vpcId :: Lens' VpcConfig (Maybe Text)
-- | Information about a webhook that connects repository events to a build
-- project in CodeBuild.
--
-- See: newWebhook smart constructor.
data Webhook
Webhook' :: Maybe Text -> Maybe WebhookBuildType -> Maybe [[WebhookFilter]] -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Webhook
-- | A regular expression used to determine which repository branches are
-- built when a webhook is triggered. If the name of a branch matches the
-- regular expression, then it is built. If branchFilter is
-- empty, then all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
[$sel:branchFilter:Webhook'] :: Webhook -> Maybe Text
-- | Specifies the type of build this webhook will trigger.
[$sel:buildType:Webhook'] :: Webhook -> Maybe WebhookBuildType
-- | An array of arrays of WebhookFilter objects used to determine
-- which webhooks are triggered. At least one WebhookFilter in
-- the array must specify EVENT as its type.
--
-- For a build to be triggered, at least one filter group in the
-- filterGroups array must pass. For a filter group to pass,
-- each of its filters must pass.
[$sel:filterGroups:Webhook'] :: Webhook -> Maybe [[WebhookFilter]]
-- | A timestamp that indicates the last time a repository's secret token
-- was modified.
[$sel:lastModifiedSecret:Webhook'] :: Webhook -> Maybe POSIX
-- | The CodeBuild endpoint where webhook events are sent.
[$sel:payloadUrl:Webhook'] :: Webhook -> Maybe Text
-- | The secret token of the associated repository.
--
-- A Bitbucket webhook does not support secret.
[$sel:secret:Webhook'] :: Webhook -> Maybe Text
-- | The URL to the webhook.
[$sel:url:Webhook'] :: Webhook -> Maybe Text
-- | Create a value of Webhook with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:branchFilter:Webhook', webhook_branchFilter - A
-- regular expression used to determine which repository branches are
-- built when a webhook is triggered. If the name of a branch matches the
-- regular expression, then it is built. If branchFilter is
-- empty, then all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
--
-- $sel:buildType:Webhook', webhook_buildType - Specifies
-- the type of build this webhook will trigger.
--
-- $sel:filterGroups:Webhook', webhook_filterGroups - An
-- array of arrays of WebhookFilter objects used to determine
-- which webhooks are triggered. At least one WebhookFilter in
-- the array must specify EVENT as its type.
--
-- For a build to be triggered, at least one filter group in the
-- filterGroups array must pass. For a filter group to pass,
-- each of its filters must pass.
--
-- $sel:lastModifiedSecret:Webhook',
-- webhook_lastModifiedSecret - A timestamp that indicates the
-- last time a repository's secret token was modified.
--
-- $sel:payloadUrl:Webhook', webhook_payloadUrl - The
-- CodeBuild endpoint where webhook events are sent.
--
-- $sel:secret:Webhook', webhook_secret - The secret token
-- of the associated repository.
--
-- A Bitbucket webhook does not support secret.
--
-- $sel:url:Webhook', webhook_url - The URL to the webhook.
newWebhook :: Webhook
-- | A regular expression used to determine which repository branches are
-- built when a webhook is triggered. If the name of a branch matches the
-- regular expression, then it is built. If branchFilter is
-- empty, then all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
webhook_branchFilter :: Lens' Webhook (Maybe Text)
-- | Specifies the type of build this webhook will trigger.
webhook_buildType :: Lens' Webhook (Maybe WebhookBuildType)
-- | An array of arrays of WebhookFilter objects used to determine
-- which webhooks are triggered. At least one WebhookFilter in
-- the array must specify EVENT as its type.
--
-- For a build to be triggered, at least one filter group in the
-- filterGroups array must pass. For a filter group to pass,
-- each of its filters must pass.
webhook_filterGroups :: Lens' Webhook (Maybe [[WebhookFilter]])
-- | A timestamp that indicates the last time a repository's secret token
-- was modified.
webhook_lastModifiedSecret :: Lens' Webhook (Maybe UTCTime)
-- | The CodeBuild endpoint where webhook events are sent.
webhook_payloadUrl :: Lens' Webhook (Maybe Text)
-- | The secret token of the associated repository.
--
-- A Bitbucket webhook does not support secret.
webhook_secret :: Lens' Webhook (Maybe Text)
-- | The URL to the webhook.
webhook_url :: Lens' Webhook (Maybe Text)
-- | A filter used to determine which webhooks trigger a build.
--
-- See: newWebhookFilter smart constructor.
data WebhookFilter
WebhookFilter' :: Maybe Bool -> WebhookFilterType -> Text -> WebhookFilter
-- | Used to indicate that the pattern determines which webhook
-- events do not trigger a build. If true, then a webhook event that does
-- not match the pattern triggers a build. If false, then a
-- webhook event that matches the pattern triggers a build.
[$sel:excludeMatchedPattern:WebhookFilter'] :: WebhookFilter -> Maybe Bool
-- | The type of webhook filter. There are six webhook filter types:
-- EVENT, ACTOR_ACCOUNT_ID, HEAD_REF,
-- BASE_REF, FILE_PATH, and COMMIT_MESSAGE.
--
--
-- - EVENT A webhook event triggers a build when the provided
-- pattern matches one of five event types: PUSH,
-- PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED,
-- PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The
-- EVENT patterns are specified as a comma-separated string. For
-- example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED
-- filters all push, pull request created, and pull request updated
-- events.The PULL_REQUEST_REOPENED works with GitHub and GitHub
-- Enterprise only.
-- - ACTOR_ACCOUNT_ID A webhook event triggers a build when a
-- GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular
-- expression pattern.
-- - HEAD_REF A webhook event triggers a build when the head
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name and
-- refs/tags/tag-name.Works with GitHub and GitHub Enterprise
-- push, GitHub and GitHub Enterprise pull request, Bitbucket push, and
-- Bitbucket pull request events.
-- - BASE_REF A webhook event triggers a build when the base
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name.Works with pull request
-- events only.
-- - FILE_PATH A webhook triggers a build when the path of a
-- changed file matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
-- - COMMIT_MESSAGE A webhook triggers a build when the head
-- commit message matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
--
[$sel:type':WebhookFilter'] :: WebhookFilter -> WebhookFilterType
-- | For a WebHookFilter that uses EVENT type, a
-- comma-separated string that specifies one or more events. For example,
-- the webhook filter PUSH, PULL_REQUEST_CREATED,
-- PULL_REQUEST_UPDATED allows all push, pull request created, and
-- pull request updated events to trigger a build.
--
-- For a WebHookFilter that uses any of the other filter types,
-- a regular expression pattern. For example, a WebHookFilter
-- that uses HEAD_REF for its type and the pattern
-- ^refs/heads/ triggers a build when the head reference is a
-- branch with a reference name refs/heads/branch-name.
[$sel:pattern':WebhookFilter'] :: WebhookFilter -> Text
-- | Create a value of WebhookFilter with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:excludeMatchedPattern:WebhookFilter',
-- webhookFilter_excludeMatchedPattern - Used to indicate that the
-- pattern determines which webhook events do not trigger a
-- build. If true, then a webhook event that does not match the
-- pattern triggers a build. If false, then a webhook event that
-- matches the pattern triggers a build.
--
-- $sel:type':WebhookFilter', webhookFilter_type - The type
-- of webhook filter. There are six webhook filter types: EVENT,
-- ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF,
-- FILE_PATH, and COMMIT_MESSAGE.
--
--
-- - EVENT A webhook event triggers a build when the provided
-- pattern matches one of five event types: PUSH,
-- PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED,
-- PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The
-- EVENT patterns are specified as a comma-separated string. For
-- example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED
-- filters all push, pull request created, and pull request updated
-- events.The PULL_REQUEST_REOPENED works with GitHub and GitHub
-- Enterprise only.
-- - ACTOR_ACCOUNT_ID A webhook event triggers a build when a
-- GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular
-- expression pattern.
-- - HEAD_REF A webhook event triggers a build when the head
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name and
-- refs/tags/tag-name.Works with GitHub and GitHub Enterprise
-- push, GitHub and GitHub Enterprise pull request, Bitbucket push, and
-- Bitbucket pull request events.
-- - BASE_REF A webhook event triggers a build when the base
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name.Works with pull request
-- events only.
-- - FILE_PATH A webhook triggers a build when the path of a
-- changed file matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
-- - COMMIT_MESSAGE A webhook triggers a build when the head
-- commit message matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
--
--
-- $sel:pattern':WebhookFilter', webhookFilter_pattern -
-- For a WebHookFilter that uses EVENT type, a
-- comma-separated string that specifies one or more events. For example,
-- the webhook filter PUSH, PULL_REQUEST_CREATED,
-- PULL_REQUEST_UPDATED allows all push, pull request created, and
-- pull request updated events to trigger a build.
--
-- For a WebHookFilter that uses any of the other filter types,
-- a regular expression pattern. For example, a WebHookFilter
-- that uses HEAD_REF for its type and the pattern
-- ^refs/heads/ triggers a build when the head reference is a
-- branch with a reference name refs/heads/branch-name.
newWebhookFilter :: WebhookFilterType -> Text -> WebhookFilter
-- | Used to indicate that the pattern determines which webhook
-- events do not trigger a build. If true, then a webhook event that does
-- not match the pattern triggers a build. If false, then a
-- webhook event that matches the pattern triggers a build.
webhookFilter_excludeMatchedPattern :: Lens' WebhookFilter (Maybe Bool)
-- | The type of webhook filter. There are six webhook filter types:
-- EVENT, ACTOR_ACCOUNT_ID, HEAD_REF,
-- BASE_REF, FILE_PATH, and COMMIT_MESSAGE.
--
--
-- - EVENT A webhook event triggers a build when the provided
-- pattern matches one of five event types: PUSH,
-- PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED,
-- PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The
-- EVENT patterns are specified as a comma-separated string. For
-- example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED
-- filters all push, pull request created, and pull request updated
-- events.The PULL_REQUEST_REOPENED works with GitHub and GitHub
-- Enterprise only.
-- - ACTOR_ACCOUNT_ID A webhook event triggers a build when a
-- GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular
-- expression pattern.
-- - HEAD_REF A webhook event triggers a build when the head
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name and
-- refs/tags/tag-name.Works with GitHub and GitHub Enterprise
-- push, GitHub and GitHub Enterprise pull request, Bitbucket push, and
-- Bitbucket pull request events.
-- - BASE_REF A webhook event triggers a build when the base
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name.Works with pull request
-- events only.
-- - FILE_PATH A webhook triggers a build when the path of a
-- changed file matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
-- - COMMIT_MESSAGE A webhook triggers a build when the head
-- commit message matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
--
webhookFilter_type :: Lens' WebhookFilter WebhookFilterType
-- | For a WebHookFilter that uses EVENT type, a
-- comma-separated string that specifies one or more events. For example,
-- the webhook filter PUSH, PULL_REQUEST_CREATED,
-- PULL_REQUEST_UPDATED allows all push, pull request created, and
-- pull request updated events to trigger a build.
--
-- For a WebHookFilter that uses any of the other filter types,
-- a regular expression pattern. For example, a WebHookFilter
-- that uses HEAD_REF for its type and the pattern
-- ^refs/heads/ triggers a build when the head reference is a
-- branch with a reference name refs/heads/branch-name.
webhookFilter_pattern :: Lens' WebhookFilter Text
-- | Stops a running batch build.
module Amazonka.CodeBuild.StopBuildBatch
-- | See: newStopBuildBatch smart constructor.
data StopBuildBatch
StopBuildBatch' :: Text -> StopBuildBatch
-- | The identifier of the batch build to stop.
[$sel:id:StopBuildBatch'] :: StopBuildBatch -> Text
-- | Create a value of StopBuildBatch with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- StopBuildBatch, stopBuildBatch_id - The identifier of
-- the batch build to stop.
newStopBuildBatch :: Text -> StopBuildBatch
-- | The identifier of the batch build to stop.
stopBuildBatch_id :: Lens' StopBuildBatch Text
-- | See: newStopBuildBatchResponse smart constructor.
data StopBuildBatchResponse
StopBuildBatchResponse' :: Maybe BuildBatch -> Int -> StopBuildBatchResponse
[$sel:buildBatch:StopBuildBatchResponse'] :: StopBuildBatchResponse -> Maybe BuildBatch
-- | The response's http status code.
[$sel:httpStatus:StopBuildBatchResponse'] :: StopBuildBatchResponse -> Int
-- | Create a value of StopBuildBatchResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:buildBatch:StopBuildBatchResponse',
-- stopBuildBatchResponse_buildBatch - Undocumented member.
--
-- $sel:httpStatus:StopBuildBatchResponse',
-- stopBuildBatchResponse_httpStatus - The response's http status
-- code.
newStopBuildBatchResponse :: Int -> StopBuildBatchResponse
-- | Undocumented member.
stopBuildBatchResponse_buildBatch :: Lens' StopBuildBatchResponse (Maybe BuildBatch)
-- | The response's http status code.
stopBuildBatchResponse_httpStatus :: Lens' StopBuildBatchResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.StopBuildBatch.StopBuildBatch
instance GHC.Show.Show Amazonka.CodeBuild.StopBuildBatch.StopBuildBatch
instance GHC.Read.Read Amazonka.CodeBuild.StopBuildBatch.StopBuildBatch
instance GHC.Classes.Eq Amazonka.CodeBuild.StopBuildBatch.StopBuildBatch
instance GHC.Generics.Generic Amazonka.CodeBuild.StopBuildBatch.StopBuildBatchResponse
instance GHC.Show.Show Amazonka.CodeBuild.StopBuildBatch.StopBuildBatchResponse
instance GHC.Read.Read Amazonka.CodeBuild.StopBuildBatch.StopBuildBatchResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.StopBuildBatch.StopBuildBatchResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.StopBuildBatch.StopBuildBatch
instance Control.DeepSeq.NFData Amazonka.CodeBuild.StopBuildBatch.StopBuildBatchResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.StopBuildBatch.StopBuildBatch
instance Control.DeepSeq.NFData Amazonka.CodeBuild.StopBuildBatch.StopBuildBatch
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.StopBuildBatch.StopBuildBatch
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.StopBuildBatch.StopBuildBatch
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.StopBuildBatch.StopBuildBatch
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.StopBuildBatch.StopBuildBatch
-- | Attempts to stop running a build.
module Amazonka.CodeBuild.StopBuild
-- | See: newStopBuild smart constructor.
data StopBuild
StopBuild' :: Text -> StopBuild
-- | The ID of the build.
[$sel:id:StopBuild'] :: StopBuild -> Text
-- | Create a value of StopBuild with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- StopBuild, stopBuild_id - The ID of the build.
newStopBuild :: Text -> StopBuild
-- | The ID of the build.
stopBuild_id :: Lens' StopBuild Text
-- | See: newStopBuildResponse smart constructor.
data StopBuildResponse
StopBuildResponse' :: Maybe Build -> Int -> StopBuildResponse
-- | Information about the build.
[$sel:build:StopBuildResponse'] :: StopBuildResponse -> Maybe Build
-- | The response's http status code.
[$sel:httpStatus:StopBuildResponse'] :: StopBuildResponse -> Int
-- | Create a value of StopBuildResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:build:StopBuildResponse', stopBuildResponse_build -
-- Information about the build.
--
-- $sel:httpStatus:StopBuildResponse',
-- stopBuildResponse_httpStatus - The response's http status code.
newStopBuildResponse :: Int -> StopBuildResponse
-- | Information about the build.
stopBuildResponse_build :: Lens' StopBuildResponse (Maybe Build)
-- | The response's http status code.
stopBuildResponse_httpStatus :: Lens' StopBuildResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.StopBuild.StopBuild
instance GHC.Show.Show Amazonka.CodeBuild.StopBuild.StopBuild
instance GHC.Read.Read Amazonka.CodeBuild.StopBuild.StopBuild
instance GHC.Classes.Eq Amazonka.CodeBuild.StopBuild.StopBuild
instance GHC.Generics.Generic Amazonka.CodeBuild.StopBuild.StopBuildResponse
instance GHC.Show.Show Amazonka.CodeBuild.StopBuild.StopBuildResponse
instance GHC.Read.Read Amazonka.CodeBuild.StopBuild.StopBuildResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.StopBuild.StopBuildResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.StopBuild.StopBuild
instance Control.DeepSeq.NFData Amazonka.CodeBuild.StopBuild.StopBuildResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.StopBuild.StopBuild
instance Control.DeepSeq.NFData Amazonka.CodeBuild.StopBuild.StopBuild
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.StopBuild.StopBuild
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.StopBuild.StopBuild
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.StopBuild.StopBuild
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.StopBuild.StopBuild
-- | Starts a batch build for a project.
module Amazonka.CodeBuild.StartBuildBatch
-- | See: newStartBuildBatch smart constructor.
data StartBuildBatch
StartBuildBatch' :: Maybe ProjectArtifacts -> Maybe ProjectBuildBatchConfig -> Maybe Natural -> Maybe Text -> Maybe ProjectCache -> Maybe Text -> Maybe ComputeType -> Maybe Bool -> Maybe Text -> Maybe EnvironmentType -> Maybe [EnvironmentVariable] -> Maybe Natural -> Maybe GitSubmodulesConfig -> Maybe Text -> Maybe Text -> Maybe ImagePullCredentialsType -> Maybe Bool -> Maybe LogsConfig -> Maybe Bool -> Maybe Natural -> Maybe RegistryCredential -> Maybe Bool -> Maybe [ProjectArtifacts] -> Maybe [ProjectSource] -> Maybe [ProjectSourceVersion] -> Maybe Text -> Maybe SourceAuth -> Maybe Text -> Maybe SourceType -> Maybe Text -> Text -> StartBuildBatch
-- | An array of ProjectArtifacts objects that contains
-- information about the build output artifact overrides for the build
-- project.
[$sel:artifactsOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe ProjectArtifacts
-- | A BuildBatchConfigOverride object that contains batch build
-- configuration overrides.
[$sel:buildBatchConfigOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe ProjectBuildBatchConfig
-- | Overrides the build timeout specified in the batch build project.
[$sel:buildTimeoutInMinutesOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe Natural
-- | A buildspec file declaration that overrides, for this build only, the
-- latest one already defined in the build project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
[$sel:buildspecOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe Text
-- | A ProjectCache object that specifies cache overrides.
[$sel:cacheOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe ProjectCache
-- | The name of a certificate for this batch build that overrides the one
-- specified in the batch build project.
[$sel:certificateOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe Text
-- | The name of a compute type for this batch build that overrides the one
-- specified in the batch build project.
[$sel:computeTypeOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe ComputeType
-- | Specifies if session debugging is enabled for this batch build. For
-- more information, see Viewing a running build in Session
-- Manager. Batch session debugging is not supported for matrix batch
-- builds.
[$sel:debugSessionEnabled:StartBuildBatch'] :: StartBuildBatch -> Maybe Bool
-- | The Key Management Service customer master key (CMK) that overrides
-- the one specified in the batch build project. The CMK key encrypts the
-- build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
[$sel:encryptionKeyOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe Text
-- | A container type for this batch build that overrides the one specified
-- in the batch build project.
[$sel:environmentTypeOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe EnvironmentType
-- | An array of EnvironmentVariable objects that override, or add
-- to, the environment variables defined in the batch build project.
[$sel:environmentVariablesOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe [EnvironmentVariable]
-- | The user-defined depth of history, with a minimum value of 0, that
-- overrides, for this batch build only, any previous depth of history
-- defined in the batch build project.
[$sel:gitCloneDepthOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe Natural
-- | A GitSubmodulesConfig object that overrides the Git
-- submodules configuration for this batch build.
[$sel:gitSubmodulesConfigOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe GitSubmodulesConfig
-- | A unique, case sensitive identifier you provide to ensure the
-- idempotency of the StartBuildBatch request. The token is
-- included in the StartBuildBatch request and is valid for five
-- minutes. If you repeat the StartBuildBatch request with the
-- same token, but change a parameter, CodeBuild returns a parameter
-- mismatch error.
[$sel:idempotencyToken:StartBuildBatch'] :: StartBuildBatch -> Maybe Text
-- | The name of an image for this batch build that overrides the one
-- specified in the batch build project.
[$sel:imageOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe Text
-- | The type of credentials CodeBuild uses to pull images in your batch
-- build. There are two valid values:
--
--
-- - CODEBUILD Specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild's service principal.
-- - SERVICE_ROLE Specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When using a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When using an CodeBuild curated
-- image, you must use CODEBUILD credentials.
[$sel:imagePullCredentialsTypeOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe ImagePullCredentialsType
-- | Enable this flag to override the insecure SSL setting that is
-- specified in the batch build project. The insecure SSL setting
-- determines whether to ignore SSL warnings while connecting to the
-- project source code. This override applies only if the build's source
-- is GitHub Enterprise.
[$sel:insecureSslOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe Bool
-- | A LogsConfig object that override the log settings defined in
-- the batch build project.
[$sel:logsConfigOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe LogsConfig
-- | Enable this flag to override privileged mode in the batch build
-- project.
[$sel:privilegedModeOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe Bool
-- | The number of minutes a batch build is allowed to be queued before it
-- times out.
[$sel:queuedTimeoutInMinutesOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe Natural
-- | A RegistryCredential object that overrides credentials for
-- access to a private registry.
[$sel:registryCredentialOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe RegistryCredential
-- | Set to true to report to your source provider the status of a
-- batch build's start and completion. If you use this option with a
-- source provider other than GitHub, GitHub Enterprise, or Bitbucket, an
-- invalidInputException is thrown.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
[$sel:reportBuildBatchStatusOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe Bool
-- | An array of ProjectArtifacts objects that override the
-- secondary artifacts defined in the batch build project.
[$sel:secondaryArtifactsOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe [ProjectArtifacts]
-- | An array of ProjectSource objects that override the secondary
-- sources defined in the batch build project.
[$sel:secondarySourcesOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe [ProjectSource]
-- | An array of ProjectSourceVersion objects that override the
-- secondary source versions in the batch build project.
[$sel:secondarySourcesVersionOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe [ProjectSourceVersion]
-- | The name of a service role for this batch build that overrides the one
-- specified in the batch build project.
[$sel:serviceRoleOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe Text
-- | A SourceAuth object that overrides the one defined in the
-- batch build project. This override applies only if the build project's
-- source is BitBucket or GitHub.
[$sel:sourceAuthOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe SourceAuth
-- | A location that overrides, for this batch build, the source location
-- defined in the batch build project.
[$sel:sourceLocationOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe Text
-- | The source input type that overrides the source input defined in the
-- batch build project.
[$sel:sourceTypeOverride:StartBuildBatch'] :: StartBuildBatch -> Maybe SourceType
-- | The version of the batch build input to be built, for this build only.
-- If not specified, the latest version is used. If specified, the
-- contents depends on the source provider:
--
--
-- - CodeCommit The commit ID, branch, or Git tag to use.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - Amazon S3 The version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the project level, then this
-- sourceVersion (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
[$sel:sourceVersion:StartBuildBatch'] :: StartBuildBatch -> Maybe Text
-- | The name of the project.
[$sel:projectName:StartBuildBatch'] :: StartBuildBatch -> Text
-- | Create a value of StartBuildBatch with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:artifactsOverride:StartBuildBatch',
-- startBuildBatch_artifactsOverride - An array of
-- ProjectArtifacts objects that contains information about the
-- build output artifact overrides for the build project.
--
-- $sel:buildBatchConfigOverride:StartBuildBatch',
-- startBuildBatch_buildBatchConfigOverride - A
-- BuildBatchConfigOverride object that contains batch build
-- configuration overrides.
--
-- $sel:buildTimeoutInMinutesOverride:StartBuildBatch',
-- startBuildBatch_buildTimeoutInMinutesOverride - Overrides the
-- build timeout specified in the batch build project.
--
-- $sel:buildspecOverride:StartBuildBatch',
-- startBuildBatch_buildspecOverride - A buildspec file
-- declaration that overrides, for this build only, the latest one
-- already defined in the build project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
--
-- $sel:cacheOverride:StartBuildBatch',
-- startBuildBatch_cacheOverride - A ProjectCache object
-- that specifies cache overrides.
--
-- $sel:certificateOverride:StartBuildBatch',
-- startBuildBatch_certificateOverride - The name of a certificate
-- for this batch build that overrides the one specified in the batch
-- build project.
--
-- $sel:computeTypeOverride:StartBuildBatch',
-- startBuildBatch_computeTypeOverride - The name of a compute
-- type for this batch build that overrides the one specified in the
-- batch build project.
--
-- StartBuildBatch, startBuildBatch_debugSessionEnabled -
-- Specifies if session debugging is enabled for this batch build. For
-- more information, see Viewing a running build in Session
-- Manager. Batch session debugging is not supported for matrix batch
-- builds.
--
-- $sel:encryptionKeyOverride:StartBuildBatch',
-- startBuildBatch_encryptionKeyOverride - The Key Management
-- Service customer master key (CMK) that overrides the one specified in
-- the batch build project. The CMK key encrypts the build output
-- artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
--
-- $sel:environmentTypeOverride:StartBuildBatch',
-- startBuildBatch_environmentTypeOverride - A container type for
-- this batch build that overrides the one specified in the batch build
-- project.
--
-- $sel:environmentVariablesOverride:StartBuildBatch',
-- startBuildBatch_environmentVariablesOverride - An array of
-- EnvironmentVariable objects that override, or add to, the
-- environment variables defined in the batch build project.
--
-- $sel:gitCloneDepthOverride:StartBuildBatch',
-- startBuildBatch_gitCloneDepthOverride - The user-defined depth
-- of history, with a minimum value of 0, that overrides, for this batch
-- build only, any previous depth of history defined in the batch build
-- project.
--
-- $sel:gitSubmodulesConfigOverride:StartBuildBatch',
-- startBuildBatch_gitSubmodulesConfigOverride - A
-- GitSubmodulesConfig object that overrides the Git submodules
-- configuration for this batch build.
--
-- $sel:idempotencyToken:StartBuildBatch',
-- startBuildBatch_idempotencyToken - A unique, case sensitive
-- identifier you provide to ensure the idempotency of the
-- StartBuildBatch request. The token is included in the
-- StartBuildBatch request and is valid for five minutes. If you
-- repeat the StartBuildBatch request with the same token, but
-- change a parameter, CodeBuild returns a parameter mismatch error.
--
-- $sel:imageOverride:StartBuildBatch',
-- startBuildBatch_imageOverride - The name of an image for this
-- batch build that overrides the one specified in the batch build
-- project.
--
-- $sel:imagePullCredentialsTypeOverride:StartBuildBatch',
-- startBuildBatch_imagePullCredentialsTypeOverride - The type of
-- credentials CodeBuild uses to pull images in your batch build. There
-- are two valid values:
--
--
-- - CODEBUILD Specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild's service principal.
-- - SERVICE_ROLE Specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When using a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When using an CodeBuild curated
-- image, you must use CODEBUILD credentials.
--
-- $sel:insecureSslOverride:StartBuildBatch',
-- startBuildBatch_insecureSslOverride - Enable this flag to
-- override the insecure SSL setting that is specified in the batch build
-- project. The insecure SSL setting determines whether to ignore SSL
-- warnings while connecting to the project source code. This override
-- applies only if the build's source is GitHub Enterprise.
--
-- $sel:logsConfigOverride:StartBuildBatch',
-- startBuildBatch_logsConfigOverride - A LogsConfig
-- object that override the log settings defined in the batch build
-- project.
--
-- $sel:privilegedModeOverride:StartBuildBatch',
-- startBuildBatch_privilegedModeOverride - Enable this flag to
-- override privileged mode in the batch build project.
--
-- $sel:queuedTimeoutInMinutesOverride:StartBuildBatch',
-- startBuildBatch_queuedTimeoutInMinutesOverride - The number of
-- minutes a batch build is allowed to be queued before it times out.
--
-- $sel:registryCredentialOverride:StartBuildBatch',
-- startBuildBatch_registryCredentialOverride - A
-- RegistryCredential object that overrides credentials for
-- access to a private registry.
--
-- $sel:reportBuildBatchStatusOverride:StartBuildBatch',
-- startBuildBatch_reportBuildBatchStatusOverride - Set to
-- true to report to your source provider the status of a batch
-- build's start and completion. If you use this option with a source
-- provider other than GitHub, GitHub Enterprise, or Bitbucket, an
-- invalidInputException is thrown.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
--
-- $sel:secondaryArtifactsOverride:StartBuildBatch',
-- startBuildBatch_secondaryArtifactsOverride - An array of
-- ProjectArtifacts objects that override the secondary
-- artifacts defined in the batch build project.
--
-- $sel:secondarySourcesOverride:StartBuildBatch',
-- startBuildBatch_secondarySourcesOverride - An array of
-- ProjectSource objects that override the secondary sources
-- defined in the batch build project.
--
-- $sel:secondarySourcesVersionOverride:StartBuildBatch',
-- startBuildBatch_secondarySourcesVersionOverride - An array of
-- ProjectSourceVersion objects that override the secondary
-- source versions in the batch build project.
--
-- $sel:serviceRoleOverride:StartBuildBatch',
-- startBuildBatch_serviceRoleOverride - The name of a service
-- role for this batch build that overrides the one specified in the
-- batch build project.
--
-- $sel:sourceAuthOverride:StartBuildBatch',
-- startBuildBatch_sourceAuthOverride - A SourceAuth
-- object that overrides the one defined in the batch build project. This
-- override applies only if the build project's source is BitBucket or
-- GitHub.
--
-- $sel:sourceLocationOverride:StartBuildBatch',
-- startBuildBatch_sourceLocationOverride - A location that
-- overrides, for this batch build, the source location defined in the
-- batch build project.
--
-- $sel:sourceTypeOverride:StartBuildBatch',
-- startBuildBatch_sourceTypeOverride - The source input type that
-- overrides the source input defined in the batch build project.
--
-- StartBuildBatch, startBuildBatch_sourceVersion - The
-- version of the batch build input to be built, for this build only. If
-- not specified, the latest version is used. If specified, the contents
-- depends on the source provider:
--
--
-- - CodeCommit The commit ID, branch, or Git tag to use.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - Amazon S3 The version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the project level, then this
-- sourceVersion (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
--
-- StartBuildBatch, startBuildBatch_projectName - The name
-- of the project.
newStartBuildBatch :: Text -> StartBuildBatch
-- | An array of ProjectArtifacts objects that contains
-- information about the build output artifact overrides for the build
-- project.
startBuildBatch_artifactsOverride :: Lens' StartBuildBatch (Maybe ProjectArtifacts)
-- | A BuildBatchConfigOverride object that contains batch build
-- configuration overrides.
startBuildBatch_buildBatchConfigOverride :: Lens' StartBuildBatch (Maybe ProjectBuildBatchConfig)
-- | Overrides the build timeout specified in the batch build project.
startBuildBatch_buildTimeoutInMinutesOverride :: Lens' StartBuildBatch (Maybe Natural)
-- | A buildspec file declaration that overrides, for this build only, the
-- latest one already defined in the build project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
startBuildBatch_buildspecOverride :: Lens' StartBuildBatch (Maybe Text)
-- | A ProjectCache object that specifies cache overrides.
startBuildBatch_cacheOverride :: Lens' StartBuildBatch (Maybe ProjectCache)
-- | The name of a certificate for this batch build that overrides the one
-- specified in the batch build project.
startBuildBatch_certificateOverride :: Lens' StartBuildBatch (Maybe Text)
-- | The name of a compute type for this batch build that overrides the one
-- specified in the batch build project.
startBuildBatch_computeTypeOverride :: Lens' StartBuildBatch (Maybe ComputeType)
-- | Specifies if session debugging is enabled for this batch build. For
-- more information, see Viewing a running build in Session
-- Manager. Batch session debugging is not supported for matrix batch
-- builds.
startBuildBatch_debugSessionEnabled :: Lens' StartBuildBatch (Maybe Bool)
-- | The Key Management Service customer master key (CMK) that overrides
-- the one specified in the batch build project. The CMK key encrypts the
-- build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
startBuildBatch_encryptionKeyOverride :: Lens' StartBuildBatch (Maybe Text)
-- | A container type for this batch build that overrides the one specified
-- in the batch build project.
startBuildBatch_environmentTypeOverride :: Lens' StartBuildBatch (Maybe EnvironmentType)
-- | An array of EnvironmentVariable objects that override, or add
-- to, the environment variables defined in the batch build project.
startBuildBatch_environmentVariablesOverride :: Lens' StartBuildBatch (Maybe [EnvironmentVariable])
-- | The user-defined depth of history, with a minimum value of 0, that
-- overrides, for this batch build only, any previous depth of history
-- defined in the batch build project.
startBuildBatch_gitCloneDepthOverride :: Lens' StartBuildBatch (Maybe Natural)
-- | A GitSubmodulesConfig object that overrides the Git
-- submodules configuration for this batch build.
startBuildBatch_gitSubmodulesConfigOverride :: Lens' StartBuildBatch (Maybe GitSubmodulesConfig)
-- | A unique, case sensitive identifier you provide to ensure the
-- idempotency of the StartBuildBatch request. The token is
-- included in the StartBuildBatch request and is valid for five
-- minutes. If you repeat the StartBuildBatch request with the
-- same token, but change a parameter, CodeBuild returns a parameter
-- mismatch error.
startBuildBatch_idempotencyToken :: Lens' StartBuildBatch (Maybe Text)
-- | The name of an image for this batch build that overrides the one
-- specified in the batch build project.
startBuildBatch_imageOverride :: Lens' StartBuildBatch (Maybe Text)
-- | The type of credentials CodeBuild uses to pull images in your batch
-- build. There are two valid values:
--
--
-- - CODEBUILD Specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild's service principal.
-- - SERVICE_ROLE Specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When using a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When using an CodeBuild curated
-- image, you must use CODEBUILD credentials.
startBuildBatch_imagePullCredentialsTypeOverride :: Lens' StartBuildBatch (Maybe ImagePullCredentialsType)
-- | Enable this flag to override the insecure SSL setting that is
-- specified in the batch build project. The insecure SSL setting
-- determines whether to ignore SSL warnings while connecting to the
-- project source code. This override applies only if the build's source
-- is GitHub Enterprise.
startBuildBatch_insecureSslOverride :: Lens' StartBuildBatch (Maybe Bool)
-- | A LogsConfig object that override the log settings defined in
-- the batch build project.
startBuildBatch_logsConfigOverride :: Lens' StartBuildBatch (Maybe LogsConfig)
-- | Enable this flag to override privileged mode in the batch build
-- project.
startBuildBatch_privilegedModeOverride :: Lens' StartBuildBatch (Maybe Bool)
-- | The number of minutes a batch build is allowed to be queued before it
-- times out.
startBuildBatch_queuedTimeoutInMinutesOverride :: Lens' StartBuildBatch (Maybe Natural)
-- | A RegistryCredential object that overrides credentials for
-- access to a private registry.
startBuildBatch_registryCredentialOverride :: Lens' StartBuildBatch (Maybe RegistryCredential)
-- | Set to true to report to your source provider the status of a
-- batch build's start and completion. If you use this option with a
-- source provider other than GitHub, GitHub Enterprise, or Bitbucket, an
-- invalidInputException is thrown.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
startBuildBatch_reportBuildBatchStatusOverride :: Lens' StartBuildBatch (Maybe Bool)
-- | An array of ProjectArtifacts objects that override the
-- secondary artifacts defined in the batch build project.
startBuildBatch_secondaryArtifactsOverride :: Lens' StartBuildBatch (Maybe [ProjectArtifacts])
-- | An array of ProjectSource objects that override the secondary
-- sources defined in the batch build project.
startBuildBatch_secondarySourcesOverride :: Lens' StartBuildBatch (Maybe [ProjectSource])
-- | An array of ProjectSourceVersion objects that override the
-- secondary source versions in the batch build project.
startBuildBatch_secondarySourcesVersionOverride :: Lens' StartBuildBatch (Maybe [ProjectSourceVersion])
-- | The name of a service role for this batch build that overrides the one
-- specified in the batch build project.
startBuildBatch_serviceRoleOverride :: Lens' StartBuildBatch (Maybe Text)
-- | A SourceAuth object that overrides the one defined in the
-- batch build project. This override applies only if the build project's
-- source is BitBucket or GitHub.
startBuildBatch_sourceAuthOverride :: Lens' StartBuildBatch (Maybe SourceAuth)
-- | A location that overrides, for this batch build, the source location
-- defined in the batch build project.
startBuildBatch_sourceLocationOverride :: Lens' StartBuildBatch (Maybe Text)
-- | The source input type that overrides the source input defined in the
-- batch build project.
startBuildBatch_sourceTypeOverride :: Lens' StartBuildBatch (Maybe SourceType)
-- | The version of the batch build input to be built, for this build only.
-- If not specified, the latest version is used. If specified, the
-- contents depends on the source provider:
--
--
-- - CodeCommit The commit ID, branch, or Git tag to use.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - Amazon S3 The version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the project level, then this
-- sourceVersion (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
startBuildBatch_sourceVersion :: Lens' StartBuildBatch (Maybe Text)
-- | The name of the project.
startBuildBatch_projectName :: Lens' StartBuildBatch Text
-- | See: newStartBuildBatchResponse smart constructor.
data StartBuildBatchResponse
StartBuildBatchResponse' :: Maybe BuildBatch -> Int -> StartBuildBatchResponse
-- | A BuildBatch object that contains information about the batch
-- build.
[$sel:buildBatch:StartBuildBatchResponse'] :: StartBuildBatchResponse -> Maybe BuildBatch
-- | The response's http status code.
[$sel:httpStatus:StartBuildBatchResponse'] :: StartBuildBatchResponse -> Int
-- | Create a value of StartBuildBatchResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:buildBatch:StartBuildBatchResponse',
-- startBuildBatchResponse_buildBatch - A BuildBatch
-- object that contains information about the batch build.
--
-- $sel:httpStatus:StartBuildBatchResponse',
-- startBuildBatchResponse_httpStatus - The response's http status
-- code.
newStartBuildBatchResponse :: Int -> StartBuildBatchResponse
-- | A BuildBatch object that contains information about the batch
-- build.
startBuildBatchResponse_buildBatch :: Lens' StartBuildBatchResponse (Maybe BuildBatch)
-- | The response's http status code.
startBuildBatchResponse_httpStatus :: Lens' StartBuildBatchResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.StartBuildBatch.StartBuildBatch
instance GHC.Show.Show Amazonka.CodeBuild.StartBuildBatch.StartBuildBatch
instance GHC.Read.Read Amazonka.CodeBuild.StartBuildBatch.StartBuildBatch
instance GHC.Classes.Eq Amazonka.CodeBuild.StartBuildBatch.StartBuildBatch
instance GHC.Generics.Generic Amazonka.CodeBuild.StartBuildBatch.StartBuildBatchResponse
instance GHC.Show.Show Amazonka.CodeBuild.StartBuildBatch.StartBuildBatchResponse
instance GHC.Read.Read Amazonka.CodeBuild.StartBuildBatch.StartBuildBatchResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.StartBuildBatch.StartBuildBatchResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.StartBuildBatch.StartBuildBatch
instance Control.DeepSeq.NFData Amazonka.CodeBuild.StartBuildBatch.StartBuildBatchResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.StartBuildBatch.StartBuildBatch
instance Control.DeepSeq.NFData Amazonka.CodeBuild.StartBuildBatch.StartBuildBatch
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.StartBuildBatch.StartBuildBatch
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.StartBuildBatch.StartBuildBatch
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.StartBuildBatch.StartBuildBatch
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.StartBuildBatch.StartBuildBatch
-- | Starts running a build.
module Amazonka.CodeBuild.StartBuild
-- | See: newStartBuild smart constructor.
data StartBuild
StartBuild' :: Maybe ProjectArtifacts -> Maybe BuildStatusConfig -> Maybe Text -> Maybe ProjectCache -> Maybe Text -> Maybe ComputeType -> Maybe Bool -> Maybe Text -> Maybe EnvironmentType -> Maybe [EnvironmentVariable] -> Maybe Natural -> Maybe GitSubmodulesConfig -> Maybe Text -> Maybe Text -> Maybe ImagePullCredentialsType -> Maybe Bool -> Maybe LogsConfig -> Maybe Bool -> Maybe Natural -> Maybe RegistryCredential -> Maybe Bool -> Maybe [ProjectArtifacts] -> Maybe [ProjectSource] -> Maybe [ProjectSourceVersion] -> Maybe Text -> Maybe SourceAuth -> Maybe Text -> Maybe SourceType -> Maybe Text -> Maybe Natural -> Text -> StartBuild
-- | Build output artifact settings that override, for this build only, the
-- latest ones already defined in the build project.
[$sel:artifactsOverride:StartBuild'] :: StartBuild -> Maybe ProjectArtifacts
-- | Contains information that defines how the build project reports the
-- build status to the source provider. This option is only used when the
-- source provider is GITHUB, GITHUB_ENTERPRISE, or
-- BITBUCKET.
[$sel:buildStatusConfigOverride:StartBuild'] :: StartBuild -> Maybe BuildStatusConfig
-- | A buildspec file declaration that overrides, for this build only, the
-- latest one already defined in the build project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
[$sel:buildspecOverride:StartBuild'] :: StartBuild -> Maybe Text
-- | A ProjectCache object specified for this build that overrides the one
-- defined in the build project.
[$sel:cacheOverride:StartBuild'] :: StartBuild -> Maybe ProjectCache
-- | The name of a certificate for this build that overrides the one
-- specified in the build project.
[$sel:certificateOverride:StartBuild'] :: StartBuild -> Maybe Text
-- | The name of a compute type for this build that overrides the one
-- specified in the build project.
[$sel:computeTypeOverride:StartBuild'] :: StartBuild -> Maybe ComputeType
-- | Specifies if session debugging is enabled for this build. For more
-- information, see Viewing a running build in Session Manager.
[$sel:debugSessionEnabled:StartBuild'] :: StartBuild -> Maybe Bool
-- | The Key Management Service customer master key (CMK) that overrides
-- the one specified in the build project. The CMK key encrypts the build
-- output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
[$sel:encryptionKeyOverride:StartBuild'] :: StartBuild -> Maybe Text
-- | A container type for this build that overrides the one specified in
-- the build project.
[$sel:environmentTypeOverride:StartBuild'] :: StartBuild -> Maybe EnvironmentType
-- | A set of environment variables that overrides, for this build only,
-- the latest ones already defined in the build project.
[$sel:environmentVariablesOverride:StartBuild'] :: StartBuild -> Maybe [EnvironmentVariable]
-- | 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.
[$sel:gitCloneDepthOverride:StartBuild'] :: StartBuild -> Maybe Natural
-- | Information about the Git submodules configuration for this build of
-- an CodeBuild build project.
[$sel:gitSubmodulesConfigOverride:StartBuild'] :: StartBuild -> Maybe GitSubmodulesConfig
-- | A unique, case sensitive identifier you provide to ensure the
-- idempotency of the StartBuild request. The token is included in the
-- StartBuild request and is valid for 5 minutes. If you repeat the
-- StartBuild request with the same token, but change a parameter,
-- CodeBuild returns a parameter mismatch error.
[$sel:idempotencyToken:StartBuild'] :: StartBuild -> Maybe Text
-- | The name of an image for this build that overrides the one specified
-- in the build project.
[$sel:imageOverride:StartBuild'] :: StartBuild -> Maybe Text
-- | The type of credentials CodeBuild uses to pull images in your build.
-- There are two valid values:
--
--
-- - CODEBUILD Specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild's service principal.
-- - SERVICE_ROLE Specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When using a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When using an CodeBuild curated
-- image, you must use CODEBUILD credentials.
[$sel:imagePullCredentialsTypeOverride:StartBuild'] :: StartBuild -> Maybe ImagePullCredentialsType
-- | Enable this flag to override the insecure SSL setting that is
-- specified in the build project. The insecure SSL setting determines
-- whether to ignore SSL warnings while connecting to the project source
-- code. This override applies only if the build's source is GitHub
-- Enterprise.
[$sel:insecureSslOverride:StartBuild'] :: StartBuild -> Maybe Bool
-- | Log settings for this build that override the log settings defined in
-- the build project.
[$sel:logsConfigOverride:StartBuild'] :: StartBuild -> Maybe LogsConfig
-- | Enable this flag to override privileged mode in the build project.
[$sel:privilegedModeOverride:StartBuild'] :: StartBuild -> Maybe Bool
-- | The number of minutes a build is allowed to be queued before it times
-- out.
[$sel:queuedTimeoutInMinutesOverride:StartBuild'] :: StartBuild -> Maybe Natural
-- | The credentials for access to a private registry.
[$sel:registryCredentialOverride:StartBuild'] :: StartBuild -> Maybe RegistryCredential
-- | Set to true to report to your source provider the status of a build's
-- start and completion. If you use this option with a source provider
-- other than GitHub, GitHub Enterprise, or Bitbucket, an
-- invalidInputException is thrown.
--
-- To be able to report the build status to the source provider, the user
-- associated with the source provider must have write access to the
-- repo. If the user does not have write access, the build status cannot
-- be updated. For more information, see Source provider access in
-- the CodeBuild User Guide.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
[$sel:reportBuildStatusOverride:StartBuild'] :: StartBuild -> Maybe Bool
-- | An array of ProjectArtifacts objects.
[$sel:secondaryArtifactsOverride:StartBuild'] :: StartBuild -> Maybe [ProjectArtifacts]
-- | An array of ProjectSource objects.
[$sel:secondarySourcesOverride:StartBuild'] :: StartBuild -> Maybe [ProjectSource]
-- | An array of ProjectSourceVersion objects that specify one or
-- more versions of the project's secondary sources to be used for this
-- build only.
[$sel:secondarySourcesVersionOverride:StartBuild'] :: StartBuild -> Maybe [ProjectSourceVersion]
-- | The name of a service role for this build that overrides the one
-- specified in the build project.
[$sel:serviceRoleOverride:StartBuild'] :: StartBuild -> Maybe Text
-- | An authorization type for this build that overrides the one defined in
-- the build project. This override applies only if the build project's
-- source is BitBucket or GitHub.
[$sel:sourceAuthOverride:StartBuild'] :: StartBuild -> Maybe SourceAuth
-- | A location that overrides, for this build, the source location for the
-- one defined in the build project.
[$sel:sourceLocationOverride:StartBuild'] :: StartBuild -> Maybe Text
-- | A source input type, for this build, that overrides the source input
-- defined in the build project.
[$sel:sourceTypeOverride:StartBuild'] :: StartBuild -> Maybe SourceType
-- | The version of the build input to be built, for this build only. If
-- not specified, the latest version is used. If specified, the contents
-- depends on the source provider:
--
--
-- - CodeCommit The commit ID, branch, or Git tag to use.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - Amazon S3 The version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the project level, then this
-- sourceVersion (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
[$sel:sourceVersion:StartBuild'] :: StartBuild -> Maybe Text
-- | 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.
[$sel:timeoutInMinutesOverride:StartBuild'] :: StartBuild -> Maybe Natural
-- | The name of the CodeBuild build project to start running a build.
[$sel:projectName:StartBuild'] :: StartBuild -> Text
-- | Create a value of StartBuild with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:artifactsOverride:StartBuild',
-- startBuild_artifactsOverride - Build output artifact settings
-- that override, for this build only, the latest ones already defined in
-- the build project.
--
-- $sel:buildStatusConfigOverride:StartBuild',
-- startBuild_buildStatusConfigOverride - Contains information
-- that defines how the build project reports the build status to the
-- source provider. This option is only used when the source provider is
-- GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
--
-- $sel:buildspecOverride:StartBuild',
-- startBuild_buildspecOverride - A buildspec file declaration
-- that overrides, for this build only, the latest one already defined in
-- the build project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
--
-- $sel:cacheOverride:StartBuild', startBuild_cacheOverride
-- - A ProjectCache object specified for this build that overrides the
-- one defined in the build project.
--
-- $sel:certificateOverride:StartBuild',
-- startBuild_certificateOverride - The name of a certificate for
-- this build that overrides the one specified in the build project.
--
-- $sel:computeTypeOverride:StartBuild',
-- startBuild_computeTypeOverride - The name of a compute type for
-- this build that overrides the one specified in the build project.
--
-- StartBuild, startBuild_debugSessionEnabled - Specifies
-- if session debugging is enabled for this build. For more information,
-- see Viewing a running build in Session Manager.
--
-- $sel:encryptionKeyOverride:StartBuild',
-- startBuild_encryptionKeyOverride - The Key Management Service
-- customer master key (CMK) that overrides the one specified in the
-- build project. The CMK key encrypts the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
--
-- $sel:environmentTypeOverride:StartBuild',
-- startBuild_environmentTypeOverride - A container type for this
-- build that overrides the one specified in the build project.
--
-- $sel:environmentVariablesOverride:StartBuild',
-- startBuild_environmentVariablesOverride - A set of environment
-- variables that overrides, for this build only, the latest ones already
-- defined in the build project.
--
-- $sel:gitCloneDepthOverride:StartBuild',
-- startBuild_gitCloneDepthOverride - 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.
--
-- $sel:gitSubmodulesConfigOverride:StartBuild',
-- startBuild_gitSubmodulesConfigOverride - Information about the
-- Git submodules configuration for this build of an CodeBuild build
-- project.
--
-- $sel:idempotencyToken:StartBuild',
-- startBuild_idempotencyToken - A unique, case sensitive
-- identifier you provide to ensure the idempotency of the StartBuild
-- request. The token is included in the StartBuild request and is valid
-- for 5 minutes. If you repeat the StartBuild request with the same
-- token, but change a parameter, CodeBuild returns a parameter mismatch
-- error.
--
-- $sel:imageOverride:StartBuild', startBuild_imageOverride
-- - The name of an image for this build that overrides the one specified
-- in the build project.
--
-- $sel:imagePullCredentialsTypeOverride:StartBuild',
-- startBuild_imagePullCredentialsTypeOverride - The type of
-- credentials CodeBuild uses to pull images in your build. There are two
-- valid values:
--
--
-- - CODEBUILD Specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild's service principal.
-- - SERVICE_ROLE Specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When using a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When using an CodeBuild curated
-- image, you must use CODEBUILD credentials.
--
-- $sel:insecureSslOverride:StartBuild',
-- startBuild_insecureSslOverride - Enable this flag to override
-- the insecure SSL setting that is specified in the build project. The
-- insecure SSL setting determines whether to ignore SSL warnings while
-- connecting to the project source code. This override applies only if
-- the build's source is GitHub Enterprise.
--
-- $sel:logsConfigOverride:StartBuild',
-- startBuild_logsConfigOverride - Log settings for this build
-- that override the log settings defined in the build project.
--
-- $sel:privilegedModeOverride:StartBuild',
-- startBuild_privilegedModeOverride - Enable this flag to
-- override privileged mode in the build project.
--
-- $sel:queuedTimeoutInMinutesOverride:StartBuild',
-- startBuild_queuedTimeoutInMinutesOverride - The number of
-- minutes a build is allowed to be queued before it times out.
--
-- $sel:registryCredentialOverride:StartBuild',
-- startBuild_registryCredentialOverride - The credentials for
-- access to a private registry.
--
-- $sel:reportBuildStatusOverride:StartBuild',
-- startBuild_reportBuildStatusOverride - Set to true to report to
-- your source provider the status of a build's start and completion. If
-- you use this option with a source provider other than GitHub, GitHub
-- Enterprise, or Bitbucket, an invalidInputException is thrown.
--
-- To be able to report the build status to the source provider, the user
-- associated with the source provider must have write access to the
-- repo. If the user does not have write access, the build status cannot
-- be updated. For more information, see Source provider access in
-- the CodeBuild User Guide.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
--
-- $sel:secondaryArtifactsOverride:StartBuild',
-- startBuild_secondaryArtifactsOverride - An array of
-- ProjectArtifacts objects.
--
-- $sel:secondarySourcesOverride:StartBuild',
-- startBuild_secondarySourcesOverride - An array of
-- ProjectSource objects.
--
-- $sel:secondarySourcesVersionOverride:StartBuild',
-- startBuild_secondarySourcesVersionOverride - An array of
-- ProjectSourceVersion objects that specify one or more
-- versions of the project's secondary sources to be used for this build
-- only.
--
-- $sel:serviceRoleOverride:StartBuild',
-- startBuild_serviceRoleOverride - The name of a service role for
-- this build that overrides the one specified in the build project.
--
-- $sel:sourceAuthOverride:StartBuild',
-- startBuild_sourceAuthOverride - An authorization type for this
-- build that overrides the one defined in the build project. This
-- override applies only if the build project's source is BitBucket or
-- GitHub.
--
-- $sel:sourceLocationOverride:StartBuild',
-- startBuild_sourceLocationOverride - A location that overrides,
-- for this build, the source location for the one defined in the build
-- project.
--
-- $sel:sourceTypeOverride:StartBuild',
-- startBuild_sourceTypeOverride - A source input type, for this
-- build, that overrides the source input defined in the build project.
--
-- StartBuild, startBuild_sourceVersion - The version of
-- the build input to be built, for this build only. If not specified,
-- the latest version is used. If specified, the contents depends on the
-- source provider:
--
--
-- - CodeCommit The commit ID, branch, or Git tag to use.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - Amazon S3 The version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the project level, then this
-- sourceVersion (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
--
-- $sel:timeoutInMinutesOverride:StartBuild',
-- startBuild_timeoutInMinutesOverride - 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.
--
-- StartBuild, startBuild_projectName - The name of the
-- CodeBuild build project to start running a build.
newStartBuild :: Text -> StartBuild
-- | Build output artifact settings that override, for this build only, the
-- latest ones already defined in the build project.
startBuild_artifactsOverride :: Lens' StartBuild (Maybe ProjectArtifacts)
-- | Contains information that defines how the build project reports the
-- build status to the source provider. This option is only used when the
-- source provider is GITHUB, GITHUB_ENTERPRISE, or
-- BITBUCKET.
startBuild_buildStatusConfigOverride :: Lens' StartBuild (Maybe BuildStatusConfig)
-- | A buildspec file declaration that overrides, for this build only, the
-- latest one already defined in the build project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
startBuild_buildspecOverride :: Lens' StartBuild (Maybe Text)
-- | A ProjectCache object specified for this build that overrides the one
-- defined in the build project.
startBuild_cacheOverride :: Lens' StartBuild (Maybe ProjectCache)
-- | The name of a certificate for this build that overrides the one
-- specified in the build project.
startBuild_certificateOverride :: Lens' StartBuild (Maybe Text)
-- | The name of a compute type for this build that overrides the one
-- specified in the build project.
startBuild_computeTypeOverride :: Lens' StartBuild (Maybe ComputeType)
-- | Specifies if session debugging is enabled for this build. For more
-- information, see Viewing a running build in Session Manager.
startBuild_debugSessionEnabled :: Lens' StartBuild (Maybe Bool)
-- | The Key Management Service customer master key (CMK) that overrides
-- the one specified in the build project. The CMK key encrypts the build
-- output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
startBuild_encryptionKeyOverride :: Lens' StartBuild (Maybe Text)
-- | A container type for this build that overrides the one specified in
-- the build project.
startBuild_environmentTypeOverride :: Lens' StartBuild (Maybe EnvironmentType)
-- | A set of environment variables that overrides, for this build only,
-- the latest ones already defined in the build project.
startBuild_environmentVariablesOverride :: Lens' StartBuild (Maybe [EnvironmentVariable])
-- | 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.
startBuild_gitCloneDepthOverride :: Lens' StartBuild (Maybe Natural)
-- | Information about the Git submodules configuration for this build of
-- an CodeBuild build project.
startBuild_gitSubmodulesConfigOverride :: Lens' StartBuild (Maybe GitSubmodulesConfig)
-- | A unique, case sensitive identifier you provide to ensure the
-- idempotency of the StartBuild request. The token is included in the
-- StartBuild request and is valid for 5 minutes. If you repeat the
-- StartBuild request with the same token, but change a parameter,
-- CodeBuild returns a parameter mismatch error.
startBuild_idempotencyToken :: Lens' StartBuild (Maybe Text)
-- | The name of an image for this build that overrides the one specified
-- in the build project.
startBuild_imageOverride :: Lens' StartBuild (Maybe Text)
-- | The type of credentials CodeBuild uses to pull images in your build.
-- There are two valid values:
--
--
-- - CODEBUILD Specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild's service principal.
-- - SERVICE_ROLE Specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When using a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When using an CodeBuild curated
-- image, you must use CODEBUILD credentials.
startBuild_imagePullCredentialsTypeOverride :: Lens' StartBuild (Maybe ImagePullCredentialsType)
-- | Enable this flag to override the insecure SSL setting that is
-- specified in the build project. The insecure SSL setting determines
-- whether to ignore SSL warnings while connecting to the project source
-- code. This override applies only if the build's source is GitHub
-- Enterprise.
startBuild_insecureSslOverride :: Lens' StartBuild (Maybe Bool)
-- | Log settings for this build that override the log settings defined in
-- the build project.
startBuild_logsConfigOverride :: Lens' StartBuild (Maybe LogsConfig)
-- | Enable this flag to override privileged mode in the build project.
startBuild_privilegedModeOverride :: Lens' StartBuild (Maybe Bool)
-- | The number of minutes a build is allowed to be queued before it times
-- out.
startBuild_queuedTimeoutInMinutesOverride :: Lens' StartBuild (Maybe Natural)
-- | The credentials for access to a private registry.
startBuild_registryCredentialOverride :: Lens' StartBuild (Maybe RegistryCredential)
-- | Set to true to report to your source provider the status of a build's
-- start and completion. If you use this option with a source provider
-- other than GitHub, GitHub Enterprise, or Bitbucket, an
-- invalidInputException is thrown.
--
-- To be able to report the build status to the source provider, the user
-- associated with the source provider must have write access to the
-- repo. If the user does not have write access, the build status cannot
-- be updated. For more information, see Source provider access in
-- the CodeBuild User Guide.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
startBuild_reportBuildStatusOverride :: Lens' StartBuild (Maybe Bool)
-- | An array of ProjectArtifacts objects.
startBuild_secondaryArtifactsOverride :: Lens' StartBuild (Maybe [ProjectArtifacts])
-- | An array of ProjectSource objects.
startBuild_secondarySourcesOverride :: Lens' StartBuild (Maybe [ProjectSource])
-- | An array of ProjectSourceVersion objects that specify one or
-- more versions of the project's secondary sources to be used for this
-- build only.
startBuild_secondarySourcesVersionOverride :: Lens' StartBuild (Maybe [ProjectSourceVersion])
-- | The name of a service role for this build that overrides the one
-- specified in the build project.
startBuild_serviceRoleOverride :: Lens' StartBuild (Maybe Text)
-- | An authorization type for this build that overrides the one defined in
-- the build project. This override applies only if the build project's
-- source is BitBucket or GitHub.
startBuild_sourceAuthOverride :: Lens' StartBuild (Maybe SourceAuth)
-- | A location that overrides, for this build, the source location for the
-- one defined in the build project.
startBuild_sourceLocationOverride :: Lens' StartBuild (Maybe Text)
-- | A source input type, for this build, that overrides the source input
-- defined in the build project.
startBuild_sourceTypeOverride :: Lens' StartBuild (Maybe SourceType)
-- | The version of the build input to be built, for this build only. If
-- not specified, the latest version is used. If specified, the contents
-- depends on the source provider:
--
--
-- - CodeCommit The commit ID, branch, or Git tag to use.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - Amazon S3 The version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the project level, then this
-- sourceVersion (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
startBuild_sourceVersion :: Lens' StartBuild (Maybe Text)
-- | 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.
startBuild_timeoutInMinutesOverride :: Lens' StartBuild (Maybe Natural)
-- | The name of the CodeBuild build project to start running a build.
startBuild_projectName :: Lens' StartBuild Text
-- | See: newStartBuildResponse smart constructor.
data StartBuildResponse
StartBuildResponse' :: Maybe Build -> Int -> StartBuildResponse
-- | Information about the build to be run.
[$sel:build:StartBuildResponse'] :: StartBuildResponse -> Maybe Build
-- | The response's http status code.
[$sel:httpStatus:StartBuildResponse'] :: StartBuildResponse -> Int
-- | Create a value of StartBuildResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:build:StartBuildResponse', startBuildResponse_build
-- - Information about the build to be run.
--
-- $sel:httpStatus:StartBuildResponse',
-- startBuildResponse_httpStatus - The response's http status
-- code.
newStartBuildResponse :: Int -> StartBuildResponse
-- | Information about the build to be run.
startBuildResponse_build :: Lens' StartBuildResponse (Maybe Build)
-- | The response's http status code.
startBuildResponse_httpStatus :: Lens' StartBuildResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.StartBuild.StartBuild
instance GHC.Show.Show Amazonka.CodeBuild.StartBuild.StartBuild
instance GHC.Read.Read Amazonka.CodeBuild.StartBuild.StartBuild
instance GHC.Classes.Eq Amazonka.CodeBuild.StartBuild.StartBuild
instance GHC.Generics.Generic Amazonka.CodeBuild.StartBuild.StartBuildResponse
instance GHC.Show.Show Amazonka.CodeBuild.StartBuild.StartBuildResponse
instance GHC.Read.Read Amazonka.CodeBuild.StartBuild.StartBuildResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.StartBuild.StartBuildResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.StartBuild.StartBuild
instance Control.DeepSeq.NFData Amazonka.CodeBuild.StartBuild.StartBuildResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.StartBuild.StartBuild
instance Control.DeepSeq.NFData Amazonka.CodeBuild.StartBuild.StartBuild
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.StartBuild.StartBuild
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.StartBuild.StartBuild
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.StartBuild.StartBuild
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.StartBuild.StartBuild
-- | Restarts a failed batch build. Only batch builds that have failed can
-- be retried.
module Amazonka.CodeBuild.RetryBuildBatch
-- | See: newRetryBuildBatch smart constructor.
data RetryBuildBatch
RetryBuildBatch' :: Maybe Text -> Maybe Text -> Maybe RetryBuildBatchType -> RetryBuildBatch
-- | Specifies the identifier of the batch build to restart.
[$sel:id:RetryBuildBatch'] :: RetryBuildBatch -> Maybe Text
-- | A unique, case sensitive identifier you provide to ensure the
-- idempotency of the RetryBuildBatch request. The token is
-- included in the RetryBuildBatch request and is valid for five
-- minutes. If you repeat the RetryBuildBatch request with the
-- same token, but change a parameter, CodeBuild returns a parameter
-- mismatch error.
[$sel:idempotencyToken:RetryBuildBatch'] :: RetryBuildBatch -> Maybe Text
-- | Specifies the type of retry to perform.
[$sel:retryType:RetryBuildBatch'] :: RetryBuildBatch -> Maybe RetryBuildBatchType
-- | Create a value of RetryBuildBatch with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RetryBuildBatch, retryBuildBatch_id - Specifies the
-- identifier of the batch build to restart.
--
-- $sel:idempotencyToken:RetryBuildBatch',
-- retryBuildBatch_idempotencyToken - A unique, case sensitive
-- identifier you provide to ensure the idempotency of the
-- RetryBuildBatch request. The token is included in the
-- RetryBuildBatch request and is valid for five minutes. If you
-- repeat the RetryBuildBatch request with the same token, but
-- change a parameter, CodeBuild returns a parameter mismatch error.
--
-- $sel:retryType:RetryBuildBatch',
-- retryBuildBatch_retryType - Specifies the type of retry to
-- perform.
newRetryBuildBatch :: RetryBuildBatch
-- | Specifies the identifier of the batch build to restart.
retryBuildBatch_id :: Lens' RetryBuildBatch (Maybe Text)
-- | A unique, case sensitive identifier you provide to ensure the
-- idempotency of the RetryBuildBatch request. The token is
-- included in the RetryBuildBatch request and is valid for five
-- minutes. If you repeat the RetryBuildBatch request with the
-- same token, but change a parameter, CodeBuild returns a parameter
-- mismatch error.
retryBuildBatch_idempotencyToken :: Lens' RetryBuildBatch (Maybe Text)
-- | Specifies the type of retry to perform.
retryBuildBatch_retryType :: Lens' RetryBuildBatch (Maybe RetryBuildBatchType)
-- | See: newRetryBuildBatchResponse smart constructor.
data RetryBuildBatchResponse
RetryBuildBatchResponse' :: Maybe BuildBatch -> Int -> RetryBuildBatchResponse
[$sel:buildBatch:RetryBuildBatchResponse'] :: RetryBuildBatchResponse -> Maybe BuildBatch
-- | The response's http status code.
[$sel:httpStatus:RetryBuildBatchResponse'] :: RetryBuildBatchResponse -> Int
-- | Create a value of RetryBuildBatchResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:buildBatch:RetryBuildBatchResponse',
-- retryBuildBatchResponse_buildBatch - Undocumented member.
--
-- $sel:httpStatus:RetryBuildBatchResponse',
-- retryBuildBatchResponse_httpStatus - The response's http status
-- code.
newRetryBuildBatchResponse :: Int -> RetryBuildBatchResponse
-- | Undocumented member.
retryBuildBatchResponse_buildBatch :: Lens' RetryBuildBatchResponse (Maybe BuildBatch)
-- | The response's http status code.
retryBuildBatchResponse_httpStatus :: Lens' RetryBuildBatchResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatch
instance GHC.Show.Show Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatch
instance GHC.Read.Read Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatch
instance GHC.Classes.Eq Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatch
instance GHC.Generics.Generic Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatchResponse
instance GHC.Show.Show Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatchResponse
instance GHC.Read.Read Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatchResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatchResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatch
instance Control.DeepSeq.NFData Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatchResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatch
instance Control.DeepSeq.NFData Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatch
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatch
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatch
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatch
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.RetryBuildBatch.RetryBuildBatch
-- | Restarts a build.
module Amazonka.CodeBuild.RetryBuild
-- | See: newRetryBuild smart constructor.
data RetryBuild
RetryBuild' :: Maybe Text -> Maybe Text -> RetryBuild
-- | Specifies the identifier of the build to restart.
[$sel:id:RetryBuild'] :: RetryBuild -> Maybe Text
-- | A unique, case sensitive identifier you provide to ensure the
-- idempotency of the RetryBuild request. The token is included
-- in the RetryBuild request and is valid for five minutes. If
-- you repeat the RetryBuild request with the same token, but
-- change a parameter, CodeBuild returns a parameter mismatch error.
[$sel:idempotencyToken:RetryBuild'] :: RetryBuild -> Maybe Text
-- | Create a value of RetryBuild with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RetryBuild, retryBuild_id - Specifies the identifier of
-- the build to restart.
--
-- $sel:idempotencyToken:RetryBuild',
-- retryBuild_idempotencyToken - A unique, case sensitive
-- identifier you provide to ensure the idempotency of the
-- RetryBuild request. The token is included in the
-- RetryBuild request and is valid for five minutes. If you
-- repeat the RetryBuild request with the same token, but change
-- a parameter, CodeBuild returns a parameter mismatch error.
newRetryBuild :: RetryBuild
-- | Specifies the identifier of the build to restart.
retryBuild_id :: Lens' RetryBuild (Maybe Text)
-- | A unique, case sensitive identifier you provide to ensure the
-- idempotency of the RetryBuild request. The token is included
-- in the RetryBuild request and is valid for five minutes. If
-- you repeat the RetryBuild request with the same token, but
-- change a parameter, CodeBuild returns a parameter mismatch error.
retryBuild_idempotencyToken :: Lens' RetryBuild (Maybe Text)
-- | See: newRetryBuildResponse smart constructor.
data RetryBuildResponse
RetryBuildResponse' :: Maybe Build -> Int -> RetryBuildResponse
[$sel:build:RetryBuildResponse'] :: RetryBuildResponse -> Maybe Build
-- | The response's http status code.
[$sel:httpStatus:RetryBuildResponse'] :: RetryBuildResponse -> Int
-- | Create a value of RetryBuildResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:build:RetryBuildResponse', retryBuildResponse_build
-- - Undocumented member.
--
-- $sel:httpStatus:RetryBuildResponse',
-- retryBuildResponse_httpStatus - The response's http status
-- code.
newRetryBuildResponse :: Int -> RetryBuildResponse
-- | Undocumented member.
retryBuildResponse_build :: Lens' RetryBuildResponse (Maybe Build)
-- | The response's http status code.
retryBuildResponse_httpStatus :: Lens' RetryBuildResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.RetryBuild.RetryBuild
instance GHC.Show.Show Amazonka.CodeBuild.RetryBuild.RetryBuild
instance GHC.Read.Read Amazonka.CodeBuild.RetryBuild.RetryBuild
instance GHC.Classes.Eq Amazonka.CodeBuild.RetryBuild.RetryBuild
instance GHC.Generics.Generic Amazonka.CodeBuild.RetryBuild.RetryBuildResponse
instance GHC.Show.Show Amazonka.CodeBuild.RetryBuild.RetryBuildResponse
instance GHC.Read.Read Amazonka.CodeBuild.RetryBuild.RetryBuildResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.RetryBuild.RetryBuildResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.RetryBuild.RetryBuild
instance Control.DeepSeq.NFData Amazonka.CodeBuild.RetryBuild.RetryBuildResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.RetryBuild.RetryBuild
instance Control.DeepSeq.NFData Amazonka.CodeBuild.RetryBuild.RetryBuild
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.RetryBuild.RetryBuild
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.RetryBuild.RetryBuild
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.RetryBuild.RetryBuild
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.RetryBuild.RetryBuild
-- | Stores a resource policy for the ARN of a Project or
-- ReportGroup object.
module Amazonka.CodeBuild.PutResourcePolicy
-- | See: newPutResourcePolicy smart constructor.
data PutResourcePolicy
PutResourcePolicy' :: Text -> Text -> PutResourcePolicy
-- | A JSON-formatted resource policy. For more information, see Sharing
-- a Project and Sharing a Report Group in the CodeBuild
-- User Guide.
[$sel:policy:PutResourcePolicy'] :: PutResourcePolicy -> Text
-- | The ARN of the Project or ReportGroup resource you
-- want to associate with a resource policy.
[$sel:resourceArn:PutResourcePolicy'] :: PutResourcePolicy -> Text
-- | Create a value of PutResourcePolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:policy:PutResourcePolicy', putResourcePolicy_policy
-- - A JSON-formatted resource policy. For more information, see
-- Sharing a Project and Sharing a Report Group in the
-- CodeBuild User Guide.
--
-- PutResourcePolicy, putResourcePolicy_resourceArn - The
-- ARN of the Project or ReportGroup resource you want
-- to associate with a resource policy.
newPutResourcePolicy :: Text -> Text -> PutResourcePolicy
-- | A JSON-formatted resource policy. For more information, see Sharing
-- a Project and Sharing a Report Group in the CodeBuild
-- User Guide.
putResourcePolicy_policy :: Lens' PutResourcePolicy Text
-- | The ARN of the Project or ReportGroup resource you
-- want to associate with a resource policy.
putResourcePolicy_resourceArn :: Lens' PutResourcePolicy Text
-- | See: newPutResourcePolicyResponse smart constructor.
data PutResourcePolicyResponse
PutResourcePolicyResponse' :: Maybe Text -> Int -> PutResourcePolicyResponse
-- | The ARN of the Project or ReportGroup resource that
-- is associated with a resource policy.
[$sel:resourceArn:PutResourcePolicyResponse'] :: PutResourcePolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:PutResourcePolicyResponse'] :: PutResourcePolicyResponse -> Int
-- | Create a value of PutResourcePolicyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- PutResourcePolicy, putResourcePolicyResponse_resourceArn
-- - The ARN of the Project or ReportGroup resource
-- that is associated with a resource policy.
--
-- $sel:httpStatus:PutResourcePolicyResponse',
-- putResourcePolicyResponse_httpStatus - The response's http
-- status code.
newPutResourcePolicyResponse :: Int -> PutResourcePolicyResponse
-- | The ARN of the Project or ReportGroup resource that
-- is associated with a resource policy.
putResourcePolicyResponse_resourceArn :: Lens' PutResourcePolicyResponse (Maybe Text)
-- | The response's http status code.
putResourcePolicyResponse_httpStatus :: Lens' PutResourcePolicyResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicy
instance GHC.Show.Show Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicy
instance GHC.Read.Read Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicy
instance GHC.Classes.Eq Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicy
instance GHC.Generics.Generic Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicyResponse
instance GHC.Show.Show Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicyResponse
instance GHC.Read.Read Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicyResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicy
instance Control.DeepSeq.NFData Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicy
instance Control.DeepSeq.NFData Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicy
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicy
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.PutResourcePolicy.PutResourcePolicy
-- | Returns a list of SourceCredentialsInfo objects.
module Amazonka.CodeBuild.ListSourceCredentials
-- | See: newListSourceCredentials smart constructor.
data ListSourceCredentials
ListSourceCredentials' :: ListSourceCredentials
-- | Create a value of ListSourceCredentials with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newListSourceCredentials :: ListSourceCredentials
-- | See: newListSourceCredentialsResponse smart constructor.
data ListSourceCredentialsResponse
ListSourceCredentialsResponse' :: Maybe [SourceCredentialsInfo] -> Int -> ListSourceCredentialsResponse
-- | A list of SourceCredentialsInfo objects. Each
-- SourceCredentialsInfo object includes the authentication
-- type, token ARN, and type of source provider for one set of
-- credentials.
[$sel:sourceCredentialsInfos:ListSourceCredentialsResponse'] :: ListSourceCredentialsResponse -> Maybe [SourceCredentialsInfo]
-- | The response's http status code.
[$sel:httpStatus:ListSourceCredentialsResponse'] :: ListSourceCredentialsResponse -> Int
-- | Create a value of ListSourceCredentialsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:sourceCredentialsInfos:ListSourceCredentialsResponse',
-- listSourceCredentialsResponse_sourceCredentialsInfos - A list
-- of SourceCredentialsInfo objects. Each
-- SourceCredentialsInfo object includes the authentication
-- type, token ARN, and type of source provider for one set of
-- credentials.
--
-- $sel:httpStatus:ListSourceCredentialsResponse',
-- listSourceCredentialsResponse_httpStatus - The response's http
-- status code.
newListSourceCredentialsResponse :: Int -> ListSourceCredentialsResponse
-- | A list of SourceCredentialsInfo objects. Each
-- SourceCredentialsInfo object includes the authentication
-- type, token ARN, and type of source provider for one set of
-- credentials.
listSourceCredentialsResponse_sourceCredentialsInfos :: Lens' ListSourceCredentialsResponse (Maybe [SourceCredentialsInfo])
-- | The response's http status code.
listSourceCredentialsResponse_httpStatus :: Lens' ListSourceCredentialsResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentials
instance GHC.Show.Show Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentials
instance GHC.Read.Read Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentials
instance GHC.Classes.Eq Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentials
instance GHC.Generics.Generic Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentialsResponse
instance GHC.Show.Show Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentialsResponse
instance GHC.Read.Read Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentialsResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentialsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentials
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentialsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentials
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentials
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentials
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentials
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentials
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.ListSourceCredentials.ListSourceCredentials
-- | Gets a list of report groups that are shared with other Amazon Web
-- Services accounts or users.
--
-- This operation returns paginated results.
module Amazonka.CodeBuild.ListSharedReportGroups
-- | See: newListSharedReportGroups smart constructor.
data ListSharedReportGroups
ListSharedReportGroups' :: Maybe Natural -> Maybe Text -> Maybe SharedResourceSortByType -> Maybe SortOrderType -> ListSharedReportGroups
-- | The maximum number of paginated shared report groups per response. Use
-- nextToken to iterate pages in the list of returned
-- ReportGroup objects. The default value is 100.
[$sel:maxResults:ListSharedReportGroups'] :: ListSharedReportGroups -> Maybe Natural
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
[$sel:nextToken:ListSharedReportGroups'] :: ListSharedReportGroups -> Maybe Text
-- | The criterion to be used to list report groups shared with the current
-- Amazon Web Services account or user. Valid values include:
--
--
-- - ARN: List based on the ARN.
-- - MODIFIED_TIME: List based on when information about the
-- shared report group was last changed.
--
[$sel:sortBy:ListSharedReportGroups'] :: ListSharedReportGroups -> Maybe SharedResourceSortByType
-- | The order in which to list shared report groups. Valid values include:
--
--
-- - ASCENDING: List in ascending order.
-- - DESCENDING: List in descending order.
--
[$sel:sortOrder:ListSharedReportGroups'] :: ListSharedReportGroups -> Maybe SortOrderType
-- | Create a value of ListSharedReportGroups with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListSharedReportGroups',
-- listSharedReportGroups_maxResults - The maximum number of
-- paginated shared report groups per response. Use nextToken to
-- iterate pages in the list of returned ReportGroup objects.
-- The default value is 100.
--
-- ListSharedReportGroups, listSharedReportGroups_nextToken
-- - During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
--
-- $sel:sortBy:ListSharedReportGroups',
-- listSharedReportGroups_sortBy - The criterion to be used to
-- list report groups shared with the current Amazon Web Services account
-- or user. Valid values include:
--
--
-- - ARN: List based on the ARN.
-- - MODIFIED_TIME: List based on when information about the
-- shared report group was last changed.
--
--
-- $sel:sortOrder:ListSharedReportGroups',
-- listSharedReportGroups_sortOrder - The order in which to list
-- shared report groups. Valid values include:
--
--
-- - ASCENDING: List in ascending order.
-- - DESCENDING: List in descending order.
--
newListSharedReportGroups :: ListSharedReportGroups
-- | The maximum number of paginated shared report groups per response. Use
-- nextToken to iterate pages in the list of returned
-- ReportGroup objects. The default value is 100.
listSharedReportGroups_maxResults :: Lens' ListSharedReportGroups (Maybe Natural)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listSharedReportGroups_nextToken :: Lens' ListSharedReportGroups (Maybe Text)
-- | The criterion to be used to list report groups shared with the current
-- Amazon Web Services account or user. Valid values include:
--
--
-- - ARN: List based on the ARN.
-- - MODIFIED_TIME: List based on when information about the
-- shared report group was last changed.
--
listSharedReportGroups_sortBy :: Lens' ListSharedReportGroups (Maybe SharedResourceSortByType)
-- | The order in which to list shared report groups. Valid values include:
--
--
-- - ASCENDING: List in ascending order.
-- - DESCENDING: List in descending order.
--
listSharedReportGroups_sortOrder :: Lens' ListSharedReportGroups (Maybe SortOrderType)
-- | See: newListSharedReportGroupsResponse smart
-- constructor.
data ListSharedReportGroupsResponse
ListSharedReportGroupsResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Int -> ListSharedReportGroupsResponse
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
[$sel:nextToken:ListSharedReportGroupsResponse'] :: ListSharedReportGroupsResponse -> Maybe Text
-- | The list of ARNs for the report groups shared with the current Amazon
-- Web Services account or user.
[$sel:reportGroups:ListSharedReportGroupsResponse'] :: ListSharedReportGroupsResponse -> Maybe (NonEmpty Text)
-- | The response's http status code.
[$sel:httpStatus:ListSharedReportGroupsResponse'] :: ListSharedReportGroupsResponse -> Int
-- | Create a value of ListSharedReportGroupsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListSharedReportGroups,
-- listSharedReportGroupsResponse_nextToken - During a previous
-- call, the maximum number of items that can be returned is the value
-- specified in maxResults. If there more items in the list,
-- then a unique string called a nextToken is returned. 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.
--
-- $sel:reportGroups:ListSharedReportGroupsResponse',
-- listSharedReportGroupsResponse_reportGroups - The list of ARNs
-- for the report groups shared with the current Amazon Web Services
-- account or user.
--
-- $sel:httpStatus:ListSharedReportGroupsResponse',
-- listSharedReportGroupsResponse_httpStatus - The response's http
-- status code.
newListSharedReportGroupsResponse :: Int -> ListSharedReportGroupsResponse
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listSharedReportGroupsResponse_nextToken :: Lens' ListSharedReportGroupsResponse (Maybe Text)
-- | The list of ARNs for the report groups shared with the current Amazon
-- Web Services account or user.
listSharedReportGroupsResponse_reportGroups :: Lens' ListSharedReportGroupsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
listSharedReportGroupsResponse_httpStatus :: Lens' ListSharedReportGroupsResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroups
instance GHC.Show.Show Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroups
instance GHC.Read.Read Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroups
instance GHC.Classes.Eq Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroups
instance GHC.Generics.Generic Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroupsResponse
instance GHC.Show.Show Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroupsResponse
instance GHC.Read.Read Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroupsResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroupsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroups
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroupsResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroups
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroups
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroups
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroups
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroups
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroups
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.ListSharedReportGroups.ListSharedReportGroups
-- | Gets a list of projects that are shared with other Amazon Web Services
-- accounts or users.
--
-- This operation returns paginated results.
module Amazonka.CodeBuild.ListSharedProjects
-- | See: newListSharedProjects smart constructor.
data ListSharedProjects
ListSharedProjects' :: Maybe Natural -> Maybe Text -> Maybe SharedResourceSortByType -> Maybe SortOrderType -> ListSharedProjects
-- | The maximum number of paginated shared build projects returned per
-- response. Use nextToken to iterate pages in the list of
-- returned Project objects. The default value is 100.
[$sel:maxResults:ListSharedProjects'] :: ListSharedProjects -> Maybe Natural
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
[$sel:nextToken:ListSharedProjects'] :: ListSharedProjects -> Maybe Text
-- | The criterion to be used to list build projects shared with the
-- current Amazon Web Services account or user. Valid values include:
--
--
-- - ARN: List based on the ARN.
-- - MODIFIED_TIME: List based on when information about the
-- shared project was last changed.
--
[$sel:sortBy:ListSharedProjects'] :: ListSharedProjects -> Maybe SharedResourceSortByType
-- | The order in which to list shared build projects. Valid values
-- include:
--
--
-- - ASCENDING: List in ascending order.
-- - DESCENDING: List in descending order.
--
[$sel:sortOrder:ListSharedProjects'] :: ListSharedProjects -> Maybe SortOrderType
-- | Create a value of ListSharedProjects with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListSharedProjects',
-- listSharedProjects_maxResults - The maximum number of paginated
-- shared build projects returned per response. Use nextToken to
-- iterate pages in the list of returned Project objects. The
-- default value is 100.
--
-- ListSharedProjects, listSharedProjects_nextToken -
-- During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
--
-- $sel:sortBy:ListSharedProjects',
-- listSharedProjects_sortBy - The criterion to be used to list
-- build projects shared with the current Amazon Web Services account or
-- user. Valid values include:
--
--
-- - ARN: List based on the ARN.
-- - MODIFIED_TIME: List based on when information about the
-- shared project was last changed.
--
--
-- $sel:sortOrder:ListSharedProjects',
-- listSharedProjects_sortOrder - The order in which to list
-- shared build projects. Valid values include:
--
--
-- - ASCENDING: List in ascending order.
-- - DESCENDING: List in descending order.
--
newListSharedProjects :: ListSharedProjects
-- | The maximum number of paginated shared build projects returned per
-- response. Use nextToken to iterate pages in the list of
-- returned Project objects. The default value is 100.
listSharedProjects_maxResults :: Lens' ListSharedProjects (Maybe Natural)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listSharedProjects_nextToken :: Lens' ListSharedProjects (Maybe Text)
-- | The criterion to be used to list build projects shared with the
-- current Amazon Web Services account or user. Valid values include:
--
--
-- - ARN: List based on the ARN.
-- - MODIFIED_TIME: List based on when information about the
-- shared project was last changed.
--
listSharedProjects_sortBy :: Lens' ListSharedProjects (Maybe SharedResourceSortByType)
-- | The order in which to list shared build projects. Valid values
-- include:
--
--
-- - ASCENDING: List in ascending order.
-- - DESCENDING: List in descending order.
--
listSharedProjects_sortOrder :: Lens' ListSharedProjects (Maybe SortOrderType)
-- | See: newListSharedProjectsResponse smart constructor.
data ListSharedProjectsResponse
ListSharedProjectsResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Int -> ListSharedProjectsResponse
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
[$sel:nextToken:ListSharedProjectsResponse'] :: ListSharedProjectsResponse -> Maybe Text
-- | The list of ARNs for the build projects shared with the current Amazon
-- Web Services account or user.
[$sel:projects:ListSharedProjectsResponse'] :: ListSharedProjectsResponse -> Maybe (NonEmpty Text)
-- | The response's http status code.
[$sel:httpStatus:ListSharedProjectsResponse'] :: ListSharedProjectsResponse -> Int
-- | Create a value of ListSharedProjectsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListSharedProjects, listSharedProjectsResponse_nextToken
-- - During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
--
-- $sel:projects:ListSharedProjectsResponse',
-- listSharedProjectsResponse_projects - The list of ARNs for the
-- build projects shared with the current Amazon Web Services account or
-- user.
--
-- $sel:httpStatus:ListSharedProjectsResponse',
-- listSharedProjectsResponse_httpStatus - The response's http
-- status code.
newListSharedProjectsResponse :: Int -> ListSharedProjectsResponse
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listSharedProjectsResponse_nextToken :: Lens' ListSharedProjectsResponse (Maybe Text)
-- | The list of ARNs for the build projects shared with the current Amazon
-- Web Services account or user.
listSharedProjectsResponse_projects :: Lens' ListSharedProjectsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
listSharedProjectsResponse_httpStatus :: Lens' ListSharedProjectsResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.ListSharedProjects.ListSharedProjects
instance GHC.Show.Show Amazonka.CodeBuild.ListSharedProjects.ListSharedProjects
instance GHC.Read.Read Amazonka.CodeBuild.ListSharedProjects.ListSharedProjects
instance GHC.Classes.Eq Amazonka.CodeBuild.ListSharedProjects.ListSharedProjects
instance GHC.Generics.Generic Amazonka.CodeBuild.ListSharedProjects.ListSharedProjectsResponse
instance GHC.Show.Show Amazonka.CodeBuild.ListSharedProjects.ListSharedProjectsResponse
instance GHC.Read.Read Amazonka.CodeBuild.ListSharedProjects.ListSharedProjectsResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.ListSharedProjects.ListSharedProjectsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.ListSharedProjects.ListSharedProjects
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListSharedProjects.ListSharedProjectsResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeBuild.ListSharedProjects.ListSharedProjects
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.ListSharedProjects.ListSharedProjects
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListSharedProjects.ListSharedProjects
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.ListSharedProjects.ListSharedProjects
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.ListSharedProjects.ListSharedProjects
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.ListSharedProjects.ListSharedProjects
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.ListSharedProjects.ListSharedProjects
-- | Returns a list of ARNs for the reports that belong to a
-- ReportGroup.
--
-- This operation returns paginated results.
module Amazonka.CodeBuild.ListReportsForReportGroup
-- | See: newListReportsForReportGroup smart constructor.
data ListReportsForReportGroup
ListReportsForReportGroup' :: Maybe ReportFilter -> Maybe Natural -> Maybe Text -> Maybe SortOrderType -> Text -> ListReportsForReportGroup
-- | A ReportFilter object used to filter the returned reports.
[$sel:filter':ListReportsForReportGroup'] :: ListReportsForReportGroup -> Maybe ReportFilter
-- | The maximum number of paginated reports in this report group returned
-- per response. Use nextToken to iterate pages in the list of
-- returned Report objects. The default value is 100.
[$sel:maxResults:ListReportsForReportGroup'] :: ListReportsForReportGroup -> Maybe Natural
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
[$sel:nextToken:ListReportsForReportGroup'] :: ListReportsForReportGroup -> Maybe Text
-- | Use to specify whether the results are returned in ascending or
-- descending order.
[$sel:sortOrder:ListReportsForReportGroup'] :: ListReportsForReportGroup -> Maybe SortOrderType
-- | The ARN of the report group for which you want to return report ARNs.
[$sel:reportGroupArn:ListReportsForReportGroup'] :: ListReportsForReportGroup -> Text
-- | Create a value of ListReportsForReportGroup with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filter':ListReportsForReportGroup',
-- listReportsForReportGroup_filter - A ReportFilter
-- object used to filter the returned reports.
--
-- $sel:maxResults:ListReportsForReportGroup',
-- listReportsForReportGroup_maxResults - The maximum number of
-- paginated reports in this report group returned per response. Use
-- nextToken to iterate pages in the list of returned
-- Report objects. The default value is 100.
--
-- ListReportsForReportGroup,
-- listReportsForReportGroup_nextToken - During a previous call,
-- the maximum number of items that can be returned is the value
-- specified in maxResults. If there more items in the list,
-- then a unique string called a nextToken is returned. 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.
--
-- $sel:sortOrder:ListReportsForReportGroup',
-- listReportsForReportGroup_sortOrder - Use to specify whether
-- the results are returned in ascending or descending order.
--
-- ListReportsForReportGroup,
-- listReportsForReportGroup_reportGroupArn - The ARN of the
-- report group for which you want to return report ARNs.
newListReportsForReportGroup :: Text -> ListReportsForReportGroup
-- | A ReportFilter object used to filter the returned reports.
listReportsForReportGroup_filter :: Lens' ListReportsForReportGroup (Maybe ReportFilter)
-- | The maximum number of paginated reports in this report group returned
-- per response. Use nextToken to iterate pages in the list of
-- returned Report objects. The default value is 100.
listReportsForReportGroup_maxResults :: Lens' ListReportsForReportGroup (Maybe Natural)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listReportsForReportGroup_nextToken :: Lens' ListReportsForReportGroup (Maybe Text)
-- | Use to specify whether the results are returned in ascending or
-- descending order.
listReportsForReportGroup_sortOrder :: Lens' ListReportsForReportGroup (Maybe SortOrderType)
-- | The ARN of the report group for which you want to return report ARNs.
listReportsForReportGroup_reportGroupArn :: Lens' ListReportsForReportGroup Text
-- | See: newListReportsForReportGroupResponse smart
-- constructor.
data ListReportsForReportGroupResponse
ListReportsForReportGroupResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Int -> ListReportsForReportGroupResponse
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
[$sel:nextToken:ListReportsForReportGroupResponse'] :: ListReportsForReportGroupResponse -> Maybe Text
-- | The list of report ARNs.
[$sel:reports:ListReportsForReportGroupResponse'] :: ListReportsForReportGroupResponse -> Maybe (NonEmpty Text)
-- | The response's http status code.
[$sel:httpStatus:ListReportsForReportGroupResponse'] :: ListReportsForReportGroupResponse -> Int
-- | Create a value of ListReportsForReportGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListReportsForReportGroup,
-- listReportsForReportGroupResponse_nextToken - During a previous
-- call, the maximum number of items that can be returned is the value
-- specified in maxResults. If there more items in the list,
-- then a unique string called a nextToken is returned. 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.
--
-- $sel:reports:ListReportsForReportGroupResponse',
-- listReportsForReportGroupResponse_reports - The list of report
-- ARNs.
--
-- $sel:httpStatus:ListReportsForReportGroupResponse',
-- listReportsForReportGroupResponse_httpStatus - The response's
-- http status code.
newListReportsForReportGroupResponse :: Int -> ListReportsForReportGroupResponse
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listReportsForReportGroupResponse_nextToken :: Lens' ListReportsForReportGroupResponse (Maybe Text)
-- | The list of report ARNs.
listReportsForReportGroupResponse_reports :: Lens' ListReportsForReportGroupResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
listReportsForReportGroupResponse_httpStatus :: Lens' ListReportsForReportGroupResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroup
instance GHC.Show.Show Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroup
instance GHC.Read.Read Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroup
instance GHC.Classes.Eq Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroup
instance GHC.Generics.Generic Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroupResponse
instance GHC.Show.Show Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroupResponse
instance GHC.Read.Read Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroupResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroup
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroupResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroup
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroup
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroup
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroup
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.ListReportsForReportGroup.ListReportsForReportGroup
-- | Returns a list of ARNs for the reports in the current Amazon Web
-- Services account.
--
-- This operation returns paginated results.
module Amazonka.CodeBuild.ListReports
-- | See: newListReports smart constructor.
data ListReports
ListReports' :: Maybe ReportFilter -> Maybe Natural -> Maybe Text -> Maybe SortOrderType -> ListReports
-- | A ReportFilter object used to filter the returned reports.
[$sel:filter':ListReports'] :: ListReports -> Maybe ReportFilter
-- | The maximum number of paginated reports returned per response. Use
-- nextToken to iterate pages in the list of returned
-- Report objects. The default value is 100.
[$sel:maxResults:ListReports'] :: ListReports -> Maybe Natural
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
[$sel:nextToken:ListReports'] :: ListReports -> Maybe Text
-- | Specifies the sort order for the list of returned reports. Valid
-- values are:
--
--
-- - ASCENDING: return reports in chronological order based on
-- their creation date.
-- - DESCENDING: return reports in the reverse chronological
-- order based on their creation date.
--
[$sel:sortOrder:ListReports'] :: ListReports -> Maybe SortOrderType
-- | Create a value of ListReports with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filter':ListReports', listReports_filter - A
-- ReportFilter object used to filter the returned reports.
--
-- $sel:maxResults:ListReports', listReports_maxResults -
-- The maximum number of paginated reports returned per response. Use
-- nextToken to iterate pages in the list of returned
-- Report objects. The default value is 100.
--
-- ListReports, listReports_nextToken - During a previous
-- call, the maximum number of items that can be returned is the value
-- specified in maxResults. If there more items in the list,
-- then a unique string called a nextToken is returned. 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.
--
-- $sel:sortOrder:ListReports', listReports_sortOrder -
-- Specifies the sort order for the list of returned reports. Valid
-- values are:
--
--
-- - ASCENDING: return reports in chronological order based on
-- their creation date.
-- - DESCENDING: return reports in the reverse chronological
-- order based on their creation date.
--
newListReports :: ListReports
-- | A ReportFilter object used to filter the returned reports.
listReports_filter :: Lens' ListReports (Maybe ReportFilter)
-- | The maximum number of paginated reports returned per response. Use
-- nextToken to iterate pages in the list of returned
-- Report objects. The default value is 100.
listReports_maxResults :: Lens' ListReports (Maybe Natural)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listReports_nextToken :: Lens' ListReports (Maybe Text)
-- | Specifies the sort order for the list of returned reports. Valid
-- values are:
--
--
-- - ASCENDING: return reports in chronological order based on
-- their creation date.
-- - DESCENDING: return reports in the reverse chronological
-- order based on their creation date.
--
listReports_sortOrder :: Lens' ListReports (Maybe SortOrderType)
-- | See: newListReportsResponse smart constructor.
data ListReportsResponse
ListReportsResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Int -> ListReportsResponse
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
[$sel:nextToken:ListReportsResponse'] :: ListReportsResponse -> Maybe Text
-- | The list of returned ARNs for the reports in the current Amazon Web
-- Services account.
[$sel:reports:ListReportsResponse'] :: ListReportsResponse -> Maybe (NonEmpty Text)
-- | The response's http status code.
[$sel:httpStatus:ListReportsResponse'] :: ListReportsResponse -> Int
-- | Create a value of ListReportsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListReports, listReportsResponse_nextToken - During a
-- previous call, the maximum number of items that can be returned is the
-- value specified in maxResults. If there more items in the
-- list, then a unique string called a nextToken is returned. 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.
--
-- $sel:reports:ListReportsResponse',
-- listReportsResponse_reports - The list of returned ARNs for the
-- reports in the current Amazon Web Services account.
--
-- $sel:httpStatus:ListReportsResponse',
-- listReportsResponse_httpStatus - The response's http status
-- code.
newListReportsResponse :: Int -> ListReportsResponse
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listReportsResponse_nextToken :: Lens' ListReportsResponse (Maybe Text)
-- | The list of returned ARNs for the reports in the current Amazon Web
-- Services account.
listReportsResponse_reports :: Lens' ListReportsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
listReportsResponse_httpStatus :: Lens' ListReportsResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.ListReports.ListReports
instance GHC.Show.Show Amazonka.CodeBuild.ListReports.ListReports
instance GHC.Read.Read Amazonka.CodeBuild.ListReports.ListReports
instance GHC.Classes.Eq Amazonka.CodeBuild.ListReports.ListReports
instance GHC.Generics.Generic Amazonka.CodeBuild.ListReports.ListReportsResponse
instance GHC.Show.Show Amazonka.CodeBuild.ListReports.ListReportsResponse
instance GHC.Read.Read Amazonka.CodeBuild.ListReports.ListReportsResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.ListReports.ListReportsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.ListReports.ListReports
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListReports.ListReportsResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeBuild.ListReports.ListReports
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.ListReports.ListReports
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListReports.ListReports
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.ListReports.ListReports
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.ListReports.ListReports
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.ListReports.ListReports
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.ListReports.ListReports
-- | Gets a list ARNs for the report groups in the current Amazon Web
-- Services account.
--
-- This operation returns paginated results.
module Amazonka.CodeBuild.ListReportGroups
-- | See: newListReportGroups smart constructor.
data ListReportGroups
ListReportGroups' :: Maybe Natural -> Maybe Text -> Maybe ReportGroupSortByType -> Maybe SortOrderType -> ListReportGroups
-- | The maximum number of paginated report groups returned per response.
-- Use nextToken to iterate pages in the list of returned
-- ReportGroup objects. The default value is 100.
[$sel:maxResults:ListReportGroups'] :: ListReportGroups -> Maybe Natural
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
[$sel:nextToken:ListReportGroups'] :: ListReportGroups -> Maybe Text
-- | The criterion to be used to list build report groups. Valid values
-- include:
--
--
-- - CREATED_TIME: List based on when each report group was
-- created.
-- - LAST_MODIFIED_TIME: List based on when each report group
-- was last changed.
-- - NAME: List based on each report group's name.
--
[$sel:sortBy:ListReportGroups'] :: ListReportGroups -> Maybe ReportGroupSortByType
-- | Used to specify the order to sort the list of returned report groups.
-- Valid values are ASCENDING and DESCENDING.
[$sel:sortOrder:ListReportGroups'] :: ListReportGroups -> Maybe SortOrderType
-- | Create a value of ListReportGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListReportGroups',
-- listReportGroups_maxResults - The maximum number of paginated
-- report groups returned per response. Use nextToken to iterate
-- pages in the list of returned ReportGroup objects. The
-- default value is 100.
--
-- ListReportGroups, listReportGroups_nextToken - During a
-- previous call, the maximum number of items that can be returned is the
-- value specified in maxResults. If there more items in the
-- list, then a unique string called a nextToken is returned. 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.
--
-- $sel:sortBy:ListReportGroups', listReportGroups_sortBy -
-- The criterion to be used to list build report groups. Valid values
-- include:
--
--
-- - CREATED_TIME: List based on when each report group was
-- created.
-- - LAST_MODIFIED_TIME: List based on when each report group
-- was last changed.
-- - NAME: List based on each report group's name.
--
--
-- $sel:sortOrder:ListReportGroups',
-- listReportGroups_sortOrder - Used to specify the order to sort
-- the list of returned report groups. Valid values are
-- ASCENDING and DESCENDING.
newListReportGroups :: ListReportGroups
-- | The maximum number of paginated report groups returned per response.
-- Use nextToken to iterate pages in the list of returned
-- ReportGroup objects. The default value is 100.
listReportGroups_maxResults :: Lens' ListReportGroups (Maybe Natural)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listReportGroups_nextToken :: Lens' ListReportGroups (Maybe Text)
-- | The criterion to be used to list build report groups. Valid values
-- include:
--
--
-- - CREATED_TIME: List based on when each report group was
-- created.
-- - LAST_MODIFIED_TIME: List based on when each report group
-- was last changed.
-- - NAME: List based on each report group's name.
--
listReportGroups_sortBy :: Lens' ListReportGroups (Maybe ReportGroupSortByType)
-- | Used to specify the order to sort the list of returned report groups.
-- Valid values are ASCENDING and DESCENDING.
listReportGroups_sortOrder :: Lens' ListReportGroups (Maybe SortOrderType)
-- | See: newListReportGroupsResponse smart constructor.
data ListReportGroupsResponse
ListReportGroupsResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Int -> ListReportGroupsResponse
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
[$sel:nextToken:ListReportGroupsResponse'] :: ListReportGroupsResponse -> Maybe Text
-- | The list of ARNs for the report groups in the current Amazon Web
-- Services account.
[$sel:reportGroups:ListReportGroupsResponse'] :: ListReportGroupsResponse -> Maybe (NonEmpty Text)
-- | The response's http status code.
[$sel:httpStatus:ListReportGroupsResponse'] :: ListReportGroupsResponse -> Int
-- | Create a value of ListReportGroupsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListReportGroups, listReportGroupsResponse_nextToken -
-- During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
--
-- $sel:reportGroups:ListReportGroupsResponse',
-- listReportGroupsResponse_reportGroups - The list of ARNs for
-- the report groups in the current Amazon Web Services account.
--
-- $sel:httpStatus:ListReportGroupsResponse',
-- listReportGroupsResponse_httpStatus - The response's http
-- status code.
newListReportGroupsResponse :: Int -> ListReportGroupsResponse
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listReportGroupsResponse_nextToken :: Lens' ListReportGroupsResponse (Maybe Text)
-- | The list of ARNs for the report groups in the current Amazon Web
-- Services account.
listReportGroupsResponse_reportGroups :: Lens' ListReportGroupsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
listReportGroupsResponse_httpStatus :: Lens' ListReportGroupsResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.ListReportGroups.ListReportGroups
instance GHC.Show.Show Amazonka.CodeBuild.ListReportGroups.ListReportGroups
instance GHC.Read.Read Amazonka.CodeBuild.ListReportGroups.ListReportGroups
instance GHC.Classes.Eq Amazonka.CodeBuild.ListReportGroups.ListReportGroups
instance GHC.Generics.Generic Amazonka.CodeBuild.ListReportGroups.ListReportGroupsResponse
instance GHC.Show.Show Amazonka.CodeBuild.ListReportGroups.ListReportGroupsResponse
instance GHC.Read.Read Amazonka.CodeBuild.ListReportGroups.ListReportGroupsResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.ListReportGroups.ListReportGroupsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.ListReportGroups.ListReportGroups
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListReportGroups.ListReportGroupsResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeBuild.ListReportGroups.ListReportGroups
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.ListReportGroups.ListReportGroups
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListReportGroups.ListReportGroups
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.ListReportGroups.ListReportGroups
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.ListReportGroups.ListReportGroups
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.ListReportGroups.ListReportGroups
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.ListReportGroups.ListReportGroups
-- | Gets a list of build project names, with each build project name
-- representing a single build project.
--
-- This operation returns paginated results.
module Amazonka.CodeBuild.ListProjects
-- | See: newListProjects smart constructor.
data ListProjects
ListProjects' :: Maybe Text -> Maybe ProjectSortByType -> Maybe SortOrderType -> ListProjects
-- | 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 nextToken. 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.
[$sel:nextToken:ListProjects'] :: ListProjects -> Maybe Text
-- | The criterion to be used to list build project names. Valid values
-- include:
--
--
-- - CREATED_TIME: List based on when each build project was
-- created.
-- - LAST_MODIFIED_TIME: List based on when information about
-- each build project was last changed.
-- - NAME: List 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.
[$sel:sortBy:ListProjects'] :: ListProjects -> Maybe ProjectSortByType
-- | The order in which to list build projects. Valid values include:
--
--
-- - ASCENDING: List in ascending order.
-- - DESCENDING: List in descending order.
--
--
-- Use sortBy to specify the criterion to be used to list build
-- project names.
[$sel:sortOrder:ListProjects'] :: ListProjects -> Maybe SortOrderType
-- | Create a value of ListProjects with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListProjects, listProjects_nextToken - 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
-- nextToken. 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.
--
-- $sel:sortBy:ListProjects', listProjects_sortBy - The
-- criterion to be used to list build project names. Valid values
-- include:
--
--
-- - CREATED_TIME: List based on when each build project was
-- created.
-- - LAST_MODIFIED_TIME: List based on when information about
-- each build project was last changed.
-- - NAME: List 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.
--
-- $sel:sortOrder:ListProjects', listProjects_sortOrder -
-- The order in which to list build projects. Valid values include:
--
--
-- - ASCENDING: List in ascending order.
-- - DESCENDING: List in descending order.
--
--
-- Use sortBy to specify the criterion to be used to list build
-- project names.
newListProjects :: ListProjects
-- | 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 nextToken. 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.
listProjects_nextToken :: Lens' ListProjects (Maybe Text)
-- | The criterion to be used to list build project names. Valid values
-- include:
--
--
-- - CREATED_TIME: List based on when each build project was
-- created.
-- - LAST_MODIFIED_TIME: List based on when information about
-- each build project was last changed.
-- - NAME: List 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_sortBy :: Lens' ListProjects (Maybe ProjectSortByType)
-- | The order in which to list build projects. Valid values include:
--
--
-- - ASCENDING: List in ascending order.
-- - DESCENDING: List in descending order.
--
--
-- Use sortBy to specify the criterion to be used to list build
-- project names.
listProjects_sortOrder :: Lens' ListProjects (Maybe SortOrderType)
-- | See: newListProjectsResponse smart constructor.
data ListProjectsResponse
ListProjectsResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Int -> 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 nextToken. To
-- get the next batch of items in the list, call this operation again,
-- adding the next token to the call.
[$sel:nextToken:ListProjectsResponse'] :: ListProjectsResponse -> Maybe Text
-- | The list of build project names, with each build project name
-- representing a single build project.
[$sel:projects:ListProjectsResponse'] :: ListProjectsResponse -> Maybe (NonEmpty Text)
-- | The response's http status code.
[$sel:httpStatus:ListProjectsResponse'] :: ListProjectsResponse -> Int
-- | Create a value of ListProjectsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListProjects, listProjectsResponse_nextToken - If there
-- are more than 100 items in the list, only the first 100 items are
-- returned, along with a unique string called a nextToken. To get
-- the next batch of items in the list, call this operation again, adding
-- the next token to the call.
--
-- $sel:projects:ListProjectsResponse',
-- listProjectsResponse_projects - The list of build project
-- names, with each build project name representing a single build
-- project.
--
-- $sel:httpStatus:ListProjectsResponse',
-- listProjectsResponse_httpStatus - The response's http status
-- code.
newListProjectsResponse :: Int -> 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 nextToken. To
-- get the next batch of items in the list, call this operation again,
-- adding the next token to the call.
listProjectsResponse_nextToken :: Lens' ListProjectsResponse (Maybe Text)
-- | The list of build project names, with each build project name
-- representing a single build project.
listProjectsResponse_projects :: Lens' ListProjectsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
listProjectsResponse_httpStatus :: Lens' ListProjectsResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.ListProjects.ListProjects
instance GHC.Show.Show Amazonka.CodeBuild.ListProjects.ListProjects
instance GHC.Read.Read Amazonka.CodeBuild.ListProjects.ListProjects
instance GHC.Classes.Eq Amazonka.CodeBuild.ListProjects.ListProjects
instance GHC.Generics.Generic Amazonka.CodeBuild.ListProjects.ListProjectsResponse
instance GHC.Show.Show Amazonka.CodeBuild.ListProjects.ListProjectsResponse
instance GHC.Read.Read Amazonka.CodeBuild.ListProjects.ListProjectsResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.ListProjects.ListProjectsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.ListProjects.ListProjects
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListProjects.ListProjectsResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeBuild.ListProjects.ListProjects
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.ListProjects.ListProjects
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListProjects.ListProjects
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.ListProjects.ListProjects
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.ListProjects.ListProjects
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.ListProjects.ListProjects
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.ListProjects.ListProjects
-- | Gets information about Docker images that are managed by CodeBuild.
module Amazonka.CodeBuild.ListCuratedEnvironmentImages
-- | See: newListCuratedEnvironmentImages smart constructor.
data ListCuratedEnvironmentImages
ListCuratedEnvironmentImages' :: ListCuratedEnvironmentImages
-- | Create a value of ListCuratedEnvironmentImages with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newListCuratedEnvironmentImages :: ListCuratedEnvironmentImages
-- | See: newListCuratedEnvironmentImagesResponse smart
-- constructor.
data ListCuratedEnvironmentImagesResponse
ListCuratedEnvironmentImagesResponse' :: Maybe [EnvironmentPlatform] -> Int -> ListCuratedEnvironmentImagesResponse
-- | Information about supported platforms for Docker images that are
-- managed by CodeBuild.
[$sel:platforms:ListCuratedEnvironmentImagesResponse'] :: ListCuratedEnvironmentImagesResponse -> Maybe [EnvironmentPlatform]
-- | The response's http status code.
[$sel:httpStatus:ListCuratedEnvironmentImagesResponse'] :: ListCuratedEnvironmentImagesResponse -> Int
-- | Create a value of ListCuratedEnvironmentImagesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:platforms:ListCuratedEnvironmentImagesResponse',
-- listCuratedEnvironmentImagesResponse_platforms - Information
-- about supported platforms for Docker images that are managed by
-- CodeBuild.
--
-- $sel:httpStatus:ListCuratedEnvironmentImagesResponse',
-- listCuratedEnvironmentImagesResponse_httpStatus - The
-- response's http status code.
newListCuratedEnvironmentImagesResponse :: Int -> ListCuratedEnvironmentImagesResponse
-- | Information about supported platforms for Docker images that are
-- managed by CodeBuild.
listCuratedEnvironmentImagesResponse_platforms :: Lens' ListCuratedEnvironmentImagesResponse (Maybe [EnvironmentPlatform])
-- | The response's http status code.
listCuratedEnvironmentImagesResponse_httpStatus :: Lens' ListCuratedEnvironmentImagesResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance GHC.Show.Show Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance GHC.Read.Read Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance GHC.Classes.Eq Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance GHC.Generics.Generic Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImagesResponse
instance GHC.Show.Show Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImagesResponse
instance GHC.Read.Read Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImagesResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImagesResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImagesResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
-- | Gets a list of build identifiers for the specified build project, with
-- each build identifier representing a single build.
--
-- This operation returns paginated results.
module Amazonka.CodeBuild.ListBuildsForProject
-- | See: newListBuildsForProject smart constructor.
data ListBuildsForProject
ListBuildsForProject' :: Maybe Text -> Maybe SortOrderType -> Text -> ListBuildsForProject
-- | 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 nextToken. 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.
[$sel:nextToken:ListBuildsForProject'] :: ListBuildsForProject -> Maybe Text
-- | The order to sort the results in. The results are sorted by build
-- number, not the build identifier. If this is not specified, the
-- results are sorted in descending order.
--
-- Valid values include:
--
--
-- - ASCENDING: List the build identifiers in ascending order,
-- by build number.
-- - DESCENDING: List the build identifiers in descending
-- order, by build number.
--
--
-- If the project has more than 100 builds, setting the sort order will
-- result in an error.
[$sel:sortOrder:ListBuildsForProject'] :: ListBuildsForProject -> Maybe SortOrderType
-- | The name of the CodeBuild project.
[$sel:projectName:ListBuildsForProject'] :: ListBuildsForProject -> Text
-- | Create a value of ListBuildsForProject with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListBuildsForProject, listBuildsForProject_nextToken -
-- 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 nextToken. 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.
--
-- $sel:sortOrder:ListBuildsForProject',
-- listBuildsForProject_sortOrder - The order to sort the results
-- in. The results are sorted by build number, not the build identifier.
-- If this is not specified, the results are sorted in descending order.
--
-- Valid values include:
--
--
-- - ASCENDING: List the build identifiers in ascending order,
-- by build number.
-- - DESCENDING: List the build identifiers in descending
-- order, by build number.
--
--
-- If the project has more than 100 builds, setting the sort order will
-- result in an error.
--
-- ListBuildsForProject, listBuildsForProject_projectName -
-- The name of the CodeBuild project.
newListBuildsForProject :: Text -> ListBuildsForProject
-- | 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 nextToken. 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.
listBuildsForProject_nextToken :: Lens' ListBuildsForProject (Maybe Text)
-- | The order to sort the results in. The results are sorted by build
-- number, not the build identifier. If this is not specified, the
-- results are sorted in descending order.
--
-- Valid values include:
--
--
-- - ASCENDING: List the build identifiers in ascending order,
-- by build number.
-- - DESCENDING: List the build identifiers in descending
-- order, by build number.
--
--
-- If the project has more than 100 builds, setting the sort order will
-- result in an error.
listBuildsForProject_sortOrder :: Lens' ListBuildsForProject (Maybe SortOrderType)
-- | The name of the CodeBuild project.
listBuildsForProject_projectName :: Lens' ListBuildsForProject Text
-- | See: newListBuildsForProjectResponse smart constructor.
data ListBuildsForProjectResponse
ListBuildsForProjectResponse' :: Maybe (NonEmpty Text) -> Maybe Text -> Int -> ListBuildsForProjectResponse
-- | A list of build identifiers for the specified build project, with each
-- build ID representing a single build.
[$sel:ids:ListBuildsForProjectResponse'] :: 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 nextToken. To
-- get the next batch of items in the list, call this operation again,
-- adding the next token to the call.
[$sel:nextToken:ListBuildsForProjectResponse'] :: ListBuildsForProjectResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListBuildsForProjectResponse'] :: ListBuildsForProjectResponse -> Int
-- | Create a value of ListBuildsForProjectResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ids:ListBuildsForProjectResponse',
-- listBuildsForProjectResponse_ids - A list of build identifiers
-- for the specified build project, with each build ID representing a
-- single build.
--
-- ListBuildsForProject,
-- listBuildsForProjectResponse_nextToken - If there are more than
-- 100 items in the list, only the first 100 items are returned, along
-- with a unique string called a nextToken. To get the next batch
-- of items in the list, call this operation again, adding the next token
-- to the call.
--
-- $sel:httpStatus:ListBuildsForProjectResponse',
-- listBuildsForProjectResponse_httpStatus - The response's http
-- status code.
newListBuildsForProjectResponse :: Int -> ListBuildsForProjectResponse
-- | A list of build identifiers for the specified build project, with each
-- build ID representing a single build.
listBuildsForProjectResponse_ids :: 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 nextToken. To
-- get the next batch of items in the list, call this operation again,
-- adding the next token to the call.
listBuildsForProjectResponse_nextToken :: Lens' ListBuildsForProjectResponse (Maybe Text)
-- | The response's http status code.
listBuildsForProjectResponse_httpStatus :: Lens' ListBuildsForProjectResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance GHC.Show.Show Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance GHC.Read.Read Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance GHC.Classes.Eq Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance GHC.Generics.Generic Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProjectResponse
instance GHC.Show.Show Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProjectResponse
instance GHC.Read.Read Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProjectResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProjectResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProjectResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.ListBuildsForProject.ListBuildsForProject
-- | Gets a list of build IDs, with each build ID representing a single
-- build.
--
-- This operation returns paginated results.
module Amazonka.CodeBuild.ListBuilds
-- | See: newListBuilds smart constructor.
data ListBuilds
ListBuilds' :: Maybe Text -> Maybe SortOrderType -> ListBuilds
-- | 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 nextToken. 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.
[$sel:nextToken:ListBuilds'] :: ListBuilds -> Maybe Text
-- | 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.
--
[$sel:sortOrder:ListBuilds'] :: ListBuilds -> Maybe SortOrderType
-- | Create a value of ListBuilds with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListBuilds, listBuilds_nextToken - 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
-- nextToken. 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.
--
-- $sel:sortOrder:ListBuilds', listBuilds_sortOrder - 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.
--
newListBuilds :: ListBuilds
-- | 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 nextToken. 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_nextToken :: Lens' ListBuilds (Maybe Text)
-- | 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.
--
listBuilds_sortOrder :: Lens' ListBuilds (Maybe SortOrderType)
-- | See: newListBuildsResponse smart constructor.
data ListBuildsResponse
ListBuildsResponse' :: Maybe (NonEmpty Text) -> Maybe Text -> Int -> ListBuildsResponse
-- | A list of build IDs, with each build ID representing a single build.
[$sel:ids:ListBuildsResponse'] :: 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 nextToken. To
-- get the next batch of items in the list, call this operation again,
-- adding the next token to the call.
[$sel:nextToken:ListBuildsResponse'] :: ListBuildsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListBuildsResponse'] :: ListBuildsResponse -> Int
-- | Create a value of ListBuildsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ids:ListBuildsResponse', listBuildsResponse_ids - A
-- list of build IDs, with each build ID representing a single build.
--
-- ListBuilds, listBuildsResponse_nextToken - If there are
-- more than 100 items in the list, only the first 100 items are
-- returned, along with a unique string called a nextToken. To get
-- the next batch of items in the list, call this operation again, adding
-- the next token to the call.
--
-- $sel:httpStatus:ListBuildsResponse',
-- listBuildsResponse_httpStatus - The response's http status
-- code.
newListBuildsResponse :: Int -> ListBuildsResponse
-- | A list of build IDs, with each build ID representing a single build.
listBuildsResponse_ids :: 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 nextToken. To
-- get the next batch of items in the list, call this operation again,
-- adding the next token to the call.
listBuildsResponse_nextToken :: Lens' ListBuildsResponse (Maybe Text)
-- | The response's http status code.
listBuildsResponse_httpStatus :: Lens' ListBuildsResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.ListBuilds.ListBuilds
instance GHC.Show.Show Amazonka.CodeBuild.ListBuilds.ListBuilds
instance GHC.Read.Read Amazonka.CodeBuild.ListBuilds.ListBuilds
instance GHC.Classes.Eq Amazonka.CodeBuild.ListBuilds.ListBuilds
instance GHC.Generics.Generic Amazonka.CodeBuild.ListBuilds.ListBuildsResponse
instance GHC.Show.Show Amazonka.CodeBuild.ListBuilds.ListBuildsResponse
instance GHC.Read.Read Amazonka.CodeBuild.ListBuilds.ListBuildsResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.ListBuilds.ListBuildsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.ListBuilds.ListBuilds
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListBuilds.ListBuildsResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeBuild.ListBuilds.ListBuilds
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.ListBuilds.ListBuilds
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListBuilds.ListBuilds
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.ListBuilds.ListBuilds
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.ListBuilds.ListBuilds
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.ListBuilds.ListBuilds
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.ListBuilds.ListBuilds
-- | Retrieves the identifiers of the build batches for a specific project.
--
-- This operation returns paginated results.
module Amazonka.CodeBuild.ListBuildBatchesForProject
-- | See: newListBuildBatchesForProject smart constructor.
data ListBuildBatchesForProject
ListBuildBatchesForProject' :: Maybe BuildBatchFilter -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe SortOrderType -> ListBuildBatchesForProject
-- | A BuildBatchFilter object that specifies the filters for the
-- search.
[$sel:filter':ListBuildBatchesForProject'] :: ListBuildBatchesForProject -> Maybe BuildBatchFilter
-- | The maximum number of results to return.
[$sel:maxResults:ListBuildBatchesForProject'] :: ListBuildBatchesForProject -> Maybe Natural
-- | The nextToken value returned from a previous call to
-- ListBuildBatchesForProject. This specifies the next item to
-- return. To return the beginning of the list, exclude this parameter.
[$sel:nextToken:ListBuildBatchesForProject'] :: ListBuildBatchesForProject -> Maybe Text
-- | The name of the project.
[$sel:projectName:ListBuildBatchesForProject'] :: ListBuildBatchesForProject -> Maybe Text
-- | Specifies the sort order of the returned items. Valid values include:
--
--
-- - ASCENDING: List the batch build identifiers in ascending
-- order by identifier.
-- - DESCENDING: List the batch build identifiers in
-- descending order by identifier.
--
[$sel:sortOrder:ListBuildBatchesForProject'] :: ListBuildBatchesForProject -> Maybe SortOrderType
-- | Create a value of ListBuildBatchesForProject with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filter':ListBuildBatchesForProject',
-- listBuildBatchesForProject_filter - A BuildBatchFilter
-- object that specifies the filters for the search.
--
-- $sel:maxResults:ListBuildBatchesForProject',
-- listBuildBatchesForProject_maxResults - The maximum number of
-- results to return.
--
-- ListBuildBatchesForProject,
-- listBuildBatchesForProject_nextToken - The nextToken
-- value returned from a previous call to
-- ListBuildBatchesForProject. This specifies the next item to
-- return. To return the beginning of the list, exclude this parameter.
--
-- ListBuildBatchesForProject,
-- listBuildBatchesForProject_projectName - The name of the
-- project.
--
-- $sel:sortOrder:ListBuildBatchesForProject',
-- listBuildBatchesForProject_sortOrder - Specifies the sort order
-- of the returned items. Valid values include:
--
--
-- - ASCENDING: List the batch build identifiers in ascending
-- order by identifier.
-- - DESCENDING: List the batch build identifiers in
-- descending order by identifier.
--
newListBuildBatchesForProject :: ListBuildBatchesForProject
-- | A BuildBatchFilter object that specifies the filters for the
-- search.
listBuildBatchesForProject_filter :: Lens' ListBuildBatchesForProject (Maybe BuildBatchFilter)
-- | The maximum number of results to return.
listBuildBatchesForProject_maxResults :: Lens' ListBuildBatchesForProject (Maybe Natural)
-- | The nextToken value returned from a previous call to
-- ListBuildBatchesForProject. This specifies the next item to
-- return. To return the beginning of the list, exclude this parameter.
listBuildBatchesForProject_nextToken :: Lens' ListBuildBatchesForProject (Maybe Text)
-- | The name of the project.
listBuildBatchesForProject_projectName :: Lens' ListBuildBatchesForProject (Maybe Text)
-- | Specifies the sort order of the returned items. Valid values include:
--
--
-- - ASCENDING: List the batch build identifiers in ascending
-- order by identifier.
-- - DESCENDING: List the batch build identifiers in
-- descending order by identifier.
--
listBuildBatchesForProject_sortOrder :: Lens' ListBuildBatchesForProject (Maybe SortOrderType)
-- | See: newListBuildBatchesForProjectResponse smart
-- constructor.
data ListBuildBatchesForProjectResponse
ListBuildBatchesForProjectResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListBuildBatchesForProjectResponse
-- | An array of strings that contains the batch build identifiers.
[$sel:ids:ListBuildBatchesForProjectResponse'] :: ListBuildBatchesForProjectResponse -> Maybe [Text]
-- | If there are more items to return, this contains a token that is
-- passed to a subsequent call to ListBuildBatchesForProject to
-- retrieve the next set of items.
[$sel:nextToken:ListBuildBatchesForProjectResponse'] :: ListBuildBatchesForProjectResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListBuildBatchesForProjectResponse'] :: ListBuildBatchesForProjectResponse -> Int
-- | Create a value of ListBuildBatchesForProjectResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ids:ListBuildBatchesForProjectResponse',
-- listBuildBatchesForProjectResponse_ids - An array of strings
-- that contains the batch build identifiers.
--
-- ListBuildBatchesForProject,
-- listBuildBatchesForProjectResponse_nextToken - If there are
-- more items to return, this contains a token that is passed to a
-- subsequent call to ListBuildBatchesForProject to retrieve the
-- next set of items.
--
-- $sel:httpStatus:ListBuildBatchesForProjectResponse',
-- listBuildBatchesForProjectResponse_httpStatus - The response's
-- http status code.
newListBuildBatchesForProjectResponse :: Int -> ListBuildBatchesForProjectResponse
-- | An array of strings that contains the batch build identifiers.
listBuildBatchesForProjectResponse_ids :: Lens' ListBuildBatchesForProjectResponse (Maybe [Text])
-- | If there are more items to return, this contains a token that is
-- passed to a subsequent call to ListBuildBatchesForProject to
-- retrieve the next set of items.
listBuildBatchesForProjectResponse_nextToken :: Lens' ListBuildBatchesForProjectResponse (Maybe Text)
-- | The response's http status code.
listBuildBatchesForProjectResponse_httpStatus :: Lens' ListBuildBatchesForProjectResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProject
instance GHC.Show.Show Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProject
instance GHC.Read.Read Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProject
instance GHC.Classes.Eq Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProject
instance GHC.Generics.Generic Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProjectResponse
instance GHC.Show.Show Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProjectResponse
instance GHC.Read.Read Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProjectResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProjectResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProject
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProjectResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProject
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProject
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProject
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProject
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProject
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProject
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.ListBuildBatchesForProject.ListBuildBatchesForProject
-- | Retrieves the identifiers of your build batches in the current region.
--
-- This operation returns paginated results.
module Amazonka.CodeBuild.ListBuildBatches
-- | See: newListBuildBatches smart constructor.
data ListBuildBatches
ListBuildBatches' :: Maybe BuildBatchFilter -> Maybe Natural -> Maybe Text -> Maybe SortOrderType -> ListBuildBatches
-- | A BuildBatchFilter object that specifies the filters for the
-- search.
[$sel:filter':ListBuildBatches'] :: ListBuildBatches -> Maybe BuildBatchFilter
-- | The maximum number of results to return.
[$sel:maxResults:ListBuildBatches'] :: ListBuildBatches -> Maybe Natural
-- | The nextToken value returned from a previous call to
-- ListBuildBatches. This specifies the next item to return. To
-- return the beginning of the list, exclude this parameter.
[$sel:nextToken:ListBuildBatches'] :: ListBuildBatches -> Maybe Text
-- | Specifies the sort order of the returned items. Valid values include:
--
--
-- - ASCENDING: List the batch build identifiers in ascending
-- order by identifier.
-- - DESCENDING: List the batch build identifiers in
-- descending order by identifier.
--
[$sel:sortOrder:ListBuildBatches'] :: ListBuildBatches -> Maybe SortOrderType
-- | Create a value of ListBuildBatches with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filter':ListBuildBatches', listBuildBatches_filter
-- - A BuildBatchFilter object that specifies the filters for
-- the search.
--
-- $sel:maxResults:ListBuildBatches',
-- listBuildBatches_maxResults - The maximum number of results to
-- return.
--
-- ListBuildBatches, listBuildBatches_nextToken - The
-- nextToken value returned from a previous call to
-- ListBuildBatches. This specifies the next item to return. To
-- return the beginning of the list, exclude this parameter.
--
-- $sel:sortOrder:ListBuildBatches',
-- listBuildBatches_sortOrder - Specifies the sort order of the
-- returned items. Valid values include:
--
--
-- - ASCENDING: List the batch build identifiers in ascending
-- order by identifier.
-- - DESCENDING: List the batch build identifiers in
-- descending order by identifier.
--
newListBuildBatches :: ListBuildBatches
-- | A BuildBatchFilter object that specifies the filters for the
-- search.
listBuildBatches_filter :: Lens' ListBuildBatches (Maybe BuildBatchFilter)
-- | The maximum number of results to return.
listBuildBatches_maxResults :: Lens' ListBuildBatches (Maybe Natural)
-- | The nextToken value returned from a previous call to
-- ListBuildBatches. This specifies the next item to return. To
-- return the beginning of the list, exclude this parameter.
listBuildBatches_nextToken :: Lens' ListBuildBatches (Maybe Text)
-- | Specifies the sort order of the returned items. Valid values include:
--
--
-- - ASCENDING: List the batch build identifiers in ascending
-- order by identifier.
-- - DESCENDING: List the batch build identifiers in
-- descending order by identifier.
--
listBuildBatches_sortOrder :: Lens' ListBuildBatches (Maybe SortOrderType)
-- | See: newListBuildBatchesResponse smart constructor.
data ListBuildBatchesResponse
ListBuildBatchesResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListBuildBatchesResponse
-- | An array of strings that contains the batch build identifiers.
[$sel:ids:ListBuildBatchesResponse'] :: ListBuildBatchesResponse -> Maybe [Text]
-- | If there are more items to return, this contains a token that is
-- passed to a subsequent call to ListBuildBatches to retrieve
-- the next set of items.
[$sel:nextToken:ListBuildBatchesResponse'] :: ListBuildBatchesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListBuildBatchesResponse'] :: ListBuildBatchesResponse -> Int
-- | Create a value of ListBuildBatchesResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ids:ListBuildBatchesResponse',
-- listBuildBatchesResponse_ids - An array of strings that
-- contains the batch build identifiers.
--
-- ListBuildBatches, listBuildBatchesResponse_nextToken -
-- If there are more items to return, this contains a token that is
-- passed to a subsequent call to ListBuildBatches to retrieve
-- the next set of items.
--
-- $sel:httpStatus:ListBuildBatchesResponse',
-- listBuildBatchesResponse_httpStatus - The response's http
-- status code.
newListBuildBatchesResponse :: Int -> ListBuildBatchesResponse
-- | An array of strings that contains the batch build identifiers.
listBuildBatchesResponse_ids :: Lens' ListBuildBatchesResponse (Maybe [Text])
-- | If there are more items to return, this contains a token that is
-- passed to a subsequent call to ListBuildBatches to retrieve
-- the next set of items.
listBuildBatchesResponse_nextToken :: Lens' ListBuildBatchesResponse (Maybe Text)
-- | The response's http status code.
listBuildBatchesResponse_httpStatus :: Lens' ListBuildBatchesResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.ListBuildBatches.ListBuildBatches
instance GHC.Show.Show Amazonka.CodeBuild.ListBuildBatches.ListBuildBatches
instance GHC.Read.Read Amazonka.CodeBuild.ListBuildBatches.ListBuildBatches
instance GHC.Classes.Eq Amazonka.CodeBuild.ListBuildBatches.ListBuildBatches
instance GHC.Generics.Generic Amazonka.CodeBuild.ListBuildBatches.ListBuildBatchesResponse
instance GHC.Show.Show Amazonka.CodeBuild.ListBuildBatches.ListBuildBatchesResponse
instance GHC.Read.Read Amazonka.CodeBuild.ListBuildBatches.ListBuildBatchesResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.ListBuildBatches.ListBuildBatchesResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.ListBuildBatches.ListBuildBatches
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListBuildBatches.ListBuildBatchesResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeBuild.ListBuildBatches.ListBuildBatches
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.ListBuildBatches.ListBuildBatches
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ListBuildBatches.ListBuildBatches
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.ListBuildBatches.ListBuildBatches
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.ListBuildBatches.ListBuildBatches
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.ListBuildBatches.ListBuildBatches
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.ListBuildBatches.ListBuildBatches
-- | Resets the cache for a project.
module Amazonka.CodeBuild.InvalidateProjectCache
-- | See: newInvalidateProjectCache smart constructor.
data InvalidateProjectCache
InvalidateProjectCache' :: Text -> InvalidateProjectCache
-- | The name of the CodeBuild build project that the cache is reset for.
[$sel:projectName:InvalidateProjectCache'] :: InvalidateProjectCache -> Text
-- | Create a value of InvalidateProjectCache with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- InvalidateProjectCache,
-- invalidateProjectCache_projectName - The name of the CodeBuild
-- build project that the cache is reset for.
newInvalidateProjectCache :: Text -> InvalidateProjectCache
-- | The name of the CodeBuild build project that the cache is reset for.
invalidateProjectCache_projectName :: Lens' InvalidateProjectCache Text
-- | See: newInvalidateProjectCacheResponse smart
-- constructor.
data InvalidateProjectCacheResponse
InvalidateProjectCacheResponse' :: Int -> InvalidateProjectCacheResponse
-- | The response's http status code.
[$sel:httpStatus:InvalidateProjectCacheResponse'] :: InvalidateProjectCacheResponse -> Int
-- | Create a value of InvalidateProjectCacheResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:InvalidateProjectCacheResponse',
-- invalidateProjectCacheResponse_httpStatus - The response's http
-- status code.
newInvalidateProjectCacheResponse :: Int -> InvalidateProjectCacheResponse
-- | The response's http status code.
invalidateProjectCacheResponse_httpStatus :: Lens' InvalidateProjectCacheResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance GHC.Show.Show Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance GHC.Read.Read Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance GHC.Classes.Eq Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance GHC.Generics.Generic Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCacheResponse
instance GHC.Show.Show Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCacheResponse
instance GHC.Read.Read Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCacheResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCacheResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance Control.DeepSeq.NFData Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCacheResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance Control.DeepSeq.NFData Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
-- | Imports the source repository credentials for an CodeBuild project
-- that has its source code stored in a GitHub, GitHub Enterprise, or
-- Bitbucket repository.
module Amazonka.CodeBuild.ImportSourceCredentials
-- | See: newImportSourceCredentials smart constructor.
data ImportSourceCredentials
ImportSourceCredentials' :: Maybe Bool -> Maybe Text -> Sensitive Text -> ServerType -> AuthType -> ImportSourceCredentials
-- | Set to false to prevent overwriting the repository source
-- credentials. Set to true to overwrite the repository source
-- credentials. The default value is true.
[$sel:shouldOverwrite:ImportSourceCredentials'] :: ImportSourceCredentials -> Maybe Bool
-- | The Bitbucket username when the authType is BASIC_AUTH. This
-- parameter is not valid for other types of source providers or
-- connections.
[$sel:username:ImportSourceCredentials'] :: ImportSourceCredentials -> Maybe Text
-- | For GitHub or GitHub Enterprise, this is the personal access token.
-- For Bitbucket, this is the app password.
[$sel:token:ImportSourceCredentials'] :: ImportSourceCredentials -> Sensitive Text
-- | The source provider used for this project.
[$sel:serverType:ImportSourceCredentials'] :: ImportSourceCredentials -> ServerType
-- | The type of authentication used to connect to a GitHub, GitHub
-- Enterprise, or Bitbucket repository. An OAUTH connection is not
-- supported by the API and must be created using the CodeBuild console.
[$sel:authType:ImportSourceCredentials'] :: ImportSourceCredentials -> AuthType
-- | Create a value of ImportSourceCredentials with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:shouldOverwrite:ImportSourceCredentials',
-- importSourceCredentials_shouldOverwrite - Set to false
-- to prevent overwriting the repository source credentials. Set to
-- true to overwrite the repository source credentials. The
-- default value is true.
--
-- $sel:username:ImportSourceCredentials',
-- importSourceCredentials_username - The Bitbucket username when
-- the authType is BASIC_AUTH. This parameter is not valid for
-- other types of source providers or connections.
--
-- $sel:token:ImportSourceCredentials',
-- importSourceCredentials_token - For GitHub or GitHub
-- Enterprise, this is the personal access token. For Bitbucket, this is
-- the app password.
--
-- ImportSourceCredentials,
-- importSourceCredentials_serverType - The source provider used
-- for this project.
--
-- ImportSourceCredentials,
-- importSourceCredentials_authType - The type of authentication
-- used to connect to a GitHub, GitHub Enterprise, or Bitbucket
-- repository. An OAUTH connection is not supported by the API and must
-- be created using the CodeBuild console.
newImportSourceCredentials :: Text -> ServerType -> AuthType -> ImportSourceCredentials
-- | Set to false to prevent overwriting the repository source
-- credentials. Set to true to overwrite the repository source
-- credentials. The default value is true.
importSourceCredentials_shouldOverwrite :: Lens' ImportSourceCredentials (Maybe Bool)
-- | The Bitbucket username when the authType is BASIC_AUTH. This
-- parameter is not valid for other types of source providers or
-- connections.
importSourceCredentials_username :: Lens' ImportSourceCredentials (Maybe Text)
-- | For GitHub or GitHub Enterprise, this is the personal access token.
-- For Bitbucket, this is the app password.
importSourceCredentials_token :: Lens' ImportSourceCredentials Text
-- | The source provider used for this project.
importSourceCredentials_serverType :: Lens' ImportSourceCredentials ServerType
-- | The type of authentication used to connect to a GitHub, GitHub
-- Enterprise, or Bitbucket repository. An OAUTH connection is not
-- supported by the API and must be created using the CodeBuild console.
importSourceCredentials_authType :: Lens' ImportSourceCredentials AuthType
-- | See: newImportSourceCredentialsResponse smart
-- constructor.
data ImportSourceCredentialsResponse
ImportSourceCredentialsResponse' :: Maybe Text -> Int -> ImportSourceCredentialsResponse
-- | The Amazon Resource Name (ARN) of the token.
[$sel:arn:ImportSourceCredentialsResponse'] :: ImportSourceCredentialsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ImportSourceCredentialsResponse'] :: ImportSourceCredentialsResponse -> Int
-- | Create a value of ImportSourceCredentialsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ImportSourceCredentialsResponse,
-- importSourceCredentialsResponse_arn - The Amazon Resource Name
-- (ARN) of the token.
--
-- $sel:httpStatus:ImportSourceCredentialsResponse',
-- importSourceCredentialsResponse_httpStatus - The response's
-- http status code.
newImportSourceCredentialsResponse :: Int -> ImportSourceCredentialsResponse
-- | The Amazon Resource Name (ARN) of the token.
importSourceCredentialsResponse_arn :: Lens' ImportSourceCredentialsResponse (Maybe Text)
-- | The response's http status code.
importSourceCredentialsResponse_httpStatus :: Lens' ImportSourceCredentialsResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.ImportSourceCredentials.ImportSourceCredentials
instance GHC.Show.Show Amazonka.CodeBuild.ImportSourceCredentials.ImportSourceCredentials
instance GHC.Classes.Eq Amazonka.CodeBuild.ImportSourceCredentials.ImportSourceCredentials
instance GHC.Generics.Generic Amazonka.CodeBuild.ImportSourceCredentials.ImportSourceCredentialsResponse
instance GHC.Show.Show Amazonka.CodeBuild.ImportSourceCredentials.ImportSourceCredentialsResponse
instance GHC.Read.Read Amazonka.CodeBuild.ImportSourceCredentials.ImportSourceCredentialsResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.ImportSourceCredentials.ImportSourceCredentialsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.ImportSourceCredentials.ImportSourceCredentials
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ImportSourceCredentials.ImportSourceCredentialsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.ImportSourceCredentials.ImportSourceCredentials
instance Control.DeepSeq.NFData Amazonka.CodeBuild.ImportSourceCredentials.ImportSourceCredentials
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.ImportSourceCredentials.ImportSourceCredentials
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.ImportSourceCredentials.ImportSourceCredentials
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.ImportSourceCredentials.ImportSourceCredentials
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.ImportSourceCredentials.ImportSourceCredentials
-- | Gets a resource policy that is identified by its resource ARN.
module Amazonka.CodeBuild.GetResourcePolicy
-- | See: newGetResourcePolicy smart constructor.
data GetResourcePolicy
GetResourcePolicy' :: Text -> GetResourcePolicy
-- | The ARN of the resource that is associated with the resource policy.
[$sel:resourceArn:GetResourcePolicy'] :: GetResourcePolicy -> Text
-- | Create a value of GetResourcePolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:GetResourcePolicy',
-- getResourcePolicy_resourceArn - The ARN of the resource that is
-- associated with the resource policy.
newGetResourcePolicy :: Text -> GetResourcePolicy
-- | The ARN of the resource that is associated with the resource policy.
getResourcePolicy_resourceArn :: Lens' GetResourcePolicy Text
-- | See: newGetResourcePolicyResponse smart constructor.
data GetResourcePolicyResponse
GetResourcePolicyResponse' :: Maybe Text -> Int -> GetResourcePolicyResponse
-- | The resource policy for the resource identified by the input ARN
-- parameter.
[$sel:policy:GetResourcePolicyResponse'] :: GetResourcePolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetResourcePolicyResponse'] :: GetResourcePolicyResponse -> Int
-- | Create a value of GetResourcePolicyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:policy:GetResourcePolicyResponse',
-- getResourcePolicyResponse_policy - The resource policy for the
-- resource identified by the input ARN parameter.
--
-- $sel:httpStatus:GetResourcePolicyResponse',
-- getResourcePolicyResponse_httpStatus - The response's http
-- status code.
newGetResourcePolicyResponse :: Int -> GetResourcePolicyResponse
-- | The resource policy for the resource identified by the input ARN
-- parameter.
getResourcePolicyResponse_policy :: Lens' GetResourcePolicyResponse (Maybe Text)
-- | The response's http status code.
getResourcePolicyResponse_httpStatus :: Lens' GetResourcePolicyResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicy
instance GHC.Show.Show Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicy
instance GHC.Read.Read Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicy
instance GHC.Classes.Eq Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicy
instance GHC.Generics.Generic Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicyResponse
instance GHC.Show.Show Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicyResponse
instance GHC.Read.Read Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicyResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicy
instance Control.DeepSeq.NFData Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicy
instance Control.DeepSeq.NFData Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicy
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicy
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.GetResourcePolicy.GetResourcePolicy
-- | Analyzes and accumulates test report values for the specified test
-- reports.
module Amazonka.CodeBuild.GetReportGroupTrend
-- | See: newGetReportGroupTrend smart constructor.
data GetReportGroupTrend
GetReportGroupTrend' :: Maybe Natural -> Text -> ReportGroupTrendFieldType -> GetReportGroupTrend
-- | The number of reports to analyze. This operation always retrieves the
-- most recent reports.
--
-- If this parameter is omitted, the most recent 100 reports are
-- analyzed.
[$sel:numOfReports:GetReportGroupTrend'] :: GetReportGroupTrend -> Maybe Natural
-- | The ARN of the report group that contains the reports to analyze.
[$sel:reportGroupArn:GetReportGroupTrend'] :: GetReportGroupTrend -> Text
-- | The test report value to accumulate. This must be one of the following
-- values:
--
--
-- - Test reports:
-- - DURATION Accumulate the test run times for the specified
-- reports.
- PASS_RATE Accumulate the percentage of tests
-- that passed for the specified test reports.
- TOTAL
-- Accumulate the total number of tests for the specified test
-- reports.
-- - Code coverage reports:
-- - BRANCH_COVERAGE Accumulate the branch coverage percentages
-- for the specified test reports.
- BRANCHES_COVERED
-- Accumulate the branches covered values for the specified test
-- reports.
- BRANCHES_MISSED Accumulate the branches missed
-- values for the specified test reports.
- LINE_COVERAGE
-- Accumulate the line coverage percentages for the specified test
-- reports.
- LINES_COVERED Accumulate the lines covered
-- values for the specified test reports.
- LINES_MISSED
-- Accumulate the lines not covered values for the specified test
-- reports.
--
[$sel:trendField:GetReportGroupTrend'] :: GetReportGroupTrend -> ReportGroupTrendFieldType
-- | Create a value of GetReportGroupTrend with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:numOfReports:GetReportGroupTrend',
-- getReportGroupTrend_numOfReports - The number of reports to
-- analyze. This operation always retrieves the most recent reports.
--
-- If this parameter is omitted, the most recent 100 reports are
-- analyzed.
--
-- GetReportGroupTrend, getReportGroupTrend_reportGroupArn
-- - The ARN of the report group that contains the reports to analyze.
--
-- $sel:trendField:GetReportGroupTrend',
-- getReportGroupTrend_trendField - The test report value to
-- accumulate. This must be one of the following values:
--
--
-- - Test reports:
-- - DURATION Accumulate the test run times for the specified
-- reports.
- PASS_RATE Accumulate the percentage of tests
-- that passed for the specified test reports.
- TOTAL
-- Accumulate the total number of tests for the specified test
-- reports.
-- - Code coverage reports:
-- - BRANCH_COVERAGE Accumulate the branch coverage percentages
-- for the specified test reports.
- BRANCHES_COVERED
-- Accumulate the branches covered values for the specified test
-- reports.
- BRANCHES_MISSED Accumulate the branches missed
-- values for the specified test reports.
- LINE_COVERAGE
-- Accumulate the line coverage percentages for the specified test
-- reports.
- LINES_COVERED Accumulate the lines covered
-- values for the specified test reports.
- LINES_MISSED
-- Accumulate the lines not covered values for the specified test
-- reports.
--
newGetReportGroupTrend :: Text -> ReportGroupTrendFieldType -> GetReportGroupTrend
-- | The number of reports to analyze. This operation always retrieves the
-- most recent reports.
--
-- If this parameter is omitted, the most recent 100 reports are
-- analyzed.
getReportGroupTrend_numOfReports :: Lens' GetReportGroupTrend (Maybe Natural)
-- | The ARN of the report group that contains the reports to analyze.
getReportGroupTrend_reportGroupArn :: Lens' GetReportGroupTrend Text
-- | The test report value to accumulate. This must be one of the following
-- values:
--
--
-- - Test reports:
-- - DURATION Accumulate the test run times for the specified
-- reports.
- PASS_RATE Accumulate the percentage of tests
-- that passed for the specified test reports.
- TOTAL
-- Accumulate the total number of tests for the specified test
-- reports.
-- - Code coverage reports:
-- - BRANCH_COVERAGE Accumulate the branch coverage percentages
-- for the specified test reports.
- BRANCHES_COVERED
-- Accumulate the branches covered values for the specified test
-- reports.
- BRANCHES_MISSED Accumulate the branches missed
-- values for the specified test reports.
- LINE_COVERAGE
-- Accumulate the line coverage percentages for the specified test
-- reports.
- LINES_COVERED Accumulate the lines covered
-- values for the specified test reports.
- LINES_MISSED
-- Accumulate the lines not covered values for the specified test
-- reports.
--
getReportGroupTrend_trendField :: Lens' GetReportGroupTrend ReportGroupTrendFieldType
-- | See: newGetReportGroupTrendResponse smart constructor.
data GetReportGroupTrendResponse
GetReportGroupTrendResponse' :: Maybe [ReportWithRawData] -> Maybe ReportGroupTrendStats -> Int -> GetReportGroupTrendResponse
-- | An array that contains the raw data for each report.
[$sel:rawData:GetReportGroupTrendResponse'] :: GetReportGroupTrendResponse -> Maybe [ReportWithRawData]
-- | Contains the accumulated trend data.
[$sel:stats:GetReportGroupTrendResponse'] :: GetReportGroupTrendResponse -> Maybe ReportGroupTrendStats
-- | The response's http status code.
[$sel:httpStatus:GetReportGroupTrendResponse'] :: GetReportGroupTrendResponse -> Int
-- | Create a value of GetReportGroupTrendResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:rawData:GetReportGroupTrendResponse',
-- getReportGroupTrendResponse_rawData - An array that contains
-- the raw data for each report.
--
-- $sel:stats:GetReportGroupTrendResponse',
-- getReportGroupTrendResponse_stats - Contains the accumulated
-- trend data.
--
-- $sel:httpStatus:GetReportGroupTrendResponse',
-- getReportGroupTrendResponse_httpStatus - The response's http
-- status code.
newGetReportGroupTrendResponse :: Int -> GetReportGroupTrendResponse
-- | An array that contains the raw data for each report.
getReportGroupTrendResponse_rawData :: Lens' GetReportGroupTrendResponse (Maybe [ReportWithRawData])
-- | Contains the accumulated trend data.
getReportGroupTrendResponse_stats :: Lens' GetReportGroupTrendResponse (Maybe ReportGroupTrendStats)
-- | The response's http status code.
getReportGroupTrendResponse_httpStatus :: Lens' GetReportGroupTrendResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrend
instance GHC.Show.Show Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrend
instance GHC.Read.Read Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrend
instance GHC.Classes.Eq Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrend
instance GHC.Generics.Generic Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrendResponse
instance GHC.Show.Show Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrendResponse
instance GHC.Read.Read Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrendResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrendResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrend
instance Control.DeepSeq.NFData Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrendResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrend
instance Control.DeepSeq.NFData Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrend
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrend
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrend
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrend
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.GetReportGroupTrend.GetReportGroupTrend
-- | Returns a list of details about test cases for a report.
--
-- This operation returns paginated results.
module Amazonka.CodeBuild.DescribeTestCases
-- | See: newDescribeTestCases smart constructor.
data DescribeTestCases
DescribeTestCases' :: Maybe TestCaseFilter -> Maybe Natural -> Maybe Text -> Text -> DescribeTestCases
-- | A TestCaseFilter object used to filter the returned reports.
[$sel:filter':DescribeTestCases'] :: DescribeTestCases -> Maybe TestCaseFilter
-- | The maximum number of paginated test cases returned per response. Use
-- nextToken to iterate pages in the list of returned
-- TestCase objects. The default value is 100.
[$sel:maxResults:DescribeTestCases'] :: DescribeTestCases -> Maybe Natural
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
[$sel:nextToken:DescribeTestCases'] :: DescribeTestCases -> Maybe Text
-- | The ARN of the report for which test cases are returned.
[$sel:reportArn:DescribeTestCases'] :: DescribeTestCases -> Text
-- | Create a value of DescribeTestCases with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filter':DescribeTestCases',
-- describeTestCases_filter - A TestCaseFilter object
-- used to filter the returned reports.
--
-- $sel:maxResults:DescribeTestCases',
-- describeTestCases_maxResults - The maximum number of paginated
-- test cases returned per response. Use nextToken to iterate
-- pages in the list of returned TestCase objects. The default
-- value is 100.
--
-- DescribeTestCases, describeTestCases_nextToken - During
-- a previous call, the maximum number of items that can be returned is
-- the value specified in maxResults. If there more items in the
-- list, then a unique string called a nextToken is returned. 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.
--
-- DescribeTestCases, describeTestCases_reportArn - The ARN
-- of the report for which test cases are returned.
newDescribeTestCases :: Text -> DescribeTestCases
-- | A TestCaseFilter object used to filter the returned reports.
describeTestCases_filter :: Lens' DescribeTestCases (Maybe TestCaseFilter)
-- | The maximum number of paginated test cases returned per response. Use
-- nextToken to iterate pages in the list of returned
-- TestCase objects. The default value is 100.
describeTestCases_maxResults :: Lens' DescribeTestCases (Maybe Natural)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
describeTestCases_nextToken :: Lens' DescribeTestCases (Maybe Text)
-- | The ARN of the report for which test cases are returned.
describeTestCases_reportArn :: Lens' DescribeTestCases Text
-- | See: newDescribeTestCasesResponse smart constructor.
data DescribeTestCasesResponse
DescribeTestCasesResponse' :: Maybe Text -> Maybe [TestCase] -> Int -> DescribeTestCasesResponse
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
[$sel:nextToken:DescribeTestCasesResponse'] :: DescribeTestCasesResponse -> Maybe Text
-- | The returned list of test cases.
[$sel:testCases:DescribeTestCasesResponse'] :: DescribeTestCasesResponse -> Maybe [TestCase]
-- | The response's http status code.
[$sel:httpStatus:DescribeTestCasesResponse'] :: DescribeTestCasesResponse -> Int
-- | Create a value of DescribeTestCasesResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeTestCases, describeTestCasesResponse_nextToken -
-- During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
--
-- $sel:testCases:DescribeTestCasesResponse',
-- describeTestCasesResponse_testCases - The returned list of test
-- cases.
--
-- $sel:httpStatus:DescribeTestCasesResponse',
-- describeTestCasesResponse_httpStatus - The response's http
-- status code.
newDescribeTestCasesResponse :: Int -> DescribeTestCasesResponse
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
describeTestCasesResponse_nextToken :: Lens' DescribeTestCasesResponse (Maybe Text)
-- | The returned list of test cases.
describeTestCasesResponse_testCases :: Lens' DescribeTestCasesResponse (Maybe [TestCase])
-- | The response's http status code.
describeTestCasesResponse_httpStatus :: Lens' DescribeTestCasesResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.DescribeTestCases.DescribeTestCases
instance GHC.Show.Show Amazonka.CodeBuild.DescribeTestCases.DescribeTestCases
instance GHC.Read.Read Amazonka.CodeBuild.DescribeTestCases.DescribeTestCases
instance GHC.Classes.Eq Amazonka.CodeBuild.DescribeTestCases.DescribeTestCases
instance GHC.Generics.Generic Amazonka.CodeBuild.DescribeTestCases.DescribeTestCasesResponse
instance GHC.Show.Show Amazonka.CodeBuild.DescribeTestCases.DescribeTestCasesResponse
instance GHC.Read.Read Amazonka.CodeBuild.DescribeTestCases.DescribeTestCasesResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.DescribeTestCases.DescribeTestCasesResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.DescribeTestCases.DescribeTestCases
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DescribeTestCases.DescribeTestCasesResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeBuild.DescribeTestCases.DescribeTestCases
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.DescribeTestCases.DescribeTestCases
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DescribeTestCases.DescribeTestCases
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.DescribeTestCases.DescribeTestCases
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.DescribeTestCases.DescribeTestCases
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.DescribeTestCases.DescribeTestCases
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.DescribeTestCases.DescribeTestCases
-- | Retrieves one or more code coverage reports.
--
-- This operation returns paginated results.
module Amazonka.CodeBuild.DescribeCodeCoverages
-- | See: newDescribeCodeCoverages smart constructor.
data DescribeCodeCoverages
DescribeCodeCoverages' :: Maybe Double -> Maybe Natural -> Maybe Double -> Maybe Text -> Maybe ReportCodeCoverageSortByType -> Maybe SortOrderType -> Text -> DescribeCodeCoverages
-- | The maximum line coverage percentage to report.
[$sel:maxLineCoveragePercentage:DescribeCodeCoverages'] :: DescribeCodeCoverages -> Maybe Double
-- | The maximum number of results to return.
[$sel:maxResults:DescribeCodeCoverages'] :: DescribeCodeCoverages -> Maybe Natural
-- | The minimum line coverage percentage to report.
[$sel:minLineCoveragePercentage:DescribeCodeCoverages'] :: DescribeCodeCoverages -> Maybe Double
-- | The nextToken value returned from a previous call to
-- DescribeCodeCoverages. This specifies the next item to
-- return. To return the beginning of the list, exclude this parameter.
[$sel:nextToken:DescribeCodeCoverages'] :: DescribeCodeCoverages -> Maybe Text
-- | Specifies how the results are sorted. Possible values are:
--
--
-- - FILE_PATH The results are sorted by file path.
-- - LINE_COVERAGE_PERCENTAGE The results are sorted by the
-- percentage of lines that are covered.
--
[$sel:sortBy:DescribeCodeCoverages'] :: DescribeCodeCoverages -> Maybe ReportCodeCoverageSortByType
-- | Specifies if the results are sorted in ascending or descending order.
[$sel:sortOrder:DescribeCodeCoverages'] :: DescribeCodeCoverages -> Maybe SortOrderType
-- | The ARN of the report for which test cases are returned.
[$sel:reportArn:DescribeCodeCoverages'] :: DescribeCodeCoverages -> Text
-- | Create a value of DescribeCodeCoverages with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxLineCoveragePercentage:DescribeCodeCoverages',
-- describeCodeCoverages_maxLineCoveragePercentage - The maximum
-- line coverage percentage to report.
--
-- $sel:maxResults:DescribeCodeCoverages',
-- describeCodeCoverages_maxResults - The maximum number of
-- results to return.
--
-- $sel:minLineCoveragePercentage:DescribeCodeCoverages',
-- describeCodeCoverages_minLineCoveragePercentage - The minimum
-- line coverage percentage to report.
--
-- DescribeCodeCoverages, describeCodeCoverages_nextToken -
-- The nextToken value returned from a previous call to
-- DescribeCodeCoverages. This specifies the next item to
-- return. To return the beginning of the list, exclude this parameter.
--
-- $sel:sortBy:DescribeCodeCoverages',
-- describeCodeCoverages_sortBy - Specifies how the results are
-- sorted. Possible values are:
--
--
-- - FILE_PATH The results are sorted by file path.
-- - LINE_COVERAGE_PERCENTAGE The results are sorted by the
-- percentage of lines that are covered.
--
--
-- $sel:sortOrder:DescribeCodeCoverages',
-- describeCodeCoverages_sortOrder - Specifies if the results are
-- sorted in ascending or descending order.
--
-- DescribeCodeCoverages, describeCodeCoverages_reportArn -
-- The ARN of the report for which test cases are returned.
newDescribeCodeCoverages :: Text -> DescribeCodeCoverages
-- | The maximum line coverage percentage to report.
describeCodeCoverages_maxLineCoveragePercentage :: Lens' DescribeCodeCoverages (Maybe Double)
-- | The maximum number of results to return.
describeCodeCoverages_maxResults :: Lens' DescribeCodeCoverages (Maybe Natural)
-- | The minimum line coverage percentage to report.
describeCodeCoverages_minLineCoveragePercentage :: Lens' DescribeCodeCoverages (Maybe Double)
-- | The nextToken value returned from a previous call to
-- DescribeCodeCoverages. This specifies the next item to
-- return. To return the beginning of the list, exclude this parameter.
describeCodeCoverages_nextToken :: Lens' DescribeCodeCoverages (Maybe Text)
-- | Specifies how the results are sorted. Possible values are:
--
--
-- - FILE_PATH The results are sorted by file path.
-- - LINE_COVERAGE_PERCENTAGE The results are sorted by the
-- percentage of lines that are covered.
--
describeCodeCoverages_sortBy :: Lens' DescribeCodeCoverages (Maybe ReportCodeCoverageSortByType)
-- | Specifies if the results are sorted in ascending or descending order.
describeCodeCoverages_sortOrder :: Lens' DescribeCodeCoverages (Maybe SortOrderType)
-- | The ARN of the report for which test cases are returned.
describeCodeCoverages_reportArn :: Lens' DescribeCodeCoverages Text
-- | See: newDescribeCodeCoveragesResponse smart constructor.
data DescribeCodeCoveragesResponse
DescribeCodeCoveragesResponse' :: Maybe [CodeCoverage] -> Maybe Text -> Int -> DescribeCodeCoveragesResponse
-- | An array of CodeCoverage objects that contain the results.
[$sel:codeCoverages:DescribeCodeCoveragesResponse'] :: DescribeCodeCoveragesResponse -> Maybe [CodeCoverage]
-- | If there are more items to return, this contains a token that is
-- passed to a subsequent call to DescribeCodeCoverages to
-- retrieve the next set of items.
[$sel:nextToken:DescribeCodeCoveragesResponse'] :: DescribeCodeCoveragesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeCodeCoveragesResponse'] :: DescribeCodeCoveragesResponse -> Int
-- | Create a value of DescribeCodeCoveragesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:codeCoverages:DescribeCodeCoveragesResponse',
-- describeCodeCoveragesResponse_codeCoverages - An array of
-- CodeCoverage objects that contain the results.
--
-- DescribeCodeCoverages,
-- describeCodeCoveragesResponse_nextToken - If there are more
-- items to return, this contains a token that is passed to a subsequent
-- call to DescribeCodeCoverages to retrieve the next set of
-- items.
--
-- $sel:httpStatus:DescribeCodeCoveragesResponse',
-- describeCodeCoveragesResponse_httpStatus - The response's http
-- status code.
newDescribeCodeCoveragesResponse :: Int -> DescribeCodeCoveragesResponse
-- | An array of CodeCoverage objects that contain the results.
describeCodeCoveragesResponse_codeCoverages :: Lens' DescribeCodeCoveragesResponse (Maybe [CodeCoverage])
-- | If there are more items to return, this contains a token that is
-- passed to a subsequent call to DescribeCodeCoverages to
-- retrieve the next set of items.
describeCodeCoveragesResponse_nextToken :: Lens' DescribeCodeCoveragesResponse (Maybe Text)
-- | The response's http status code.
describeCodeCoveragesResponse_httpStatus :: Lens' DescribeCodeCoveragesResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoverages
instance GHC.Show.Show Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoverages
instance GHC.Read.Read Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoverages
instance GHC.Classes.Eq Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoverages
instance GHC.Generics.Generic Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoveragesResponse
instance GHC.Show.Show Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoveragesResponse
instance GHC.Read.Read Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoveragesResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoveragesResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoverages
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoveragesResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoverages
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoverages
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoverages
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoverages
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoverages
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoverages
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.DescribeCodeCoverages.DescribeCodeCoverages
-- | For an existing CodeBuild build project that has its source code
-- stored in a GitHub or Bitbucket repository, stops CodeBuild from
-- rebuilding the source code every time a code change is pushed to the
-- repository.
module Amazonka.CodeBuild.DeleteWebhook
-- | See: newDeleteWebhook smart constructor.
data DeleteWebhook
DeleteWebhook' :: Text -> DeleteWebhook
-- | The name of the CodeBuild project.
[$sel:projectName:DeleteWebhook'] :: DeleteWebhook -> Text
-- | Create a value of DeleteWebhook with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteWebhook, deleteWebhook_projectName - The name of
-- the CodeBuild project.
newDeleteWebhook :: Text -> DeleteWebhook
-- | The name of the CodeBuild project.
deleteWebhook_projectName :: Lens' DeleteWebhook Text
-- | See: newDeleteWebhookResponse smart constructor.
data DeleteWebhookResponse
DeleteWebhookResponse' :: Int -> DeleteWebhookResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteWebhookResponse'] :: DeleteWebhookResponse -> Int
-- | Create a value of DeleteWebhookResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteWebhookResponse',
-- deleteWebhookResponse_httpStatus - The response's http status
-- code.
newDeleteWebhookResponse :: Int -> DeleteWebhookResponse
-- | The response's http status code.
deleteWebhookResponse_httpStatus :: Lens' DeleteWebhookResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.DeleteWebhook.DeleteWebhook
instance GHC.Show.Show Amazonka.CodeBuild.DeleteWebhook.DeleteWebhook
instance GHC.Read.Read Amazonka.CodeBuild.DeleteWebhook.DeleteWebhook
instance GHC.Classes.Eq Amazonka.CodeBuild.DeleteWebhook.DeleteWebhook
instance GHC.Generics.Generic Amazonka.CodeBuild.DeleteWebhook.DeleteWebhookResponse
instance GHC.Show.Show Amazonka.CodeBuild.DeleteWebhook.DeleteWebhookResponse
instance GHC.Read.Read Amazonka.CodeBuild.DeleteWebhook.DeleteWebhookResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.DeleteWebhook.DeleteWebhookResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.DeleteWebhook.DeleteWebhook
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DeleteWebhook.DeleteWebhookResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.DeleteWebhook.DeleteWebhook
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DeleteWebhook.DeleteWebhook
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.DeleteWebhook.DeleteWebhook
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.DeleteWebhook.DeleteWebhook
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.DeleteWebhook.DeleteWebhook
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.DeleteWebhook.DeleteWebhook
-- | Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source
-- credentials.
module Amazonka.CodeBuild.DeleteSourceCredentials
-- | See: newDeleteSourceCredentials smart constructor.
data DeleteSourceCredentials
DeleteSourceCredentials' :: Text -> DeleteSourceCredentials
-- | The Amazon Resource Name (ARN) of the token.
[$sel:arn:DeleteSourceCredentials'] :: DeleteSourceCredentials -> Text
-- | Create a value of DeleteSourceCredentials with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteSourceCredentials, deleteSourceCredentials_arn -
-- The Amazon Resource Name (ARN) of the token.
newDeleteSourceCredentials :: Text -> DeleteSourceCredentials
-- | The Amazon Resource Name (ARN) of the token.
deleteSourceCredentials_arn :: Lens' DeleteSourceCredentials Text
-- | See: newDeleteSourceCredentialsResponse smart
-- constructor.
data DeleteSourceCredentialsResponse
DeleteSourceCredentialsResponse' :: Maybe Text -> Int -> DeleteSourceCredentialsResponse
-- | The Amazon Resource Name (ARN) of the token.
[$sel:arn:DeleteSourceCredentialsResponse'] :: DeleteSourceCredentialsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DeleteSourceCredentialsResponse'] :: DeleteSourceCredentialsResponse -> Int
-- | Create a value of DeleteSourceCredentialsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteSourceCredentials,
-- deleteSourceCredentialsResponse_arn - The Amazon Resource Name
-- (ARN) of the token.
--
-- $sel:httpStatus:DeleteSourceCredentialsResponse',
-- deleteSourceCredentialsResponse_httpStatus - The response's
-- http status code.
newDeleteSourceCredentialsResponse :: Int -> DeleteSourceCredentialsResponse
-- | The Amazon Resource Name (ARN) of the token.
deleteSourceCredentialsResponse_arn :: Lens' DeleteSourceCredentialsResponse (Maybe Text)
-- | The response's http status code.
deleteSourceCredentialsResponse_httpStatus :: Lens' DeleteSourceCredentialsResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentials
instance GHC.Show.Show Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentials
instance GHC.Read.Read Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentials
instance GHC.Classes.Eq Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentials
instance GHC.Generics.Generic Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentialsResponse
instance GHC.Show.Show Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentialsResponse
instance GHC.Read.Read Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentialsResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentialsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentials
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentialsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentials
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentials
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentials
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentials
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentials
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.DeleteSourceCredentials.DeleteSourceCredentials
-- | Deletes a resource policy that is identified by its resource ARN.
module Amazonka.CodeBuild.DeleteResourcePolicy
-- | See: newDeleteResourcePolicy smart constructor.
data DeleteResourcePolicy
DeleteResourcePolicy' :: Text -> DeleteResourcePolicy
-- | The ARN of the resource that is associated with the resource policy.
[$sel:resourceArn:DeleteResourcePolicy'] :: DeleteResourcePolicy -> Text
-- | Create a value of DeleteResourcePolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:DeleteResourcePolicy',
-- deleteResourcePolicy_resourceArn - The ARN of the resource that
-- is associated with the resource policy.
newDeleteResourcePolicy :: Text -> DeleteResourcePolicy
-- | The ARN of the resource that is associated with the resource policy.
deleteResourcePolicy_resourceArn :: Lens' DeleteResourcePolicy Text
-- | See: newDeleteResourcePolicyResponse smart constructor.
data DeleteResourcePolicyResponse
DeleteResourcePolicyResponse' :: Int -> DeleteResourcePolicyResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteResourcePolicyResponse'] :: DeleteResourcePolicyResponse -> Int
-- | Create a value of DeleteResourcePolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteResourcePolicyResponse',
-- deleteResourcePolicyResponse_httpStatus - The response's http
-- status code.
newDeleteResourcePolicyResponse :: Int -> DeleteResourcePolicyResponse
-- | The response's http status code.
deleteResourcePolicyResponse_httpStatus :: Lens' DeleteResourcePolicyResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicy
instance GHC.Show.Show Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicy
instance GHC.Read.Read Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicy
instance GHC.Classes.Eq Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicy
instance GHC.Generics.Generic Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicyResponse
instance GHC.Show.Show Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicyResponse
instance GHC.Read.Read Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicyResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicy
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicy
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicy
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicy
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.DeleteResourcePolicy.DeleteResourcePolicy
-- | Deletes a report group. Before you delete a report group, you must
-- delete its reports.
module Amazonka.CodeBuild.DeleteReportGroup
-- | See: newDeleteReportGroup smart constructor.
data DeleteReportGroup
DeleteReportGroup' :: Maybe Bool -> Text -> DeleteReportGroup
-- | If true, deletes any reports that belong to a report group
-- before deleting the report group.
--
-- If false, you must delete any reports in the report group.
-- Use ListReportsForReportGroup to get the reports in a report
-- group. Use DeleteReport to delete the reports. If you call
-- DeleteReportGroup for a report group that contains one or
-- more reports, an exception is thrown.
[$sel:deleteReports:DeleteReportGroup'] :: DeleteReportGroup -> Maybe Bool
-- | The ARN of the report group to delete.
[$sel:arn:DeleteReportGroup'] :: DeleteReportGroup -> Text
-- | Create a value of DeleteReportGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:deleteReports:DeleteReportGroup',
-- deleteReportGroup_deleteReports - If true, deletes any
-- reports that belong to a report group before deleting the report
-- group.
--
-- If false, you must delete any reports in the report group.
-- Use ListReportsForReportGroup to get the reports in a report
-- group. Use DeleteReport to delete the reports. If you call
-- DeleteReportGroup for a report group that contains one or
-- more reports, an exception is thrown.
--
-- DeleteReportGroup, deleteReportGroup_arn - The ARN of
-- the report group to delete.
newDeleteReportGroup :: Text -> DeleteReportGroup
-- | If true, deletes any reports that belong to a report group
-- before deleting the report group.
--
-- If false, you must delete any reports in the report group.
-- Use ListReportsForReportGroup to get the reports in a report
-- group. Use DeleteReport to delete the reports. If you call
-- DeleteReportGroup for a report group that contains one or
-- more reports, an exception is thrown.
deleteReportGroup_deleteReports :: Lens' DeleteReportGroup (Maybe Bool)
-- | The ARN of the report group to delete.
deleteReportGroup_arn :: Lens' DeleteReportGroup Text
-- | See: newDeleteReportGroupResponse smart constructor.
data DeleteReportGroupResponse
DeleteReportGroupResponse' :: Int -> DeleteReportGroupResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteReportGroupResponse'] :: DeleteReportGroupResponse -> Int
-- | Create a value of DeleteReportGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteReportGroupResponse',
-- deleteReportGroupResponse_httpStatus - The response's http
-- status code.
newDeleteReportGroupResponse :: Int -> DeleteReportGroupResponse
-- | The response's http status code.
deleteReportGroupResponse_httpStatus :: Lens' DeleteReportGroupResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroup
instance GHC.Show.Show Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroup
instance GHC.Read.Read Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroup
instance GHC.Classes.Eq Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroup
instance GHC.Generics.Generic Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroupResponse
instance GHC.Show.Show Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroupResponse
instance GHC.Read.Read Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroupResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroup
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroup
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroup
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroup
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.DeleteReportGroup.DeleteReportGroup
-- | Deletes a report.
module Amazonka.CodeBuild.DeleteReport
-- | See: newDeleteReport smart constructor.
data DeleteReport
DeleteReport' :: Text -> DeleteReport
-- | The ARN of the report to delete.
[$sel:arn:DeleteReport'] :: DeleteReport -> Text
-- | Create a value of DeleteReport with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteReport, deleteReport_arn - The ARN of the report
-- to delete.
newDeleteReport :: Text -> DeleteReport
-- | The ARN of the report to delete.
deleteReport_arn :: Lens' DeleteReport Text
-- | See: newDeleteReportResponse smart constructor.
data DeleteReportResponse
DeleteReportResponse' :: Int -> DeleteReportResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteReportResponse'] :: DeleteReportResponse -> Int
-- | Create a value of DeleteReportResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteReportResponse',
-- deleteReportResponse_httpStatus - The response's http status
-- code.
newDeleteReportResponse :: Int -> DeleteReportResponse
-- | The response's http status code.
deleteReportResponse_httpStatus :: Lens' DeleteReportResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.DeleteReport.DeleteReport
instance GHC.Show.Show Amazonka.CodeBuild.DeleteReport.DeleteReport
instance GHC.Read.Read Amazonka.CodeBuild.DeleteReport.DeleteReport
instance GHC.Classes.Eq Amazonka.CodeBuild.DeleteReport.DeleteReport
instance GHC.Generics.Generic Amazonka.CodeBuild.DeleteReport.DeleteReportResponse
instance GHC.Show.Show Amazonka.CodeBuild.DeleteReport.DeleteReportResponse
instance GHC.Read.Read Amazonka.CodeBuild.DeleteReport.DeleteReportResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.DeleteReport.DeleteReportResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.DeleteReport.DeleteReport
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DeleteReport.DeleteReportResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.DeleteReport.DeleteReport
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DeleteReport.DeleteReport
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.DeleteReport.DeleteReport
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.DeleteReport.DeleteReport
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.DeleteReport.DeleteReport
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.DeleteReport.DeleteReport
-- | Deletes a build project. When you delete a project, its builds are not
-- deleted.
module Amazonka.CodeBuild.DeleteProject
-- | See: newDeleteProject smart constructor.
data DeleteProject
DeleteProject' :: Text -> DeleteProject
-- | The name of the build project.
[$sel:name:DeleteProject'] :: DeleteProject -> Text
-- | Create a value of DeleteProject with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteProject, deleteProject_name - The name of the
-- build project.
newDeleteProject :: Text -> DeleteProject
-- | The name of the build project.
deleteProject_name :: Lens' DeleteProject Text
-- | See: newDeleteProjectResponse smart constructor.
data DeleteProjectResponse
DeleteProjectResponse' :: Int -> DeleteProjectResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteProjectResponse'] :: DeleteProjectResponse -> Int
-- | Create a value of DeleteProjectResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteProjectResponse',
-- deleteProjectResponse_httpStatus - The response's http status
-- code.
newDeleteProjectResponse :: Int -> DeleteProjectResponse
-- | The response's http status code.
deleteProjectResponse_httpStatus :: Lens' DeleteProjectResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.DeleteProject.DeleteProject
instance GHC.Show.Show Amazonka.CodeBuild.DeleteProject.DeleteProject
instance GHC.Read.Read Amazonka.CodeBuild.DeleteProject.DeleteProject
instance GHC.Classes.Eq Amazonka.CodeBuild.DeleteProject.DeleteProject
instance GHC.Generics.Generic Amazonka.CodeBuild.DeleteProject.DeleteProjectResponse
instance GHC.Show.Show Amazonka.CodeBuild.DeleteProject.DeleteProjectResponse
instance GHC.Read.Read Amazonka.CodeBuild.DeleteProject.DeleteProjectResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.DeleteProject.DeleteProjectResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.DeleteProject.DeleteProject
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DeleteProject.DeleteProjectResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.DeleteProject.DeleteProject
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DeleteProject.DeleteProject
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.DeleteProject.DeleteProject
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.DeleteProject.DeleteProject
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.DeleteProject.DeleteProject
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.DeleteProject.DeleteProject
-- | Deletes a batch build.
module Amazonka.CodeBuild.DeleteBuildBatch
-- | See: newDeleteBuildBatch smart constructor.
data DeleteBuildBatch
DeleteBuildBatch' :: Text -> DeleteBuildBatch
-- | The identifier of the batch build to delete.
[$sel:id:DeleteBuildBatch'] :: DeleteBuildBatch -> Text
-- | Create a value of DeleteBuildBatch with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteBuildBatch, deleteBuildBatch_id - The identifier
-- of the batch build to delete.
newDeleteBuildBatch :: Text -> DeleteBuildBatch
-- | The identifier of the batch build to delete.
deleteBuildBatch_id :: Lens' DeleteBuildBatch Text
-- | See: newDeleteBuildBatchResponse smart constructor.
data DeleteBuildBatchResponse
DeleteBuildBatchResponse' :: Maybe (NonEmpty Text) -> Maybe [BuildNotDeleted] -> Maybe Text -> Int -> DeleteBuildBatchResponse
-- | An array of strings that contain the identifiers of the builds that
-- were deleted.
[$sel:buildsDeleted:DeleteBuildBatchResponse'] :: DeleteBuildBatchResponse -> Maybe (NonEmpty Text)
-- | An array of BuildNotDeleted objects that specify the builds
-- that could not be deleted.
[$sel:buildsNotDeleted:DeleteBuildBatchResponse'] :: DeleteBuildBatchResponse -> Maybe [BuildNotDeleted]
-- | The status code.
[$sel:statusCode:DeleteBuildBatchResponse'] :: DeleteBuildBatchResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DeleteBuildBatchResponse'] :: DeleteBuildBatchResponse -> Int
-- | Create a value of DeleteBuildBatchResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:buildsDeleted:DeleteBuildBatchResponse',
-- deleteBuildBatchResponse_buildsDeleted - An array of strings
-- that contain the identifiers of the builds that were deleted.
--
-- $sel:buildsNotDeleted:DeleteBuildBatchResponse',
-- deleteBuildBatchResponse_buildsNotDeleted - An array of
-- BuildNotDeleted objects that specify the builds that could
-- not be deleted.
--
-- DeleteBuildBatchResponse,
-- deleteBuildBatchResponse_statusCode - The status code.
--
-- $sel:httpStatus:DeleteBuildBatchResponse',
-- deleteBuildBatchResponse_httpStatus - The response's http
-- status code.
newDeleteBuildBatchResponse :: Int -> DeleteBuildBatchResponse
-- | An array of strings that contain the identifiers of the builds that
-- were deleted.
deleteBuildBatchResponse_buildsDeleted :: Lens' DeleteBuildBatchResponse (Maybe (NonEmpty Text))
-- | An array of BuildNotDeleted objects that specify the builds
-- that could not be deleted.
deleteBuildBatchResponse_buildsNotDeleted :: Lens' DeleteBuildBatchResponse (Maybe [BuildNotDeleted])
-- | The status code.
deleteBuildBatchResponse_statusCode :: Lens' DeleteBuildBatchResponse (Maybe Text)
-- | The response's http status code.
deleteBuildBatchResponse_httpStatus :: Lens' DeleteBuildBatchResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatch
instance GHC.Show.Show Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatch
instance GHC.Read.Read Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatch
instance GHC.Classes.Eq Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatch
instance GHC.Generics.Generic Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatchResponse
instance GHC.Show.Show Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatchResponse
instance GHC.Read.Read Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatchResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatchResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatch
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatchResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatch
instance Control.DeepSeq.NFData Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatch
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatch
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatch
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatch
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.DeleteBuildBatch.DeleteBuildBatch
-- | For an existing CodeBuild build project that has its source code
-- stored in a GitHub or Bitbucket repository, enables CodeBuild to start
-- rebuilding the source code every time a code change is pushed to the
-- repository.
--
-- If you enable webhooks for an CodeBuild project, and the project is
-- used as a build step in CodePipeline, then two identical builds are
-- created for each commit. One build is triggered through webhooks, and
-- one through CodePipeline. Because billing is on a per-build basis, you
-- are billed for both builds. Therefore, if you are using CodePipeline,
-- we recommend that you disable webhooks in CodeBuild. In the CodeBuild
-- console, clear the Webhook box. For more information, see step 5 in
-- Change a Build Project's Settings.
module Amazonka.CodeBuild.CreateWebhook
-- | See: newCreateWebhook smart constructor.
data CreateWebhook
CreateWebhook' :: Maybe Text -> Maybe WebhookBuildType -> Maybe [[WebhookFilter]] -> Text -> CreateWebhook
-- | A regular expression used to determine which repository branches are
-- built when a webhook is triggered. If the name of a branch matches the
-- regular expression, then it is built. If branchFilter is
-- empty, then all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
[$sel:branchFilter:CreateWebhook'] :: CreateWebhook -> Maybe Text
-- | Specifies the type of build this webhook will trigger.
[$sel:buildType:CreateWebhook'] :: CreateWebhook -> Maybe WebhookBuildType
-- | An array of arrays of WebhookFilter objects used to determine
-- which webhooks are triggered. At least one WebhookFilter in
-- the array must specify EVENT as its type.
--
-- For a build to be triggered, at least one filter group in the
-- filterGroups array must pass. For a filter group to pass,
-- each of its filters must pass.
[$sel:filterGroups:CreateWebhook'] :: CreateWebhook -> Maybe [[WebhookFilter]]
-- | The name of the CodeBuild project.
[$sel:projectName:CreateWebhook'] :: CreateWebhook -> Text
-- | Create a value of CreateWebhook with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateWebhook, createWebhook_branchFilter - A regular
-- expression used to determine which repository branches are built when
-- a webhook is triggered. If the name of a branch matches the regular
-- expression, then it is built. If branchFilter is empty, then
-- all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
--
-- CreateWebhook, createWebhook_buildType - Specifies the
-- type of build this webhook will trigger.
--
-- CreateWebhook, createWebhook_filterGroups - An array of
-- arrays of WebhookFilter objects used to determine which
-- webhooks are triggered. At least one WebhookFilter in the
-- array must specify EVENT as its type.
--
-- For a build to be triggered, at least one filter group in the
-- filterGroups array must pass. For a filter group to pass,
-- each of its filters must pass.
--
-- CreateWebhook, createWebhook_projectName - The name of
-- the CodeBuild project.
newCreateWebhook :: Text -> CreateWebhook
-- | A regular expression used to determine which repository branches are
-- built when a webhook is triggered. If the name of a branch matches the
-- regular expression, then it is built. If branchFilter is
-- empty, then all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
createWebhook_branchFilter :: Lens' CreateWebhook (Maybe Text)
-- | Specifies the type of build this webhook will trigger.
createWebhook_buildType :: Lens' CreateWebhook (Maybe WebhookBuildType)
-- | An array of arrays of WebhookFilter objects used to determine
-- which webhooks are triggered. At least one WebhookFilter in
-- the array must specify EVENT as its type.
--
-- For a build to be triggered, at least one filter group in the
-- filterGroups array must pass. For a filter group to pass,
-- each of its filters must pass.
createWebhook_filterGroups :: Lens' CreateWebhook (Maybe [[WebhookFilter]])
-- | The name of the CodeBuild project.
createWebhook_projectName :: Lens' CreateWebhook Text
-- | See: newCreateWebhookResponse smart constructor.
data CreateWebhookResponse
CreateWebhookResponse' :: Maybe Webhook -> Int -> CreateWebhookResponse
-- | Information about a webhook that connects repository events to a build
-- project in CodeBuild.
[$sel:webhook:CreateWebhookResponse'] :: CreateWebhookResponse -> Maybe Webhook
-- | The response's http status code.
[$sel:httpStatus:CreateWebhookResponse'] :: CreateWebhookResponse -> Int
-- | Create a value of CreateWebhookResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateWebhookResponse, createWebhookResponse_webhook -
-- Information about a webhook that connects repository events to a build
-- project in CodeBuild.
--
-- $sel:httpStatus:CreateWebhookResponse',
-- createWebhookResponse_httpStatus - The response's http status
-- code.
newCreateWebhookResponse :: Int -> CreateWebhookResponse
-- | Information about a webhook that connects repository events to a build
-- project in CodeBuild.
createWebhookResponse_webhook :: Lens' CreateWebhookResponse (Maybe Webhook)
-- | The response's http status code.
createWebhookResponse_httpStatus :: Lens' CreateWebhookResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.CreateWebhook.CreateWebhook
instance GHC.Show.Show Amazonka.CodeBuild.CreateWebhook.CreateWebhook
instance GHC.Read.Read Amazonka.CodeBuild.CreateWebhook.CreateWebhook
instance GHC.Classes.Eq Amazonka.CodeBuild.CreateWebhook.CreateWebhook
instance GHC.Generics.Generic Amazonka.CodeBuild.CreateWebhook.CreateWebhookResponse
instance GHC.Show.Show Amazonka.CodeBuild.CreateWebhook.CreateWebhookResponse
instance GHC.Read.Read Amazonka.CodeBuild.CreateWebhook.CreateWebhookResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.CreateWebhook.CreateWebhookResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.CreateWebhook.CreateWebhook
instance Control.DeepSeq.NFData Amazonka.CodeBuild.CreateWebhook.CreateWebhookResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.CreateWebhook.CreateWebhook
instance Control.DeepSeq.NFData Amazonka.CodeBuild.CreateWebhook.CreateWebhook
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.CreateWebhook.CreateWebhook
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.CreateWebhook.CreateWebhook
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.CreateWebhook.CreateWebhook
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.CreateWebhook.CreateWebhook
-- | Creates a report group. A report group contains a collection of
-- reports.
module Amazonka.CodeBuild.CreateReportGroup
-- | See: newCreateReportGroup smart constructor.
data CreateReportGroup
CreateReportGroup' :: Maybe [Tag] -> Text -> ReportType -> ReportExportConfig -> CreateReportGroup
-- | A list of tag key and value pairs associated with this report group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
[$sel:tags:CreateReportGroup'] :: CreateReportGroup -> Maybe [Tag]
-- | The name of the report group.
[$sel:name:CreateReportGroup'] :: CreateReportGroup -> Text
-- | The type of report group.
[$sel:type':CreateReportGroup'] :: CreateReportGroup -> ReportType
-- | A ReportExportConfig object that contains information about
-- where the report group test results are exported.
[$sel:exportConfig:CreateReportGroup'] :: CreateReportGroup -> ReportExportConfig
-- | Create a value of CreateReportGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateReportGroup, createReportGroup_tags - A list of
-- tag key and value pairs associated with this report group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
--
-- CreateReportGroup, createReportGroup_name - The name of
-- the report group.
--
-- CreateReportGroup, createReportGroup_type - The type of
-- report group.
--
-- CreateReportGroup, createReportGroup_exportConfig - A
-- ReportExportConfig object that contains information about
-- where the report group test results are exported.
newCreateReportGroup :: Text -> ReportType -> ReportExportConfig -> CreateReportGroup
-- | A list of tag key and value pairs associated with this report group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
createReportGroup_tags :: Lens' CreateReportGroup (Maybe [Tag])
-- | The name of the report group.
createReportGroup_name :: Lens' CreateReportGroup Text
-- | The type of report group.
createReportGroup_type :: Lens' CreateReportGroup ReportType
-- | A ReportExportConfig object that contains information about
-- where the report group test results are exported.
createReportGroup_exportConfig :: Lens' CreateReportGroup ReportExportConfig
-- | See: newCreateReportGroupResponse smart constructor.
data CreateReportGroupResponse
CreateReportGroupResponse' :: Maybe ReportGroup -> Int -> CreateReportGroupResponse
-- | Information about the report group that was created.
[$sel:reportGroup:CreateReportGroupResponse'] :: CreateReportGroupResponse -> Maybe ReportGroup
-- | The response's http status code.
[$sel:httpStatus:CreateReportGroupResponse'] :: CreateReportGroupResponse -> Int
-- | Create a value of CreateReportGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:reportGroup:CreateReportGroupResponse',
-- createReportGroupResponse_reportGroup - Information about the
-- report group that was created.
--
-- $sel:httpStatus:CreateReportGroupResponse',
-- createReportGroupResponse_httpStatus - The response's http
-- status code.
newCreateReportGroupResponse :: Int -> CreateReportGroupResponse
-- | Information about the report group that was created.
createReportGroupResponse_reportGroup :: Lens' CreateReportGroupResponse (Maybe ReportGroup)
-- | The response's http status code.
createReportGroupResponse_httpStatus :: Lens' CreateReportGroupResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.CreateReportGroup.CreateReportGroup
instance GHC.Show.Show Amazonka.CodeBuild.CreateReportGroup.CreateReportGroup
instance GHC.Read.Read Amazonka.CodeBuild.CreateReportGroup.CreateReportGroup
instance GHC.Classes.Eq Amazonka.CodeBuild.CreateReportGroup.CreateReportGroup
instance GHC.Generics.Generic Amazonka.CodeBuild.CreateReportGroup.CreateReportGroupResponse
instance GHC.Show.Show Amazonka.CodeBuild.CreateReportGroup.CreateReportGroupResponse
instance GHC.Read.Read Amazonka.CodeBuild.CreateReportGroup.CreateReportGroupResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.CreateReportGroup.CreateReportGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.CreateReportGroup.CreateReportGroup
instance Control.DeepSeq.NFData Amazonka.CodeBuild.CreateReportGroup.CreateReportGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.CreateReportGroup.CreateReportGroup
instance Control.DeepSeq.NFData Amazonka.CodeBuild.CreateReportGroup.CreateReportGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.CreateReportGroup.CreateReportGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.CreateReportGroup.CreateReportGroup
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.CreateReportGroup.CreateReportGroup
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.CreateReportGroup.CreateReportGroup
-- | Creates a build project.
module Amazonka.CodeBuild.CreateProject
-- | See: newCreateProject smart constructor.
data CreateProject
CreateProject' :: Maybe Bool -> Maybe ProjectBuildBatchConfig -> Maybe ProjectCache -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [ProjectFileSystemLocation] -> Maybe LogsConfig -> Maybe Natural -> Maybe [ProjectArtifacts] -> Maybe [ProjectSourceVersion] -> Maybe [ProjectSource] -> Maybe Text -> Maybe [Tag] -> Maybe Natural -> Maybe VpcConfig -> Text -> ProjectSource -> ProjectArtifacts -> ProjectEnvironment -> Text -> CreateProject
-- | Set this to true to generate a publicly accessible URL for your
-- project's build badge.
[$sel:badgeEnabled:CreateProject'] :: CreateProject -> Maybe Bool
-- | A ProjectBuildBatchConfig object that defines the batch build options
-- for the project.
[$sel:buildBatchConfig:CreateProject'] :: CreateProject -> Maybe ProjectBuildBatchConfig
-- | Stores recently used information so that it can be quickly accessed at
-- a later time.
[$sel:cache:CreateProject'] :: CreateProject -> Maybe ProjectCache
-- | The maximum number of concurrent builds that are allowed for this
-- project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
[$sel:concurrentBuildLimit:CreateProject'] :: CreateProject -> Maybe Int
-- | A description that makes the build project easy to identify.
[$sel:description:CreateProject'] :: CreateProject -> Maybe Text
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
[$sel:encryptionKey:CreateProject'] :: CreateProject -> Maybe Text
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
[$sel:fileSystemLocations:CreateProject'] :: CreateProject -> Maybe [ProjectFileSystemLocation]
-- | Information about logs for the build project. These can be logs in
-- CloudWatch Logs, logs uploaded to a specified S3 bucket, or both.
[$sel:logsConfig:CreateProject'] :: CreateProject -> Maybe LogsConfig
-- | The number of minutes a build is allowed to be queued before it times
-- out.
[$sel:queuedTimeoutInMinutes:CreateProject'] :: CreateProject -> Maybe Natural
-- | An array of ProjectArtifacts objects.
[$sel:secondaryArtifacts:CreateProject'] :: CreateProject -> Maybe [ProjectArtifacts]
-- | An array of ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take precedence over these secondarySourceVersions (at
-- the project level).
[$sel:secondarySourceVersions:CreateProject'] :: CreateProject -> Maybe [ProjectSourceVersion]
-- | An array of ProjectSource objects.
[$sel:secondarySources:CreateProject'] :: CreateProject -> Maybe [ProjectSource]
-- | A version of the build input to be built for this project. If not
-- specified, the latest version is used. If specified, it must be one
-- of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
[$sel:sourceVersion:CreateProject'] :: CreateProject -> Maybe Text
-- | A list of tag key and value pairs associated with this build project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
[$sel:tags:CreateProject'] :: CreateProject -> Maybe [Tag]
-- | How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
-- before it times out any build that has not been marked as completed.
-- The default is 60 minutes.
[$sel:timeoutInMinutes:CreateProject'] :: CreateProject -> Maybe Natural
-- | VpcConfig enables CodeBuild to access resources in an Amazon VPC.
[$sel:vpcConfig:CreateProject'] :: CreateProject -> Maybe VpcConfig
-- | The name of the build project.
[$sel:name:CreateProject'] :: CreateProject -> Text
-- | Information about the build input source code for the build project.
[$sel:source:CreateProject'] :: CreateProject -> ProjectSource
-- | Information about the build output artifacts for the build project.
[$sel:artifacts:CreateProject'] :: CreateProject -> ProjectArtifacts
-- | Information about the build environment for the build project.
[$sel:environment:CreateProject'] :: CreateProject -> ProjectEnvironment
-- | The ARN of the IAM role that enables CodeBuild to interact with
-- dependent Amazon Web Services services on behalf of the Amazon Web
-- Services account.
[$sel:serviceRole:CreateProject'] :: CreateProject -> Text
-- | Create a value of CreateProject with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateProject, createProject_badgeEnabled - Set this to
-- true to generate a publicly accessible URL for your project's build
-- badge.
--
-- CreateProject, createProject_buildBatchConfig - A
-- ProjectBuildBatchConfig object that defines the batch build options
-- for the project.
--
-- CreateProject, createProject_cache - Stores recently
-- used information so that it can be quickly accessed at a later time.
--
-- CreateProject, createProject_concurrentBuildLimit - The
-- maximum number of concurrent builds that are allowed for this project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
--
-- CreateProject, createProject_description - A description
-- that makes the build project easy to identify.
--
-- CreateProject, createProject_encryptionKey - The Key
-- Management Service customer master key (CMK) to be used for encrypting
-- the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
--
-- CreateProject, createProject_fileSystemLocations - An
-- array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
--
-- CreateProject, createProject_logsConfig - Information
-- about logs for the build project. These can be logs in CloudWatch
-- Logs, logs uploaded to a specified S3 bucket, or both.
--
-- CreateProject, createProject_queuedTimeoutInMinutes -
-- The number of minutes a build is allowed to be queued before it times
-- out.
--
-- CreateProject, createProject_secondaryArtifacts - An
-- array of ProjectArtifacts objects.
--
-- CreateProject, createProject_secondarySourceVersions -
-- An array of ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take precedence over these secondarySourceVersions (at
-- the project level).
--
-- CreateProject, createProject_secondarySources - An array
-- of ProjectSource objects.
--
-- CreateProject, createProject_sourceVersion - A version
-- of the build input to be built for this project. If not specified, the
-- latest version is used. If specified, it must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
--
-- CreateProject, createProject_tags - A list of tag key
-- and value pairs associated with this build project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
--
-- CreateProject, createProject_timeoutInMinutes - How
-- long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
-- before it times out any build that has not been marked as completed.
-- The default is 60 minutes.
--
-- CreateProject, createProject_vpcConfig - VpcConfig
-- enables CodeBuild to access resources in an Amazon VPC.
--
-- CreateProject, createProject_name - The name of the
-- build project.
--
-- CreateProject, createProject_source - Information about
-- the build input source code for the build project.
--
-- CreateProject, createProject_artifacts - Information
-- about the build output artifacts for the build project.
--
-- CreateProject, createProject_environment - Information
-- about the build environment for the build project.
--
-- CreateProject, createProject_serviceRole - The ARN of
-- the IAM role that enables CodeBuild to interact with dependent Amazon
-- Web Services services on behalf of the Amazon Web Services account.
newCreateProject :: Text -> ProjectSource -> ProjectArtifacts -> ProjectEnvironment -> Text -> CreateProject
-- | Set this to true to generate a publicly accessible URL for your
-- project's build badge.
createProject_badgeEnabled :: Lens' CreateProject (Maybe Bool)
-- | A ProjectBuildBatchConfig object that defines the batch build options
-- for the project.
createProject_buildBatchConfig :: Lens' CreateProject (Maybe ProjectBuildBatchConfig)
-- | Stores recently used information so that it can be quickly accessed at
-- a later time.
createProject_cache :: Lens' CreateProject (Maybe ProjectCache)
-- | The maximum number of concurrent builds that are allowed for this
-- project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
createProject_concurrentBuildLimit :: Lens' CreateProject (Maybe Int)
-- | A description that makes the build project easy to identify.
createProject_description :: Lens' CreateProject (Maybe Text)
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
createProject_encryptionKey :: Lens' CreateProject (Maybe Text)
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
createProject_fileSystemLocations :: Lens' CreateProject (Maybe [ProjectFileSystemLocation])
-- | Information about logs for the build project. These can be logs in
-- CloudWatch Logs, logs uploaded to a specified S3 bucket, or both.
createProject_logsConfig :: Lens' CreateProject (Maybe LogsConfig)
-- | The number of minutes a build is allowed to be queued before it times
-- out.
createProject_queuedTimeoutInMinutes :: Lens' CreateProject (Maybe Natural)
-- | An array of ProjectArtifacts objects.
createProject_secondaryArtifacts :: Lens' CreateProject (Maybe [ProjectArtifacts])
-- | An array of ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take precedence over these secondarySourceVersions (at
-- the project level).
createProject_secondarySourceVersions :: Lens' CreateProject (Maybe [ProjectSourceVersion])
-- | An array of ProjectSource objects.
createProject_secondarySources :: Lens' CreateProject (Maybe [ProjectSource])
-- | A version of the build input to be built for this project. If not
-- specified, the latest version is used. If specified, it must be one
-- of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
createProject_sourceVersion :: Lens' CreateProject (Maybe Text)
-- | A list of tag key and value pairs associated with this build project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
createProject_tags :: Lens' CreateProject (Maybe [Tag])
-- | How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
-- before it times out any build that has not been marked as completed.
-- The default is 60 minutes.
createProject_timeoutInMinutes :: Lens' CreateProject (Maybe Natural)
-- | VpcConfig enables CodeBuild to access resources in an Amazon VPC.
createProject_vpcConfig :: Lens' CreateProject (Maybe VpcConfig)
-- | The name of the build project.
createProject_name :: Lens' CreateProject Text
-- | Information about the build input source code for the build project.
createProject_source :: Lens' CreateProject ProjectSource
-- | Information about the build output artifacts for the build project.
createProject_artifacts :: Lens' CreateProject ProjectArtifacts
-- | Information about the build environment for the build project.
createProject_environment :: Lens' CreateProject ProjectEnvironment
-- | The ARN of the IAM role that enables CodeBuild to interact with
-- dependent Amazon Web Services services on behalf of the Amazon Web
-- Services account.
createProject_serviceRole :: Lens' CreateProject Text
-- | See: newCreateProjectResponse smart constructor.
data CreateProjectResponse
CreateProjectResponse' :: Maybe Project -> Int -> CreateProjectResponse
-- | Information about the build project that was created.
[$sel:project:CreateProjectResponse'] :: CreateProjectResponse -> Maybe Project
-- | The response's http status code.
[$sel:httpStatus:CreateProjectResponse'] :: CreateProjectResponse -> Int
-- | Create a value of CreateProjectResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:project:CreateProjectResponse',
-- createProjectResponse_project - Information about the build
-- project that was created.
--
-- $sel:httpStatus:CreateProjectResponse',
-- createProjectResponse_httpStatus - The response's http status
-- code.
newCreateProjectResponse :: Int -> CreateProjectResponse
-- | Information about the build project that was created.
createProjectResponse_project :: Lens' CreateProjectResponse (Maybe Project)
-- | The response's http status code.
createProjectResponse_httpStatus :: Lens' CreateProjectResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.CreateProject.CreateProject
instance GHC.Show.Show Amazonka.CodeBuild.CreateProject.CreateProject
instance GHC.Read.Read Amazonka.CodeBuild.CreateProject.CreateProject
instance GHC.Classes.Eq Amazonka.CodeBuild.CreateProject.CreateProject
instance GHC.Generics.Generic Amazonka.CodeBuild.CreateProject.CreateProjectResponse
instance GHC.Show.Show Amazonka.CodeBuild.CreateProject.CreateProjectResponse
instance GHC.Read.Read Amazonka.CodeBuild.CreateProject.CreateProjectResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.CreateProject.CreateProjectResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.CreateProject.CreateProject
instance Control.DeepSeq.NFData Amazonka.CodeBuild.CreateProject.CreateProjectResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.CreateProject.CreateProject
instance Control.DeepSeq.NFData Amazonka.CodeBuild.CreateProject.CreateProject
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.CreateProject.CreateProject
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.CreateProject.CreateProject
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.CreateProject.CreateProject
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.CreateProject.CreateProject
-- | Returns an array of reports.
module Amazonka.CodeBuild.BatchGetReports
-- | See: newBatchGetReports smart constructor.
data BatchGetReports
BatchGetReports' :: NonEmpty Text -> BatchGetReports
-- | An array of ARNs that identify the Report objects to return.
[$sel:reportArns:BatchGetReports'] :: BatchGetReports -> NonEmpty Text
-- | Create a value of BatchGetReports with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- BatchGetReports, batchGetReports_reportArns - An array
-- of ARNs that identify the Report objects to return.
newBatchGetReports :: NonEmpty Text -> BatchGetReports
-- | An array of ARNs that identify the Report objects to return.
batchGetReports_reportArns :: Lens' BatchGetReports (NonEmpty Text)
-- | See: newBatchGetReportsResponse smart constructor.
data BatchGetReportsResponse
BatchGetReportsResponse' :: Maybe (NonEmpty Report) -> Maybe (NonEmpty Text) -> Int -> BatchGetReportsResponse
-- | The array of Report objects returned by
-- BatchGetReports.
[$sel:reports:BatchGetReportsResponse'] :: BatchGetReportsResponse -> Maybe (NonEmpty Report)
-- | An array of ARNs passed to BatchGetReportGroups that are not
-- associated with a Report.
[$sel:reportsNotFound:BatchGetReportsResponse'] :: BatchGetReportsResponse -> Maybe (NonEmpty Text)
-- | The response's http status code.
[$sel:httpStatus:BatchGetReportsResponse'] :: BatchGetReportsResponse -> Int
-- | Create a value of BatchGetReportsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:reports:BatchGetReportsResponse',
-- batchGetReportsResponse_reports - The array of Report
-- objects returned by BatchGetReports.
--
-- $sel:reportsNotFound:BatchGetReportsResponse',
-- batchGetReportsResponse_reportsNotFound - An array of ARNs
-- passed to BatchGetReportGroups that are not associated with a
-- Report.
--
-- $sel:httpStatus:BatchGetReportsResponse',
-- batchGetReportsResponse_httpStatus - The response's http status
-- code.
newBatchGetReportsResponse :: Int -> BatchGetReportsResponse
-- | The array of Report objects returned by
-- BatchGetReports.
batchGetReportsResponse_reports :: Lens' BatchGetReportsResponse (Maybe (NonEmpty Report))
-- | An array of ARNs passed to BatchGetReportGroups that are not
-- associated with a Report.
batchGetReportsResponse_reportsNotFound :: Lens' BatchGetReportsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
batchGetReportsResponse_httpStatus :: Lens' BatchGetReportsResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.BatchGetReports.BatchGetReports
instance GHC.Show.Show Amazonka.CodeBuild.BatchGetReports.BatchGetReports
instance GHC.Read.Read Amazonka.CodeBuild.BatchGetReports.BatchGetReports
instance GHC.Classes.Eq Amazonka.CodeBuild.BatchGetReports.BatchGetReports
instance GHC.Generics.Generic Amazonka.CodeBuild.BatchGetReports.BatchGetReportsResponse
instance GHC.Show.Show Amazonka.CodeBuild.BatchGetReports.BatchGetReportsResponse
instance GHC.Read.Read Amazonka.CodeBuild.BatchGetReports.BatchGetReportsResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.BatchGetReports.BatchGetReportsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.BatchGetReports.BatchGetReports
instance Control.DeepSeq.NFData Amazonka.CodeBuild.BatchGetReports.BatchGetReportsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.BatchGetReports.BatchGetReports
instance Control.DeepSeq.NFData Amazonka.CodeBuild.BatchGetReports.BatchGetReports
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.BatchGetReports.BatchGetReports
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.BatchGetReports.BatchGetReports
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.BatchGetReports.BatchGetReports
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.BatchGetReports.BatchGetReports
-- | Returns an array of report groups.
module Amazonka.CodeBuild.BatchGetReportGroups
-- | See: newBatchGetReportGroups smart constructor.
data BatchGetReportGroups
BatchGetReportGroups' :: NonEmpty Text -> BatchGetReportGroups
-- | An array of report group ARNs that identify the report groups to
-- return.
[$sel:reportGroupArns:BatchGetReportGroups'] :: BatchGetReportGroups -> NonEmpty Text
-- | Create a value of BatchGetReportGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:reportGroupArns:BatchGetReportGroups',
-- batchGetReportGroups_reportGroupArns - An array of report group
-- ARNs that identify the report groups to return.
newBatchGetReportGroups :: NonEmpty Text -> BatchGetReportGroups
-- | An array of report group ARNs that identify the report groups to
-- return.
batchGetReportGroups_reportGroupArns :: Lens' BatchGetReportGroups (NonEmpty Text)
-- | See: newBatchGetReportGroupsResponse smart constructor.
data BatchGetReportGroupsResponse
BatchGetReportGroupsResponse' :: Maybe (NonEmpty ReportGroup) -> Maybe (NonEmpty Text) -> Int -> BatchGetReportGroupsResponse
-- | The array of report groups returned by BatchGetReportGroups.
[$sel:reportGroups:BatchGetReportGroupsResponse'] :: BatchGetReportGroupsResponse -> Maybe (NonEmpty ReportGroup)
-- | An array of ARNs passed to BatchGetReportGroups that are not
-- associated with a ReportGroup.
[$sel:reportGroupsNotFound:BatchGetReportGroupsResponse'] :: BatchGetReportGroupsResponse -> Maybe (NonEmpty Text)
-- | The response's http status code.
[$sel:httpStatus:BatchGetReportGroupsResponse'] :: BatchGetReportGroupsResponse -> Int
-- | Create a value of BatchGetReportGroupsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:reportGroups:BatchGetReportGroupsResponse',
-- batchGetReportGroupsResponse_reportGroups - The array of report
-- groups returned by BatchGetReportGroups.
--
-- $sel:reportGroupsNotFound:BatchGetReportGroupsResponse',
-- batchGetReportGroupsResponse_reportGroupsNotFound - An array of
-- ARNs passed to BatchGetReportGroups that are not associated
-- with a ReportGroup.
--
-- $sel:httpStatus:BatchGetReportGroupsResponse',
-- batchGetReportGroupsResponse_httpStatus - The response's http
-- status code.
newBatchGetReportGroupsResponse :: Int -> BatchGetReportGroupsResponse
-- | The array of report groups returned by BatchGetReportGroups.
batchGetReportGroupsResponse_reportGroups :: Lens' BatchGetReportGroupsResponse (Maybe (NonEmpty ReportGroup))
-- | An array of ARNs passed to BatchGetReportGroups that are not
-- associated with a ReportGroup.
batchGetReportGroupsResponse_reportGroupsNotFound :: Lens' BatchGetReportGroupsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
batchGetReportGroupsResponse_httpStatus :: Lens' BatchGetReportGroupsResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroups
instance GHC.Show.Show Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroups
instance GHC.Read.Read Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroups
instance GHC.Classes.Eq Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroups
instance GHC.Generics.Generic Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroupsResponse
instance GHC.Show.Show Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroupsResponse
instance GHC.Read.Read Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroupsResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroupsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroups
instance Control.DeepSeq.NFData Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroupsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroups
instance Control.DeepSeq.NFData Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroups
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroups
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroups
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroups
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.BatchGetReportGroups.BatchGetReportGroups
-- | Gets information about one or more build projects.
module Amazonka.CodeBuild.BatchGetProjects
-- | See: newBatchGetProjects smart constructor.
data BatchGetProjects
BatchGetProjects' :: NonEmpty Text -> BatchGetProjects
-- | The names or ARNs of the build projects. To get information about a
-- project shared with your Amazon Web Services account, its ARN must be
-- specified. You cannot specify a shared project using its name.
[$sel:names:BatchGetProjects'] :: BatchGetProjects -> NonEmpty Text
-- | Create a value of BatchGetProjects with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:names:BatchGetProjects', batchGetProjects_names -
-- The names or ARNs of the build projects. To get information about a
-- project shared with your Amazon Web Services account, its ARN must be
-- specified. You cannot specify a shared project using its name.
newBatchGetProjects :: NonEmpty Text -> BatchGetProjects
-- | The names or ARNs of the build projects. To get information about a
-- project shared with your Amazon Web Services account, its ARN must be
-- specified. You cannot specify a shared project using its name.
batchGetProjects_names :: Lens' BatchGetProjects (NonEmpty Text)
-- | See: newBatchGetProjectsResponse smart constructor.
data BatchGetProjectsResponse
BatchGetProjectsResponse' :: Maybe [Project] -> Maybe (NonEmpty Text) -> Int -> BatchGetProjectsResponse
-- | Information about the requested build projects.
[$sel:projects:BatchGetProjectsResponse'] :: BatchGetProjectsResponse -> Maybe [Project]
-- | The names of build projects for which information could not be found.
[$sel:projectsNotFound:BatchGetProjectsResponse'] :: BatchGetProjectsResponse -> Maybe (NonEmpty Text)
-- | The response's http status code.
[$sel:httpStatus:BatchGetProjectsResponse'] :: BatchGetProjectsResponse -> Int
-- | Create a value of BatchGetProjectsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:projects:BatchGetProjectsResponse',
-- batchGetProjectsResponse_projects - Information about the
-- requested build projects.
--
-- $sel:projectsNotFound:BatchGetProjectsResponse',
-- batchGetProjectsResponse_projectsNotFound - The names of build
-- projects for which information could not be found.
--
-- $sel:httpStatus:BatchGetProjectsResponse',
-- batchGetProjectsResponse_httpStatus - The response's http
-- status code.
newBatchGetProjectsResponse :: Int -> BatchGetProjectsResponse
-- | Information about the requested build projects.
batchGetProjectsResponse_projects :: Lens' BatchGetProjectsResponse (Maybe [Project])
-- | The names of build projects for which information could not be found.
batchGetProjectsResponse_projectsNotFound :: Lens' BatchGetProjectsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
batchGetProjectsResponse_httpStatus :: Lens' BatchGetProjectsResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.BatchGetProjects.BatchGetProjects
instance GHC.Show.Show Amazonka.CodeBuild.BatchGetProjects.BatchGetProjects
instance GHC.Read.Read Amazonka.CodeBuild.BatchGetProjects.BatchGetProjects
instance GHC.Classes.Eq Amazonka.CodeBuild.BatchGetProjects.BatchGetProjects
instance GHC.Generics.Generic Amazonka.CodeBuild.BatchGetProjects.BatchGetProjectsResponse
instance GHC.Show.Show Amazonka.CodeBuild.BatchGetProjects.BatchGetProjectsResponse
instance GHC.Read.Read Amazonka.CodeBuild.BatchGetProjects.BatchGetProjectsResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.BatchGetProjects.BatchGetProjectsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.BatchGetProjects.BatchGetProjects
instance Control.DeepSeq.NFData Amazonka.CodeBuild.BatchGetProjects.BatchGetProjectsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.BatchGetProjects.BatchGetProjects
instance Control.DeepSeq.NFData Amazonka.CodeBuild.BatchGetProjects.BatchGetProjects
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.BatchGetProjects.BatchGetProjects
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.BatchGetProjects.BatchGetProjects
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.BatchGetProjects.BatchGetProjects
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.BatchGetProjects.BatchGetProjects
-- | Gets information about one or more builds.
module Amazonka.CodeBuild.BatchGetBuilds
-- | See: newBatchGetBuilds smart constructor.
data BatchGetBuilds
BatchGetBuilds' :: NonEmpty Text -> BatchGetBuilds
-- | The IDs of the builds.
[$sel:ids:BatchGetBuilds'] :: BatchGetBuilds -> NonEmpty Text
-- | Create a value of BatchGetBuilds with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ids:BatchGetBuilds', batchGetBuilds_ids - The IDs
-- of the builds.
newBatchGetBuilds :: NonEmpty Text -> BatchGetBuilds
-- | The IDs of the builds.
batchGetBuilds_ids :: Lens' BatchGetBuilds (NonEmpty Text)
-- | See: newBatchGetBuildsResponse smart constructor.
data BatchGetBuildsResponse
BatchGetBuildsResponse' :: Maybe [Build] -> Maybe (NonEmpty Text) -> Int -> BatchGetBuildsResponse
-- | Information about the requested builds.
[$sel:builds:BatchGetBuildsResponse'] :: BatchGetBuildsResponse -> Maybe [Build]
-- | The IDs of builds for which information could not be found.
[$sel:buildsNotFound:BatchGetBuildsResponse'] :: BatchGetBuildsResponse -> Maybe (NonEmpty Text)
-- | The response's http status code.
[$sel:httpStatus:BatchGetBuildsResponse'] :: BatchGetBuildsResponse -> Int
-- | Create a value of BatchGetBuildsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:builds:BatchGetBuildsResponse',
-- batchGetBuildsResponse_builds - Information about the requested
-- builds.
--
-- $sel:buildsNotFound:BatchGetBuildsResponse',
-- batchGetBuildsResponse_buildsNotFound - The IDs of builds for
-- which information could not be found.
--
-- $sel:httpStatus:BatchGetBuildsResponse',
-- batchGetBuildsResponse_httpStatus - The response's http status
-- code.
newBatchGetBuildsResponse :: Int -> BatchGetBuildsResponse
-- | Information about the requested builds.
batchGetBuildsResponse_builds :: Lens' BatchGetBuildsResponse (Maybe [Build])
-- | The IDs of builds for which information could not be found.
batchGetBuildsResponse_buildsNotFound :: Lens' BatchGetBuildsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
batchGetBuildsResponse_httpStatus :: Lens' BatchGetBuildsResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance GHC.Show.Show Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance GHC.Read.Read Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance GHC.Classes.Eq Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance GHC.Generics.Generic Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuildsResponse
instance GHC.Show.Show Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuildsResponse
instance GHC.Read.Read Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuildsResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuildsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance Control.DeepSeq.NFData Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuildsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance Control.DeepSeq.NFData Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.BatchGetBuilds.BatchGetBuilds
-- | Retrieves information about one or more batch builds.
module Amazonka.CodeBuild.BatchGetBuildBatches
-- | See: newBatchGetBuildBatches smart constructor.
data BatchGetBuildBatches
BatchGetBuildBatches' :: [Text] -> BatchGetBuildBatches
-- | An array that contains the batch build identifiers to retrieve.
[$sel:ids:BatchGetBuildBatches'] :: BatchGetBuildBatches -> [Text]
-- | Create a value of BatchGetBuildBatches with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ids:BatchGetBuildBatches', batchGetBuildBatches_ids
-- - An array that contains the batch build identifiers to retrieve.
newBatchGetBuildBatches :: BatchGetBuildBatches
-- | An array that contains the batch build identifiers to retrieve.
batchGetBuildBatches_ids :: Lens' BatchGetBuildBatches [Text]
-- | See: newBatchGetBuildBatchesResponse smart constructor.
data BatchGetBuildBatchesResponse
BatchGetBuildBatchesResponse' :: Maybe [BuildBatch] -> Maybe [Text] -> Int -> BatchGetBuildBatchesResponse
-- | An array of BuildBatch objects that represent the retrieved
-- batch builds.
[$sel:buildBatches:BatchGetBuildBatchesResponse'] :: BatchGetBuildBatchesResponse -> Maybe [BuildBatch]
-- | An array that contains the identifiers of any batch builds that are
-- not found.
[$sel:buildBatchesNotFound:BatchGetBuildBatchesResponse'] :: BatchGetBuildBatchesResponse -> Maybe [Text]
-- | The response's http status code.
[$sel:httpStatus:BatchGetBuildBatchesResponse'] :: BatchGetBuildBatchesResponse -> Int
-- | Create a value of BatchGetBuildBatchesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:buildBatches:BatchGetBuildBatchesResponse',
-- batchGetBuildBatchesResponse_buildBatches - An array of
-- BuildBatch objects that represent the retrieved batch builds.
--
-- $sel:buildBatchesNotFound:BatchGetBuildBatchesResponse',
-- batchGetBuildBatchesResponse_buildBatchesNotFound - An array
-- that contains the identifiers of any batch builds that are not found.
--
-- $sel:httpStatus:BatchGetBuildBatchesResponse',
-- batchGetBuildBatchesResponse_httpStatus - The response's http
-- status code.
newBatchGetBuildBatchesResponse :: Int -> BatchGetBuildBatchesResponse
-- | An array of BuildBatch objects that represent the retrieved
-- batch builds.
batchGetBuildBatchesResponse_buildBatches :: Lens' BatchGetBuildBatchesResponse (Maybe [BuildBatch])
-- | An array that contains the identifiers of any batch builds that are
-- not found.
batchGetBuildBatchesResponse_buildBatchesNotFound :: Lens' BatchGetBuildBatchesResponse (Maybe [Text])
-- | The response's http status code.
batchGetBuildBatchesResponse_httpStatus :: Lens' BatchGetBuildBatchesResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatches
instance GHC.Show.Show Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatches
instance GHC.Read.Read Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatches
instance GHC.Classes.Eq Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatches
instance GHC.Generics.Generic Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatchesResponse
instance GHC.Show.Show Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatchesResponse
instance GHC.Read.Read Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatchesResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatchesResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatches
instance Control.DeepSeq.NFData Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatchesResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatches
instance Control.DeepSeq.NFData Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatches
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatches
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatches
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatches
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.BatchGetBuildBatches.BatchGetBuildBatches
-- | Deletes one or more builds.
module Amazonka.CodeBuild.BatchDeleteBuilds
-- | See: newBatchDeleteBuilds smart constructor.
data BatchDeleteBuilds
BatchDeleteBuilds' :: NonEmpty Text -> BatchDeleteBuilds
-- | The IDs of the builds to delete.
[$sel:ids:BatchDeleteBuilds'] :: BatchDeleteBuilds -> NonEmpty Text
-- | Create a value of BatchDeleteBuilds with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ids:BatchDeleteBuilds', batchDeleteBuilds_ids - The
-- IDs of the builds to delete.
newBatchDeleteBuilds :: NonEmpty Text -> BatchDeleteBuilds
-- | The IDs of the builds to delete.
batchDeleteBuilds_ids :: Lens' BatchDeleteBuilds (NonEmpty Text)
-- | See: newBatchDeleteBuildsResponse smart constructor.
data BatchDeleteBuildsResponse
BatchDeleteBuildsResponse' :: Maybe (NonEmpty Text) -> Maybe [BuildNotDeleted] -> Int -> BatchDeleteBuildsResponse
-- | The IDs of the builds that were successfully deleted.
[$sel:buildsDeleted:BatchDeleteBuildsResponse'] :: BatchDeleteBuildsResponse -> Maybe (NonEmpty Text)
-- | Information about any builds that could not be successfully deleted.
[$sel:buildsNotDeleted:BatchDeleteBuildsResponse'] :: BatchDeleteBuildsResponse -> Maybe [BuildNotDeleted]
-- | The response's http status code.
[$sel:httpStatus:BatchDeleteBuildsResponse'] :: BatchDeleteBuildsResponse -> Int
-- | Create a value of BatchDeleteBuildsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:buildsDeleted:BatchDeleteBuildsResponse',
-- batchDeleteBuildsResponse_buildsDeleted - The IDs of the builds
-- that were successfully deleted.
--
-- $sel:buildsNotDeleted:BatchDeleteBuildsResponse',
-- batchDeleteBuildsResponse_buildsNotDeleted - Information about
-- any builds that could not be successfully deleted.
--
-- $sel:httpStatus:BatchDeleteBuildsResponse',
-- batchDeleteBuildsResponse_httpStatus - The response's http
-- status code.
newBatchDeleteBuildsResponse :: Int -> BatchDeleteBuildsResponse
-- | The IDs of the builds that were successfully deleted.
batchDeleteBuildsResponse_buildsDeleted :: Lens' BatchDeleteBuildsResponse (Maybe (NonEmpty Text))
-- | Information about any builds that could not be successfully deleted.
batchDeleteBuildsResponse_buildsNotDeleted :: Lens' BatchDeleteBuildsResponse (Maybe [BuildNotDeleted])
-- | The response's http status code.
batchDeleteBuildsResponse_httpStatus :: Lens' BatchDeleteBuildsResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance GHC.Show.Show Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance GHC.Read.Read Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance GHC.Classes.Eq Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance GHC.Generics.Generic Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuildsResponse
instance GHC.Show.Show Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuildsResponse
instance GHC.Read.Read Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuildsResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuildsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance Control.DeepSeq.NFData Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuildsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance Control.DeepSeq.NFData Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
-- | Changes the settings of a build project.
module Amazonka.CodeBuild.UpdateProject
-- | See: newUpdateProject smart constructor.
data UpdateProject
UpdateProject' :: Maybe ProjectArtifacts -> Maybe Bool -> Maybe ProjectBuildBatchConfig -> Maybe ProjectCache -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe ProjectEnvironment -> Maybe [ProjectFileSystemLocation] -> Maybe LogsConfig -> Maybe Natural -> Maybe [ProjectArtifacts] -> Maybe [ProjectSourceVersion] -> Maybe [ProjectSource] -> Maybe Text -> Maybe ProjectSource -> Maybe Text -> Maybe [Tag] -> Maybe Natural -> Maybe VpcConfig -> Text -> UpdateProject
-- | Information to be changed about the build output artifacts for the
-- build project.
[$sel:artifacts:UpdateProject'] :: UpdateProject -> Maybe ProjectArtifacts
-- | Set this to true to generate a publicly accessible URL for your
-- project's build badge.
[$sel:badgeEnabled:UpdateProject'] :: UpdateProject -> Maybe Bool
[$sel:buildBatchConfig:UpdateProject'] :: UpdateProject -> Maybe ProjectBuildBatchConfig
-- | Stores recently used information so that it can be quickly accessed at
-- a later time.
[$sel:cache:UpdateProject'] :: UpdateProject -> Maybe ProjectCache
-- | The maximum number of concurrent builds that are allowed for this
-- project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
--
-- To remove this limit, set this value to -1.
[$sel:concurrentBuildLimit:UpdateProject'] :: UpdateProject -> Maybe Int
-- | A new or replacement description of the build project.
[$sel:description:UpdateProject'] :: UpdateProject -> Maybe Text
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
[$sel:encryptionKey:UpdateProject'] :: UpdateProject -> Maybe Text
-- | Information to be changed about the build environment for the build
-- project.
[$sel:environment:UpdateProject'] :: UpdateProject -> Maybe ProjectEnvironment
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
[$sel:fileSystemLocations:UpdateProject'] :: UpdateProject -> Maybe [ProjectFileSystemLocation]
-- | Information about logs for the build project. A project can create
-- logs in CloudWatch Logs, logs in an S3 bucket, or both.
[$sel:logsConfig:UpdateProject'] :: UpdateProject -> Maybe LogsConfig
-- | The number of minutes a build is allowed to be queued before it times
-- out.
[$sel:queuedTimeoutInMinutes:UpdateProject'] :: UpdateProject -> Maybe Natural
-- | An array of ProjectArtifact objects.
[$sel:secondaryArtifacts:UpdateProject'] :: UpdateProject -> Maybe [ProjectArtifacts]
-- | An array of ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take over these secondarySourceVersions (at the project
-- level).
[$sel:secondarySourceVersions:UpdateProject'] :: UpdateProject -> Maybe [ProjectSourceVersion]
-- | An array of ProjectSource objects.
[$sel:secondarySources:UpdateProject'] :: UpdateProject -> Maybe [ProjectSource]
-- | The replacement ARN of the IAM role that enables CodeBuild to interact
-- with dependent Amazon Web Services services on behalf of the Amazon
-- Web Services account.
[$sel:serviceRole:UpdateProject'] :: UpdateProject -> Maybe Text
-- | Information to be changed about the build input source code for the
-- build project.
[$sel:source:UpdateProject'] :: UpdateProject -> Maybe ProjectSource
-- | A version of the build input to be built for this project. If not
-- specified, the latest version is used. If specified, it must be one
-- of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
[$sel:sourceVersion:UpdateProject'] :: UpdateProject -> Maybe Text
-- | An updated list of tag key and value pairs associated with this build
-- project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
[$sel:tags:UpdateProject'] :: UpdateProject -> Maybe [Tag]
-- | The replacement value in minutes, from 5 to 480 (8 hours), for
-- CodeBuild to wait before timing out any related build that did not get
-- marked as completed.
[$sel:timeoutInMinutes:UpdateProject'] :: UpdateProject -> Maybe Natural
-- | VpcConfig enables CodeBuild to access resources in an Amazon VPC.
[$sel:vpcConfig:UpdateProject'] :: UpdateProject -> Maybe VpcConfig
-- | The name of the build project.
--
-- You cannot change a build project's name.
[$sel:name:UpdateProject'] :: UpdateProject -> Text
-- | Create a value of UpdateProject with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateProject, updateProject_artifacts - Information to
-- be changed about the build output artifacts for the build project.
--
-- UpdateProject, updateProject_badgeEnabled - Set this to
-- true to generate a publicly accessible URL for your project's build
-- badge.
--
-- UpdateProject, updateProject_buildBatchConfig -
-- Undocumented member.
--
-- UpdateProject, updateProject_cache - Stores recently
-- used information so that it can be quickly accessed at a later time.
--
-- UpdateProject, updateProject_concurrentBuildLimit - The
-- maximum number of concurrent builds that are allowed for this project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
--
-- To remove this limit, set this value to -1.
--
-- UpdateProject, updateProject_description - A new or
-- replacement description of the build project.
--
-- UpdateProject, updateProject_encryptionKey - The Key
-- Management Service customer master key (CMK) to be used for encrypting
-- the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
--
-- UpdateProject, updateProject_environment - Information
-- to be changed about the build environment for the build project.
--
-- UpdateProject, updateProject_fileSystemLocations - An
-- array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
--
-- UpdateProject, updateProject_logsConfig - Information
-- about logs for the build project. A project can create logs in
-- CloudWatch Logs, logs in an S3 bucket, or both.
--
-- UpdateProject, updateProject_queuedTimeoutInMinutes -
-- The number of minutes a build is allowed to be queued before it times
-- out.
--
-- UpdateProject, updateProject_secondaryArtifacts - An
-- array of ProjectArtifact objects.
--
-- UpdateProject, updateProject_secondarySourceVersions -
-- An array of ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take over these secondarySourceVersions (at the project
-- level).
--
-- UpdateProject, updateProject_secondarySources - An array
-- of ProjectSource objects.
--
-- UpdateProject, updateProject_serviceRole - The
-- replacement ARN of the IAM role that enables CodeBuild to interact
-- with dependent Amazon Web Services services on behalf of the Amazon
-- Web Services account.
--
-- UpdateProject, updateProject_source - Information to be
-- changed about the build input source code for the build project.
--
-- UpdateProject, updateProject_sourceVersion - A version
-- of the build input to be built for this project. If not specified, the
-- latest version is used. If specified, it must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
--
-- UpdateProject, updateProject_tags - An updated list of
-- tag key and value pairs associated with this build project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
--
-- UpdateProject, updateProject_timeoutInMinutes - The
-- replacement value in minutes, from 5 to 480 (8 hours), for CodeBuild
-- to wait before timing out any related build that did not get marked as
-- completed.
--
-- UpdateProject, updateProject_vpcConfig - VpcConfig
-- enables CodeBuild to access resources in an Amazon VPC.
--
-- UpdateProject, updateProject_name - The name of the
-- build project.
--
-- You cannot change a build project's name.
newUpdateProject :: Text -> UpdateProject
-- | Information to be changed about the build output artifacts for the
-- build project.
updateProject_artifacts :: Lens' UpdateProject (Maybe ProjectArtifacts)
-- | Set this to true to generate a publicly accessible URL for your
-- project's build badge.
updateProject_badgeEnabled :: Lens' UpdateProject (Maybe Bool)
-- | Undocumented member.
updateProject_buildBatchConfig :: Lens' UpdateProject (Maybe ProjectBuildBatchConfig)
-- | Stores recently used information so that it can be quickly accessed at
-- a later time.
updateProject_cache :: Lens' UpdateProject (Maybe ProjectCache)
-- | The maximum number of concurrent builds that are allowed for this
-- project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
--
-- To remove this limit, set this value to -1.
updateProject_concurrentBuildLimit :: Lens' UpdateProject (Maybe Int)
-- | A new or replacement description of the build project.
updateProject_description :: Lens' UpdateProject (Maybe Text)
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
updateProject_encryptionKey :: Lens' UpdateProject (Maybe Text)
-- | Information to be changed about the build environment for the build
-- project.
updateProject_environment :: Lens' UpdateProject (Maybe ProjectEnvironment)
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
updateProject_fileSystemLocations :: Lens' UpdateProject (Maybe [ProjectFileSystemLocation])
-- | Information about logs for the build project. A project can create
-- logs in CloudWatch Logs, logs in an S3 bucket, or both.
updateProject_logsConfig :: Lens' UpdateProject (Maybe LogsConfig)
-- | The number of minutes a build is allowed to be queued before it times
-- out.
updateProject_queuedTimeoutInMinutes :: Lens' UpdateProject (Maybe Natural)
-- | An array of ProjectArtifact objects.
updateProject_secondaryArtifacts :: Lens' UpdateProject (Maybe [ProjectArtifacts])
-- | An array of ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take over these secondarySourceVersions (at the project
-- level).
updateProject_secondarySourceVersions :: Lens' UpdateProject (Maybe [ProjectSourceVersion])
-- | An array of ProjectSource objects.
updateProject_secondarySources :: Lens' UpdateProject (Maybe [ProjectSource])
-- | The replacement ARN of the IAM role that enables CodeBuild to interact
-- with dependent Amazon Web Services services on behalf of the Amazon
-- Web Services account.
updateProject_serviceRole :: Lens' UpdateProject (Maybe Text)
-- | Information to be changed about the build input source code for the
-- build project.
updateProject_source :: Lens' UpdateProject (Maybe ProjectSource)
-- | A version of the build input to be built for this project. If not
-- specified, the latest version is used. If specified, it must be one
-- of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
updateProject_sourceVersion :: Lens' UpdateProject (Maybe Text)
-- | An updated list of tag key and value pairs associated with this build
-- project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
updateProject_tags :: Lens' UpdateProject (Maybe [Tag])
-- | The replacement value in minutes, from 5 to 480 (8 hours), for
-- CodeBuild to wait before timing out any related build that did not get
-- marked as completed.
updateProject_timeoutInMinutes :: Lens' UpdateProject (Maybe Natural)
-- | VpcConfig enables CodeBuild to access resources in an Amazon VPC.
updateProject_vpcConfig :: Lens' UpdateProject (Maybe VpcConfig)
-- | The name of the build project.
--
-- You cannot change a build project's name.
updateProject_name :: Lens' UpdateProject Text
-- | See: newUpdateProjectResponse smart constructor.
data UpdateProjectResponse
UpdateProjectResponse' :: Maybe Project -> Int -> UpdateProjectResponse
-- | Information about the build project that was changed.
[$sel:project:UpdateProjectResponse'] :: UpdateProjectResponse -> Maybe Project
-- | The response's http status code.
[$sel:httpStatus:UpdateProjectResponse'] :: UpdateProjectResponse -> Int
-- | Create a value of UpdateProjectResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:project:UpdateProjectResponse',
-- updateProjectResponse_project - Information about the build
-- project that was changed.
--
-- $sel:httpStatus:UpdateProjectResponse',
-- updateProjectResponse_httpStatus - The response's http status
-- code.
newUpdateProjectResponse :: Int -> UpdateProjectResponse
-- | Information about the build project that was changed.
updateProjectResponse_project :: Lens' UpdateProjectResponse (Maybe Project)
-- | The response's http status code.
updateProjectResponse_httpStatus :: Lens' UpdateProjectResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.UpdateProject.UpdateProject
instance GHC.Show.Show Amazonka.CodeBuild.UpdateProject.UpdateProject
instance GHC.Read.Read Amazonka.CodeBuild.UpdateProject.UpdateProject
instance GHC.Classes.Eq Amazonka.CodeBuild.UpdateProject.UpdateProject
instance GHC.Generics.Generic Amazonka.CodeBuild.UpdateProject.UpdateProjectResponse
instance GHC.Show.Show Amazonka.CodeBuild.UpdateProject.UpdateProjectResponse
instance GHC.Read.Read Amazonka.CodeBuild.UpdateProject.UpdateProjectResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.UpdateProject.UpdateProjectResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.UpdateProject.UpdateProject
instance Control.DeepSeq.NFData Amazonka.CodeBuild.UpdateProject.UpdateProjectResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.UpdateProject.UpdateProject
instance Control.DeepSeq.NFData Amazonka.CodeBuild.UpdateProject.UpdateProject
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.UpdateProject.UpdateProject
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.UpdateProject.UpdateProject
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.UpdateProject.UpdateProject
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.UpdateProject.UpdateProject
-- | Changes the public visibility for a project. The project's build
-- results, logs, and artifacts are available to the general public. For
-- more information, see Public build projects in the CodeBuild
-- User Guide.
--
-- The following should be kept in mind when making your projects public:
--
--
-- - All of a project's build results, logs, and artifacts, including
-- builds that were run when the project was private, are available to
-- the general public.
-- - All build logs and artifacts are available to the public.
-- Environment variables, source code, and other sensitive information
-- may have been output to the build logs and artifacts. You must be
-- careful about what information is output to the build logs. Some best
-- practice are:
- Do not store sensitive values, especially Amazon
-- Web Services access key IDs and secret access keys, in environment
-- variables. We recommend that you use an Amazon EC2 Systems Manager
-- Parameter Store or Secrets Manager to store sensitive
-- values.
- Follow Best practices for using webhooks in the
-- CodeBuild User Guide to limit which entities can trigger a
-- build, and do not store the buildspec in the project itself, to ensure
-- that your webhooks are as secure as possible.
-- - A malicious user can use public builds to distribute malicious
-- artifacts. We recommend that you review all pull requests to verify
-- that the pull request is a legitimate change. We also recommend that
-- you validate any artifacts with their checksums to make sure that the
-- correct artifacts are being downloaded.
--
module Amazonka.CodeBuild.UpdateProjectVisibility
-- | See: newUpdateProjectVisibility smart constructor.
data UpdateProjectVisibility
UpdateProjectVisibility' :: Maybe Text -> Text -> ProjectVisibilityType -> UpdateProjectVisibility
-- | The ARN of the IAM role that enables CodeBuild to access the
-- CloudWatch Logs and Amazon S3 artifacts for the project's builds.
[$sel:resourceAccessRole:UpdateProjectVisibility'] :: UpdateProjectVisibility -> Maybe Text
-- | The Amazon Resource Name (ARN) of the build project.
[$sel:projectArn:UpdateProjectVisibility'] :: UpdateProjectVisibility -> Text
[$sel:projectVisibility:UpdateProjectVisibility'] :: UpdateProjectVisibility -> ProjectVisibilityType
-- | Create a value of UpdateProjectVisibility with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateProjectVisibility,
-- updateProjectVisibility_resourceAccessRole - The ARN of the IAM
-- role that enables CodeBuild to access the CloudWatch Logs and Amazon
-- S3 artifacts for the project's builds.
--
-- UpdateProjectVisibility,
-- updateProjectVisibility_projectArn - The Amazon Resource Name
-- (ARN) of the build project.
--
-- UpdateProjectVisibility,
-- updateProjectVisibility_projectVisibility - Undocumented
-- member.
newUpdateProjectVisibility :: Text -> ProjectVisibilityType -> UpdateProjectVisibility
-- | The ARN of the IAM role that enables CodeBuild to access the
-- CloudWatch Logs and Amazon S3 artifacts for the project's builds.
updateProjectVisibility_resourceAccessRole :: Lens' UpdateProjectVisibility (Maybe Text)
-- | The Amazon Resource Name (ARN) of the build project.
updateProjectVisibility_projectArn :: Lens' UpdateProjectVisibility Text
-- | Undocumented member.
updateProjectVisibility_projectVisibility :: Lens' UpdateProjectVisibility ProjectVisibilityType
-- | See: newUpdateProjectVisibilityResponse smart
-- constructor.
data UpdateProjectVisibilityResponse
UpdateProjectVisibilityResponse' :: Maybe Text -> Maybe ProjectVisibilityType -> Maybe Text -> Int -> UpdateProjectVisibilityResponse
-- | The Amazon Resource Name (ARN) of the build project.
[$sel:projectArn:UpdateProjectVisibilityResponse'] :: UpdateProjectVisibilityResponse -> Maybe Text
[$sel:projectVisibility:UpdateProjectVisibilityResponse'] :: UpdateProjectVisibilityResponse -> Maybe ProjectVisibilityType
-- | Contains the project identifier used with the public build APIs.
[$sel:publicProjectAlias:UpdateProjectVisibilityResponse'] :: UpdateProjectVisibilityResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:UpdateProjectVisibilityResponse'] :: UpdateProjectVisibilityResponse -> Int
-- | Create a value of UpdateProjectVisibilityResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateProjectVisibility,
-- updateProjectVisibilityResponse_projectArn - The Amazon
-- Resource Name (ARN) of the build project.
--
-- UpdateProjectVisibility,
-- updateProjectVisibilityResponse_projectVisibility -
-- Undocumented member.
--
-- UpdateProjectVisibilityResponse,
-- updateProjectVisibilityResponse_publicProjectAlias - Contains
-- the project identifier used with the public build APIs.
--
-- $sel:httpStatus:UpdateProjectVisibilityResponse',
-- updateProjectVisibilityResponse_httpStatus - The response's
-- http status code.
newUpdateProjectVisibilityResponse :: Int -> UpdateProjectVisibilityResponse
-- | The Amazon Resource Name (ARN) of the build project.
updateProjectVisibilityResponse_projectArn :: Lens' UpdateProjectVisibilityResponse (Maybe Text)
-- | Undocumented member.
updateProjectVisibilityResponse_projectVisibility :: Lens' UpdateProjectVisibilityResponse (Maybe ProjectVisibilityType)
-- | Contains the project identifier used with the public build APIs.
updateProjectVisibilityResponse_publicProjectAlias :: Lens' UpdateProjectVisibilityResponse (Maybe Text)
-- | The response's http status code.
updateProjectVisibilityResponse_httpStatus :: Lens' UpdateProjectVisibilityResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibility
instance GHC.Show.Show Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibility
instance GHC.Read.Read Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibility
instance GHC.Classes.Eq Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibility
instance GHC.Generics.Generic Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibilityResponse
instance GHC.Show.Show Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibilityResponse
instance GHC.Read.Read Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibilityResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibilityResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibility
instance Control.DeepSeq.NFData Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibilityResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibility
instance Control.DeepSeq.NFData Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibility
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibility
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibility
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibility
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.UpdateProjectVisibility.UpdateProjectVisibility
-- | Updates a report group.
module Amazonka.CodeBuild.UpdateReportGroup
-- | See: newUpdateReportGroup smart constructor.
data UpdateReportGroup
UpdateReportGroup' :: Maybe ReportExportConfig -> Maybe [Tag] -> Text -> UpdateReportGroup
-- | Used to specify an updated export type. Valid values are:
--
--
-- - S3: The report results are exported to an S3 bucket.
-- - NO_EXPORT: The report results are not exported.
--
[$sel:exportConfig:UpdateReportGroup'] :: UpdateReportGroup -> Maybe ReportExportConfig
-- | An updated list of tag key and value pairs associated with this report
-- group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
[$sel:tags:UpdateReportGroup'] :: UpdateReportGroup -> Maybe [Tag]
-- | The ARN of the report group to update.
[$sel:arn:UpdateReportGroup'] :: UpdateReportGroup -> Text
-- | Create a value of UpdateReportGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateReportGroup, updateReportGroup_exportConfig - Used
-- to specify an updated export type. Valid values are:
--
--
-- - S3: The report results are exported to an S3 bucket.
-- - NO_EXPORT: The report results are not exported.
--
--
-- UpdateReportGroup, updateReportGroup_tags - An updated
-- list of tag key and value pairs associated with this report group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
--
-- UpdateReportGroup, updateReportGroup_arn - The ARN of
-- the report group to update.
newUpdateReportGroup :: Text -> UpdateReportGroup
-- | Used to specify an updated export type. Valid values are:
--
--
-- - S3: The report results are exported to an S3 bucket.
-- - NO_EXPORT: The report results are not exported.
--
updateReportGroup_exportConfig :: Lens' UpdateReportGroup (Maybe ReportExportConfig)
-- | An updated list of tag key and value pairs associated with this report
-- group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
updateReportGroup_tags :: Lens' UpdateReportGroup (Maybe [Tag])
-- | The ARN of the report group to update.
updateReportGroup_arn :: Lens' UpdateReportGroup Text
-- | See: newUpdateReportGroupResponse smart constructor.
data UpdateReportGroupResponse
UpdateReportGroupResponse' :: Maybe ReportGroup -> Int -> UpdateReportGroupResponse
-- | Information about the updated report group.
[$sel:reportGroup:UpdateReportGroupResponse'] :: UpdateReportGroupResponse -> Maybe ReportGroup
-- | The response's http status code.
[$sel:httpStatus:UpdateReportGroupResponse'] :: UpdateReportGroupResponse -> Int
-- | Create a value of UpdateReportGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:reportGroup:UpdateReportGroupResponse',
-- updateReportGroupResponse_reportGroup - Information about the
-- updated report group.
--
-- $sel:httpStatus:UpdateReportGroupResponse',
-- updateReportGroupResponse_httpStatus - The response's http
-- status code.
newUpdateReportGroupResponse :: Int -> UpdateReportGroupResponse
-- | Information about the updated report group.
updateReportGroupResponse_reportGroup :: Lens' UpdateReportGroupResponse (Maybe ReportGroup)
-- | The response's http status code.
updateReportGroupResponse_httpStatus :: Lens' UpdateReportGroupResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroup
instance GHC.Show.Show Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroup
instance GHC.Read.Read Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroup
instance GHC.Classes.Eq Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroup
instance GHC.Generics.Generic Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroupResponse
instance GHC.Show.Show Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroupResponse
instance GHC.Read.Read Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroupResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroup
instance Control.DeepSeq.NFData Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroup
instance Control.DeepSeq.NFData Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroup
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroup
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.UpdateReportGroup.UpdateReportGroup
-- | Updates the webhook associated with an CodeBuild build project.
--
-- If you use Bitbucket for your repository, rotateSecret is
-- ignored.
module Amazonka.CodeBuild.UpdateWebhook
-- | See: newUpdateWebhook smart constructor.
data UpdateWebhook
UpdateWebhook' :: Maybe Text -> Maybe WebhookBuildType -> Maybe [[WebhookFilter]] -> Maybe Bool -> Text -> UpdateWebhook
-- | A regular expression used to determine which repository branches are
-- built when a webhook is triggered. If the name of a branch matches the
-- regular expression, then it is built. If branchFilter is
-- empty, then all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
[$sel:branchFilter:UpdateWebhook'] :: UpdateWebhook -> Maybe Text
-- | Specifies the type of build this webhook will trigger.
[$sel:buildType:UpdateWebhook'] :: UpdateWebhook -> Maybe WebhookBuildType
-- | An array of arrays of WebhookFilter objects used to determine
-- if a webhook event can trigger a build. A filter group must contain at
-- least one EVENT WebhookFilter.
[$sel:filterGroups:UpdateWebhook'] :: UpdateWebhook -> Maybe [[WebhookFilter]]
-- | A boolean value that specifies whether the associated GitHub
-- repository's secret token should be updated. If you use Bitbucket for
-- your repository, rotateSecret is ignored.
[$sel:rotateSecret:UpdateWebhook'] :: UpdateWebhook -> Maybe Bool
-- | The name of the CodeBuild project.
[$sel:projectName:UpdateWebhook'] :: UpdateWebhook -> Text
-- | Create a value of UpdateWebhook with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateWebhook, updateWebhook_branchFilter - A regular
-- expression used to determine which repository branches are built when
-- a webhook is triggered. If the name of a branch matches the regular
-- expression, then it is built. If branchFilter is empty, then
-- all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
--
-- UpdateWebhook, updateWebhook_buildType - Specifies the
-- type of build this webhook will trigger.
--
-- UpdateWebhook, updateWebhook_filterGroups - An array of
-- arrays of WebhookFilter objects used to determine if a
-- webhook event can trigger a build. A filter group must contain at
-- least one EVENT WebhookFilter.
--
-- $sel:rotateSecret:UpdateWebhook',
-- updateWebhook_rotateSecret - A boolean value that specifies
-- whether the associated GitHub repository's secret token should be
-- updated. If you use Bitbucket for your repository,
-- rotateSecret is ignored.
--
-- UpdateWebhook, updateWebhook_projectName - The name of
-- the CodeBuild project.
newUpdateWebhook :: Text -> UpdateWebhook
-- | A regular expression used to determine which repository branches are
-- built when a webhook is triggered. If the name of a branch matches the
-- regular expression, then it is built. If branchFilter is
-- empty, then all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
updateWebhook_branchFilter :: Lens' UpdateWebhook (Maybe Text)
-- | Specifies the type of build this webhook will trigger.
updateWebhook_buildType :: Lens' UpdateWebhook (Maybe WebhookBuildType)
-- | An array of arrays of WebhookFilter objects used to determine
-- if a webhook event can trigger a build. A filter group must contain at
-- least one EVENT WebhookFilter.
updateWebhook_filterGroups :: Lens' UpdateWebhook (Maybe [[WebhookFilter]])
-- | A boolean value that specifies whether the associated GitHub
-- repository's secret token should be updated. If you use Bitbucket for
-- your repository, rotateSecret is ignored.
updateWebhook_rotateSecret :: Lens' UpdateWebhook (Maybe Bool)
-- | The name of the CodeBuild project.
updateWebhook_projectName :: Lens' UpdateWebhook Text
-- | See: newUpdateWebhookResponse smart constructor.
data UpdateWebhookResponse
UpdateWebhookResponse' :: Maybe Webhook -> Int -> UpdateWebhookResponse
-- | Information about a repository's webhook that is associated with a
-- project in CodeBuild.
[$sel:webhook:UpdateWebhookResponse'] :: UpdateWebhookResponse -> Maybe Webhook
-- | The response's http status code.
[$sel:httpStatus:UpdateWebhookResponse'] :: UpdateWebhookResponse -> Int
-- | Create a value of UpdateWebhookResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateWebhookResponse, updateWebhookResponse_webhook -
-- Information about a repository's webhook that is associated with a
-- project in CodeBuild.
--
-- $sel:httpStatus:UpdateWebhookResponse',
-- updateWebhookResponse_httpStatus - The response's http status
-- code.
newUpdateWebhookResponse :: Int -> UpdateWebhookResponse
-- | Information about a repository's webhook that is associated with a
-- project in CodeBuild.
updateWebhookResponse_webhook :: Lens' UpdateWebhookResponse (Maybe Webhook)
-- | The response's http status code.
updateWebhookResponse_httpStatus :: Lens' UpdateWebhookResponse Int
instance GHC.Generics.Generic Amazonka.CodeBuild.UpdateWebhook.UpdateWebhook
instance GHC.Show.Show Amazonka.CodeBuild.UpdateWebhook.UpdateWebhook
instance GHC.Read.Read Amazonka.CodeBuild.UpdateWebhook.UpdateWebhook
instance GHC.Classes.Eq Amazonka.CodeBuild.UpdateWebhook.UpdateWebhook
instance GHC.Generics.Generic Amazonka.CodeBuild.UpdateWebhook.UpdateWebhookResponse
instance GHC.Show.Show Amazonka.CodeBuild.UpdateWebhook.UpdateWebhookResponse
instance GHC.Read.Read Amazonka.CodeBuild.UpdateWebhook.UpdateWebhookResponse
instance GHC.Classes.Eq Amazonka.CodeBuild.UpdateWebhook.UpdateWebhookResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeBuild.UpdateWebhook.UpdateWebhook
instance Control.DeepSeq.NFData Amazonka.CodeBuild.UpdateWebhook.UpdateWebhookResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeBuild.UpdateWebhook.UpdateWebhook
instance Control.DeepSeq.NFData Amazonka.CodeBuild.UpdateWebhook.UpdateWebhook
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeBuild.UpdateWebhook.UpdateWebhook
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeBuild.UpdateWebhook.UpdateWebhook
instance Amazonka.Data.Path.ToPath Amazonka.CodeBuild.UpdateWebhook.UpdateWebhook
instance Amazonka.Data.Query.ToQuery Amazonka.CodeBuild.UpdateWebhook.UpdateWebhook
module Amazonka.CodeBuild.Lens
-- | The IDs of the builds to delete.
batchDeleteBuilds_ids :: Lens' BatchDeleteBuilds (NonEmpty Text)
-- | The IDs of the builds that were successfully deleted.
batchDeleteBuildsResponse_buildsDeleted :: Lens' BatchDeleteBuildsResponse (Maybe (NonEmpty Text))
-- | Information about any builds that could not be successfully deleted.
batchDeleteBuildsResponse_buildsNotDeleted :: Lens' BatchDeleteBuildsResponse (Maybe [BuildNotDeleted])
-- | The response's http status code.
batchDeleteBuildsResponse_httpStatus :: Lens' BatchDeleteBuildsResponse Int
-- | An array that contains the batch build identifiers to retrieve.
batchGetBuildBatches_ids :: Lens' BatchGetBuildBatches [Text]
-- | An array of BuildBatch objects that represent the retrieved
-- batch builds.
batchGetBuildBatchesResponse_buildBatches :: Lens' BatchGetBuildBatchesResponse (Maybe [BuildBatch])
-- | An array that contains the identifiers of any batch builds that are
-- not found.
batchGetBuildBatchesResponse_buildBatchesNotFound :: Lens' BatchGetBuildBatchesResponse (Maybe [Text])
-- | The response's http status code.
batchGetBuildBatchesResponse_httpStatus :: Lens' BatchGetBuildBatchesResponse Int
-- | The IDs of the builds.
batchGetBuilds_ids :: Lens' BatchGetBuilds (NonEmpty Text)
-- | Information about the requested builds.
batchGetBuildsResponse_builds :: Lens' BatchGetBuildsResponse (Maybe [Build])
-- | The IDs of builds for which information could not be found.
batchGetBuildsResponse_buildsNotFound :: Lens' BatchGetBuildsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
batchGetBuildsResponse_httpStatus :: Lens' BatchGetBuildsResponse Int
-- | The names or ARNs of the build projects. To get information about a
-- project shared with your Amazon Web Services account, its ARN must be
-- specified. You cannot specify a shared project using its name.
batchGetProjects_names :: Lens' BatchGetProjects (NonEmpty Text)
-- | Information about the requested build projects.
batchGetProjectsResponse_projects :: Lens' BatchGetProjectsResponse (Maybe [Project])
-- | The names of build projects for which information could not be found.
batchGetProjectsResponse_projectsNotFound :: Lens' BatchGetProjectsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
batchGetProjectsResponse_httpStatus :: Lens' BatchGetProjectsResponse Int
-- | An array of report group ARNs that identify the report groups to
-- return.
batchGetReportGroups_reportGroupArns :: Lens' BatchGetReportGroups (NonEmpty Text)
-- | The array of report groups returned by BatchGetReportGroups.
batchGetReportGroupsResponse_reportGroups :: Lens' BatchGetReportGroupsResponse (Maybe (NonEmpty ReportGroup))
-- | An array of ARNs passed to BatchGetReportGroups that are not
-- associated with a ReportGroup.
batchGetReportGroupsResponse_reportGroupsNotFound :: Lens' BatchGetReportGroupsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
batchGetReportGroupsResponse_httpStatus :: Lens' BatchGetReportGroupsResponse Int
-- | An array of ARNs that identify the Report objects to return.
batchGetReports_reportArns :: Lens' BatchGetReports (NonEmpty Text)
-- | The array of Report objects returned by
-- BatchGetReports.
batchGetReportsResponse_reports :: Lens' BatchGetReportsResponse (Maybe (NonEmpty Report))
-- | An array of ARNs passed to BatchGetReportGroups that are not
-- associated with a Report.
batchGetReportsResponse_reportsNotFound :: Lens' BatchGetReportsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
batchGetReportsResponse_httpStatus :: Lens' BatchGetReportsResponse Int
-- | Set this to true to generate a publicly accessible URL for your
-- project's build badge.
createProject_badgeEnabled :: Lens' CreateProject (Maybe Bool)
-- | A ProjectBuildBatchConfig object that defines the batch build options
-- for the project.
createProject_buildBatchConfig :: Lens' CreateProject (Maybe ProjectBuildBatchConfig)
-- | Stores recently used information so that it can be quickly accessed at
-- a later time.
createProject_cache :: Lens' CreateProject (Maybe ProjectCache)
-- | The maximum number of concurrent builds that are allowed for this
-- project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
createProject_concurrentBuildLimit :: Lens' CreateProject (Maybe Int)
-- | A description that makes the build project easy to identify.
createProject_description :: Lens' CreateProject (Maybe Text)
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
createProject_encryptionKey :: Lens' CreateProject (Maybe Text)
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
createProject_fileSystemLocations :: Lens' CreateProject (Maybe [ProjectFileSystemLocation])
-- | Information about logs for the build project. These can be logs in
-- CloudWatch Logs, logs uploaded to a specified S3 bucket, or both.
createProject_logsConfig :: Lens' CreateProject (Maybe LogsConfig)
-- | The number of minutes a build is allowed to be queued before it times
-- out.
createProject_queuedTimeoutInMinutes :: Lens' CreateProject (Maybe Natural)
-- | An array of ProjectArtifacts objects.
createProject_secondaryArtifacts :: Lens' CreateProject (Maybe [ProjectArtifacts])
-- | An array of ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take precedence over these secondarySourceVersions (at
-- the project level).
createProject_secondarySourceVersions :: Lens' CreateProject (Maybe [ProjectSourceVersion])
-- | An array of ProjectSource objects.
createProject_secondarySources :: Lens' CreateProject (Maybe [ProjectSource])
-- | A version of the build input to be built for this project. If not
-- specified, the latest version is used. If specified, it must be one
-- of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
createProject_sourceVersion :: Lens' CreateProject (Maybe Text)
-- | A list of tag key and value pairs associated with this build project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
createProject_tags :: Lens' CreateProject (Maybe [Tag])
-- | How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
-- before it times out any build that has not been marked as completed.
-- The default is 60 minutes.
createProject_timeoutInMinutes :: Lens' CreateProject (Maybe Natural)
-- | VpcConfig enables CodeBuild to access resources in an Amazon VPC.
createProject_vpcConfig :: Lens' CreateProject (Maybe VpcConfig)
-- | The name of the build project.
createProject_name :: Lens' CreateProject Text
-- | Information about the build input source code for the build project.
createProject_source :: Lens' CreateProject ProjectSource
-- | Information about the build output artifacts for the build project.
createProject_artifacts :: Lens' CreateProject ProjectArtifacts
-- | Information about the build environment for the build project.
createProject_environment :: Lens' CreateProject ProjectEnvironment
-- | The ARN of the IAM role that enables CodeBuild to interact with
-- dependent Amazon Web Services services on behalf of the Amazon Web
-- Services account.
createProject_serviceRole :: Lens' CreateProject Text
-- | Information about the build project that was created.
createProjectResponse_project :: Lens' CreateProjectResponse (Maybe Project)
-- | The response's http status code.
createProjectResponse_httpStatus :: Lens' CreateProjectResponse Int
-- | A list of tag key and value pairs associated with this report group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
createReportGroup_tags :: Lens' CreateReportGroup (Maybe [Tag])
-- | The name of the report group.
createReportGroup_name :: Lens' CreateReportGroup Text
-- | The type of report group.
createReportGroup_type :: Lens' CreateReportGroup ReportType
-- | A ReportExportConfig object that contains information about
-- where the report group test results are exported.
createReportGroup_exportConfig :: Lens' CreateReportGroup ReportExportConfig
-- | Information about the report group that was created.
createReportGroupResponse_reportGroup :: Lens' CreateReportGroupResponse (Maybe ReportGroup)
-- | The response's http status code.
createReportGroupResponse_httpStatus :: Lens' CreateReportGroupResponse Int
-- | A regular expression used to determine which repository branches are
-- built when a webhook is triggered. If the name of a branch matches the
-- regular expression, then it is built. If branchFilter is
-- empty, then all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
createWebhook_branchFilter :: Lens' CreateWebhook (Maybe Text)
-- | Specifies the type of build this webhook will trigger.
createWebhook_buildType :: Lens' CreateWebhook (Maybe WebhookBuildType)
-- | An array of arrays of WebhookFilter objects used to determine
-- which webhooks are triggered. At least one WebhookFilter in
-- the array must specify EVENT as its type.
--
-- For a build to be triggered, at least one filter group in the
-- filterGroups array must pass. For a filter group to pass,
-- each of its filters must pass.
createWebhook_filterGroups :: Lens' CreateWebhook (Maybe [[WebhookFilter]])
-- | The name of the CodeBuild project.
createWebhook_projectName :: Lens' CreateWebhook Text
-- | Information about a webhook that connects repository events to a build
-- project in CodeBuild.
createWebhookResponse_webhook :: Lens' CreateWebhookResponse (Maybe Webhook)
-- | The response's http status code.
createWebhookResponse_httpStatus :: Lens' CreateWebhookResponse Int
-- | The identifier of the batch build to delete.
deleteBuildBatch_id :: Lens' DeleteBuildBatch Text
-- | An array of strings that contain the identifiers of the builds that
-- were deleted.
deleteBuildBatchResponse_buildsDeleted :: Lens' DeleteBuildBatchResponse (Maybe (NonEmpty Text))
-- | An array of BuildNotDeleted objects that specify the builds
-- that could not be deleted.
deleteBuildBatchResponse_buildsNotDeleted :: Lens' DeleteBuildBatchResponse (Maybe [BuildNotDeleted])
-- | The status code.
deleteBuildBatchResponse_statusCode :: Lens' DeleteBuildBatchResponse (Maybe Text)
-- | The response's http status code.
deleteBuildBatchResponse_httpStatus :: Lens' DeleteBuildBatchResponse Int
-- | The name of the build project.
deleteProject_name :: Lens' DeleteProject Text
-- | The response's http status code.
deleteProjectResponse_httpStatus :: Lens' DeleteProjectResponse Int
-- | The ARN of the report to delete.
deleteReport_arn :: Lens' DeleteReport Text
-- | The response's http status code.
deleteReportResponse_httpStatus :: Lens' DeleteReportResponse Int
-- | If true, deletes any reports that belong to a report group
-- before deleting the report group.
--
-- If false, you must delete any reports in the report group.
-- Use ListReportsForReportGroup to get the reports in a report
-- group. Use DeleteReport to delete the reports. If you call
-- DeleteReportGroup for a report group that contains one or
-- more reports, an exception is thrown.
deleteReportGroup_deleteReports :: Lens' DeleteReportGroup (Maybe Bool)
-- | The ARN of the report group to delete.
deleteReportGroup_arn :: Lens' DeleteReportGroup Text
-- | The response's http status code.
deleteReportGroupResponse_httpStatus :: Lens' DeleteReportGroupResponse Int
-- | The ARN of the resource that is associated with the resource policy.
deleteResourcePolicy_resourceArn :: Lens' DeleteResourcePolicy Text
-- | The response's http status code.
deleteResourcePolicyResponse_httpStatus :: Lens' DeleteResourcePolicyResponse Int
-- | The Amazon Resource Name (ARN) of the token.
deleteSourceCredentials_arn :: Lens' DeleteSourceCredentials Text
-- | The Amazon Resource Name (ARN) of the token.
deleteSourceCredentialsResponse_arn :: Lens' DeleteSourceCredentialsResponse (Maybe Text)
-- | The response's http status code.
deleteSourceCredentialsResponse_httpStatus :: Lens' DeleteSourceCredentialsResponse Int
-- | The name of the CodeBuild project.
deleteWebhook_projectName :: Lens' DeleteWebhook Text
-- | The response's http status code.
deleteWebhookResponse_httpStatus :: Lens' DeleteWebhookResponse Int
-- | The maximum line coverage percentage to report.
describeCodeCoverages_maxLineCoveragePercentage :: Lens' DescribeCodeCoverages (Maybe Double)
-- | The maximum number of results to return.
describeCodeCoverages_maxResults :: Lens' DescribeCodeCoverages (Maybe Natural)
-- | The minimum line coverage percentage to report.
describeCodeCoverages_minLineCoveragePercentage :: Lens' DescribeCodeCoverages (Maybe Double)
-- | The nextToken value returned from a previous call to
-- DescribeCodeCoverages. This specifies the next item to
-- return. To return the beginning of the list, exclude this parameter.
describeCodeCoverages_nextToken :: Lens' DescribeCodeCoverages (Maybe Text)
-- | Specifies how the results are sorted. Possible values are:
--
--
-- - FILE_PATH The results are sorted by file path.
-- - LINE_COVERAGE_PERCENTAGE The results are sorted by the
-- percentage of lines that are covered.
--
describeCodeCoverages_sortBy :: Lens' DescribeCodeCoverages (Maybe ReportCodeCoverageSortByType)
-- | Specifies if the results are sorted in ascending or descending order.
describeCodeCoverages_sortOrder :: Lens' DescribeCodeCoverages (Maybe SortOrderType)
-- | The ARN of the report for which test cases are returned.
describeCodeCoverages_reportArn :: Lens' DescribeCodeCoverages Text
-- | An array of CodeCoverage objects that contain the results.
describeCodeCoveragesResponse_codeCoverages :: Lens' DescribeCodeCoveragesResponse (Maybe [CodeCoverage])
-- | If there are more items to return, this contains a token that is
-- passed to a subsequent call to DescribeCodeCoverages to
-- retrieve the next set of items.
describeCodeCoveragesResponse_nextToken :: Lens' DescribeCodeCoveragesResponse (Maybe Text)
-- | The response's http status code.
describeCodeCoveragesResponse_httpStatus :: Lens' DescribeCodeCoveragesResponse Int
-- | A TestCaseFilter object used to filter the returned reports.
describeTestCases_filter :: Lens' DescribeTestCases (Maybe TestCaseFilter)
-- | The maximum number of paginated test cases returned per response. Use
-- nextToken to iterate pages in the list of returned
-- TestCase objects. The default value is 100.
describeTestCases_maxResults :: Lens' DescribeTestCases (Maybe Natural)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
describeTestCases_nextToken :: Lens' DescribeTestCases (Maybe Text)
-- | The ARN of the report for which test cases are returned.
describeTestCases_reportArn :: Lens' DescribeTestCases Text
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
describeTestCasesResponse_nextToken :: Lens' DescribeTestCasesResponse (Maybe Text)
-- | The returned list of test cases.
describeTestCasesResponse_testCases :: Lens' DescribeTestCasesResponse (Maybe [TestCase])
-- | The response's http status code.
describeTestCasesResponse_httpStatus :: Lens' DescribeTestCasesResponse Int
-- | The number of reports to analyze. This operation always retrieves the
-- most recent reports.
--
-- If this parameter is omitted, the most recent 100 reports are
-- analyzed.
getReportGroupTrend_numOfReports :: Lens' GetReportGroupTrend (Maybe Natural)
-- | The ARN of the report group that contains the reports to analyze.
getReportGroupTrend_reportGroupArn :: Lens' GetReportGroupTrend Text
-- | The test report value to accumulate. This must be one of the following
-- values:
--
--
-- - Test reports:
-- - DURATION Accumulate the test run times for the specified
-- reports.
- PASS_RATE Accumulate the percentage of tests
-- that passed for the specified test reports.
- TOTAL
-- Accumulate the total number of tests for the specified test
-- reports.
-- - Code coverage reports:
-- - BRANCH_COVERAGE Accumulate the branch coverage percentages
-- for the specified test reports.
- BRANCHES_COVERED
-- Accumulate the branches covered values for the specified test
-- reports.
- BRANCHES_MISSED Accumulate the branches missed
-- values for the specified test reports.
- LINE_COVERAGE
-- Accumulate the line coverage percentages for the specified test
-- reports.
- LINES_COVERED Accumulate the lines covered
-- values for the specified test reports.
- LINES_MISSED
-- Accumulate the lines not covered values for the specified test
-- reports.
--
getReportGroupTrend_trendField :: Lens' GetReportGroupTrend ReportGroupTrendFieldType
-- | An array that contains the raw data for each report.
getReportGroupTrendResponse_rawData :: Lens' GetReportGroupTrendResponse (Maybe [ReportWithRawData])
-- | Contains the accumulated trend data.
getReportGroupTrendResponse_stats :: Lens' GetReportGroupTrendResponse (Maybe ReportGroupTrendStats)
-- | The response's http status code.
getReportGroupTrendResponse_httpStatus :: Lens' GetReportGroupTrendResponse Int
-- | The ARN of the resource that is associated with the resource policy.
getResourcePolicy_resourceArn :: Lens' GetResourcePolicy Text
-- | The resource policy for the resource identified by the input ARN
-- parameter.
getResourcePolicyResponse_policy :: Lens' GetResourcePolicyResponse (Maybe Text)
-- | The response's http status code.
getResourcePolicyResponse_httpStatus :: Lens' GetResourcePolicyResponse Int
-- | Set to false to prevent overwriting the repository source
-- credentials. Set to true to overwrite the repository source
-- credentials. The default value is true.
importSourceCredentials_shouldOverwrite :: Lens' ImportSourceCredentials (Maybe Bool)
-- | The Bitbucket username when the authType is BASIC_AUTH. This
-- parameter is not valid for other types of source providers or
-- connections.
importSourceCredentials_username :: Lens' ImportSourceCredentials (Maybe Text)
-- | For GitHub or GitHub Enterprise, this is the personal access token.
-- For Bitbucket, this is the app password.
importSourceCredentials_token :: Lens' ImportSourceCredentials Text
-- | The source provider used for this project.
importSourceCredentials_serverType :: Lens' ImportSourceCredentials ServerType
-- | The type of authentication used to connect to a GitHub, GitHub
-- Enterprise, or Bitbucket repository. An OAUTH connection is not
-- supported by the API and must be created using the CodeBuild console.
importSourceCredentials_authType :: Lens' ImportSourceCredentials AuthType
-- | The Amazon Resource Name (ARN) of the token.
importSourceCredentialsResponse_arn :: Lens' ImportSourceCredentialsResponse (Maybe Text)
-- | The response's http status code.
importSourceCredentialsResponse_httpStatus :: Lens' ImportSourceCredentialsResponse Int
-- | The name of the CodeBuild build project that the cache is reset for.
invalidateProjectCache_projectName :: Lens' InvalidateProjectCache Text
-- | The response's http status code.
invalidateProjectCacheResponse_httpStatus :: Lens' InvalidateProjectCacheResponse Int
-- | A BuildBatchFilter object that specifies the filters for the
-- search.
listBuildBatches_filter :: Lens' ListBuildBatches (Maybe BuildBatchFilter)
-- | The maximum number of results to return.
listBuildBatches_maxResults :: Lens' ListBuildBatches (Maybe Natural)
-- | The nextToken value returned from a previous call to
-- ListBuildBatches. This specifies the next item to return. To
-- return the beginning of the list, exclude this parameter.
listBuildBatches_nextToken :: Lens' ListBuildBatches (Maybe Text)
-- | Specifies the sort order of the returned items. Valid values include:
--
--
-- - ASCENDING: List the batch build identifiers in ascending
-- order by identifier.
-- - DESCENDING: List the batch build identifiers in
-- descending order by identifier.
--
listBuildBatches_sortOrder :: Lens' ListBuildBatches (Maybe SortOrderType)
-- | An array of strings that contains the batch build identifiers.
listBuildBatchesResponse_ids :: Lens' ListBuildBatchesResponse (Maybe [Text])
-- | If there are more items to return, this contains a token that is
-- passed to a subsequent call to ListBuildBatches to retrieve
-- the next set of items.
listBuildBatchesResponse_nextToken :: Lens' ListBuildBatchesResponse (Maybe Text)
-- | The response's http status code.
listBuildBatchesResponse_httpStatus :: Lens' ListBuildBatchesResponse Int
-- | A BuildBatchFilter object that specifies the filters for the
-- search.
listBuildBatchesForProject_filter :: Lens' ListBuildBatchesForProject (Maybe BuildBatchFilter)
-- | The maximum number of results to return.
listBuildBatchesForProject_maxResults :: Lens' ListBuildBatchesForProject (Maybe Natural)
-- | The nextToken value returned from a previous call to
-- ListBuildBatchesForProject. This specifies the next item to
-- return. To return the beginning of the list, exclude this parameter.
listBuildBatchesForProject_nextToken :: Lens' ListBuildBatchesForProject (Maybe Text)
-- | The name of the project.
listBuildBatchesForProject_projectName :: Lens' ListBuildBatchesForProject (Maybe Text)
-- | Specifies the sort order of the returned items. Valid values include:
--
--
-- - ASCENDING: List the batch build identifiers in ascending
-- order by identifier.
-- - DESCENDING: List the batch build identifiers in
-- descending order by identifier.
--
listBuildBatchesForProject_sortOrder :: Lens' ListBuildBatchesForProject (Maybe SortOrderType)
-- | An array of strings that contains the batch build identifiers.
listBuildBatchesForProjectResponse_ids :: Lens' ListBuildBatchesForProjectResponse (Maybe [Text])
-- | If there are more items to return, this contains a token that is
-- passed to a subsequent call to ListBuildBatchesForProject to
-- retrieve the next set of items.
listBuildBatchesForProjectResponse_nextToken :: Lens' ListBuildBatchesForProjectResponse (Maybe Text)
-- | The response's http status code.
listBuildBatchesForProjectResponse_httpStatus :: Lens' ListBuildBatchesForProjectResponse Int
-- | 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 nextToken. 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_nextToken :: Lens' ListBuilds (Maybe Text)
-- | 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.
--
listBuilds_sortOrder :: Lens' ListBuilds (Maybe SortOrderType)
-- | A list of build IDs, with each build ID representing a single build.
listBuildsResponse_ids :: 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 nextToken. To
-- get the next batch of items in the list, call this operation again,
-- adding the next token to the call.
listBuildsResponse_nextToken :: Lens' ListBuildsResponse (Maybe Text)
-- | The response's http status code.
listBuildsResponse_httpStatus :: Lens' ListBuildsResponse Int
-- | 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 nextToken. 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.
listBuildsForProject_nextToken :: Lens' ListBuildsForProject (Maybe Text)
-- | The order to sort the results in. The results are sorted by build
-- number, not the build identifier. If this is not specified, the
-- results are sorted in descending order.
--
-- Valid values include:
--
--
-- - ASCENDING: List the build identifiers in ascending order,
-- by build number.
-- - DESCENDING: List the build identifiers in descending
-- order, by build number.
--
--
-- If the project has more than 100 builds, setting the sort order will
-- result in an error.
listBuildsForProject_sortOrder :: Lens' ListBuildsForProject (Maybe SortOrderType)
-- | The name of the CodeBuild project.
listBuildsForProject_projectName :: Lens' ListBuildsForProject Text
-- | A list of build identifiers for the specified build project, with each
-- build ID representing a single build.
listBuildsForProjectResponse_ids :: 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 nextToken. To
-- get the next batch of items in the list, call this operation again,
-- adding the next token to the call.
listBuildsForProjectResponse_nextToken :: Lens' ListBuildsForProjectResponse (Maybe Text)
-- | The response's http status code.
listBuildsForProjectResponse_httpStatus :: Lens' ListBuildsForProjectResponse Int
-- | Information about supported platforms for Docker images that are
-- managed by CodeBuild.
listCuratedEnvironmentImagesResponse_platforms :: Lens' ListCuratedEnvironmentImagesResponse (Maybe [EnvironmentPlatform])
-- | The response's http status code.
listCuratedEnvironmentImagesResponse_httpStatus :: Lens' ListCuratedEnvironmentImagesResponse Int
-- | 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 nextToken. 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.
listProjects_nextToken :: Lens' ListProjects (Maybe Text)
-- | The criterion to be used to list build project names. Valid values
-- include:
--
--
-- - CREATED_TIME: List based on when each build project was
-- created.
-- - LAST_MODIFIED_TIME: List based on when information about
-- each build project was last changed.
-- - NAME: List 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_sortBy :: Lens' ListProjects (Maybe ProjectSortByType)
-- | The order in which to list build projects. Valid values include:
--
--
-- - ASCENDING: List in ascending order.
-- - DESCENDING: List in descending order.
--
--
-- Use sortBy to specify the criterion to be used to list build
-- project names.
listProjects_sortOrder :: Lens' ListProjects (Maybe SortOrderType)
-- | If there are more than 100 items in the list, only the first 100 items
-- are returned, along with a unique string called a nextToken. To
-- get the next batch of items in the list, call this operation again,
-- adding the next token to the call.
listProjectsResponse_nextToken :: Lens' ListProjectsResponse (Maybe Text)
-- | The list of build project names, with each build project name
-- representing a single build project.
listProjectsResponse_projects :: Lens' ListProjectsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
listProjectsResponse_httpStatus :: Lens' ListProjectsResponse Int
-- | The maximum number of paginated report groups returned per response.
-- Use nextToken to iterate pages in the list of returned
-- ReportGroup objects. The default value is 100.
listReportGroups_maxResults :: Lens' ListReportGroups (Maybe Natural)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listReportGroups_nextToken :: Lens' ListReportGroups (Maybe Text)
-- | The criterion to be used to list build report groups. Valid values
-- include:
--
--
-- - CREATED_TIME: List based on when each report group was
-- created.
-- - LAST_MODIFIED_TIME: List based on when each report group
-- was last changed.
-- - NAME: List based on each report group's name.
--
listReportGroups_sortBy :: Lens' ListReportGroups (Maybe ReportGroupSortByType)
-- | Used to specify the order to sort the list of returned report groups.
-- Valid values are ASCENDING and DESCENDING.
listReportGroups_sortOrder :: Lens' ListReportGroups (Maybe SortOrderType)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listReportGroupsResponse_nextToken :: Lens' ListReportGroupsResponse (Maybe Text)
-- | The list of ARNs for the report groups in the current Amazon Web
-- Services account.
listReportGroupsResponse_reportGroups :: Lens' ListReportGroupsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
listReportGroupsResponse_httpStatus :: Lens' ListReportGroupsResponse Int
-- | A ReportFilter object used to filter the returned reports.
listReports_filter :: Lens' ListReports (Maybe ReportFilter)
-- | The maximum number of paginated reports returned per response. Use
-- nextToken to iterate pages in the list of returned
-- Report objects. The default value is 100.
listReports_maxResults :: Lens' ListReports (Maybe Natural)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listReports_nextToken :: Lens' ListReports (Maybe Text)
-- | Specifies the sort order for the list of returned reports. Valid
-- values are:
--
--
-- - ASCENDING: return reports in chronological order based on
-- their creation date.
-- - DESCENDING: return reports in the reverse chronological
-- order based on their creation date.
--
listReports_sortOrder :: Lens' ListReports (Maybe SortOrderType)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listReportsResponse_nextToken :: Lens' ListReportsResponse (Maybe Text)
-- | The list of returned ARNs for the reports in the current Amazon Web
-- Services account.
listReportsResponse_reports :: Lens' ListReportsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
listReportsResponse_httpStatus :: Lens' ListReportsResponse Int
-- | A ReportFilter object used to filter the returned reports.
listReportsForReportGroup_filter :: Lens' ListReportsForReportGroup (Maybe ReportFilter)
-- | The maximum number of paginated reports in this report group returned
-- per response. Use nextToken to iterate pages in the list of
-- returned Report objects. The default value is 100.
listReportsForReportGroup_maxResults :: Lens' ListReportsForReportGroup (Maybe Natural)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listReportsForReportGroup_nextToken :: Lens' ListReportsForReportGroup (Maybe Text)
-- | Use to specify whether the results are returned in ascending or
-- descending order.
listReportsForReportGroup_sortOrder :: Lens' ListReportsForReportGroup (Maybe SortOrderType)
-- | The ARN of the report group for which you want to return report ARNs.
listReportsForReportGroup_reportGroupArn :: Lens' ListReportsForReportGroup Text
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listReportsForReportGroupResponse_nextToken :: Lens' ListReportsForReportGroupResponse (Maybe Text)
-- | The list of report ARNs.
listReportsForReportGroupResponse_reports :: Lens' ListReportsForReportGroupResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
listReportsForReportGroupResponse_httpStatus :: Lens' ListReportsForReportGroupResponse Int
-- | The maximum number of paginated shared build projects returned per
-- response. Use nextToken to iterate pages in the list of
-- returned Project objects. The default value is 100.
listSharedProjects_maxResults :: Lens' ListSharedProjects (Maybe Natural)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listSharedProjects_nextToken :: Lens' ListSharedProjects (Maybe Text)
-- | The criterion to be used to list build projects shared with the
-- current Amazon Web Services account or user. Valid values include:
--
--
-- - ARN: List based on the ARN.
-- - MODIFIED_TIME: List based on when information about the
-- shared project was last changed.
--
listSharedProjects_sortBy :: Lens' ListSharedProjects (Maybe SharedResourceSortByType)
-- | The order in which to list shared build projects. Valid values
-- include:
--
--
-- - ASCENDING: List in ascending order.
-- - DESCENDING: List in descending order.
--
listSharedProjects_sortOrder :: Lens' ListSharedProjects (Maybe SortOrderType)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listSharedProjectsResponse_nextToken :: Lens' ListSharedProjectsResponse (Maybe Text)
-- | The list of ARNs for the build projects shared with the current Amazon
-- Web Services account or user.
listSharedProjectsResponse_projects :: Lens' ListSharedProjectsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
listSharedProjectsResponse_httpStatus :: Lens' ListSharedProjectsResponse Int
-- | The maximum number of paginated shared report groups per response. Use
-- nextToken to iterate pages in the list of returned
-- ReportGroup objects. The default value is 100.
listSharedReportGroups_maxResults :: Lens' ListSharedReportGroups (Maybe Natural)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listSharedReportGroups_nextToken :: Lens' ListSharedReportGroups (Maybe Text)
-- | The criterion to be used to list report groups shared with the current
-- Amazon Web Services account or user. Valid values include:
--
--
-- - ARN: List based on the ARN.
-- - MODIFIED_TIME: List based on when information about the
-- shared report group was last changed.
--
listSharedReportGroups_sortBy :: Lens' ListSharedReportGroups (Maybe SharedResourceSortByType)
-- | The order in which to list shared report groups. Valid values include:
--
--
-- - ASCENDING: List in ascending order.
-- - DESCENDING: List in descending order.
--
listSharedReportGroups_sortOrder :: Lens' ListSharedReportGroups (Maybe SortOrderType)
-- | During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
listSharedReportGroupsResponse_nextToken :: Lens' ListSharedReportGroupsResponse (Maybe Text)
-- | The list of ARNs for the report groups shared with the current Amazon
-- Web Services account or user.
listSharedReportGroupsResponse_reportGroups :: Lens' ListSharedReportGroupsResponse (Maybe (NonEmpty Text))
-- | The response's http status code.
listSharedReportGroupsResponse_httpStatus :: Lens' ListSharedReportGroupsResponse Int
-- | A list of SourceCredentialsInfo objects. Each
-- SourceCredentialsInfo object includes the authentication
-- type, token ARN, and type of source provider for one set of
-- credentials.
listSourceCredentialsResponse_sourceCredentialsInfos :: Lens' ListSourceCredentialsResponse (Maybe [SourceCredentialsInfo])
-- | The response's http status code.
listSourceCredentialsResponse_httpStatus :: Lens' ListSourceCredentialsResponse Int
-- | A JSON-formatted resource policy. For more information, see Sharing
-- a Project and Sharing a Report Group in the CodeBuild
-- User Guide.
putResourcePolicy_policy :: Lens' PutResourcePolicy Text
-- | The ARN of the Project or ReportGroup resource you
-- want to associate with a resource policy.
putResourcePolicy_resourceArn :: Lens' PutResourcePolicy Text
-- | The ARN of the Project or ReportGroup resource that
-- is associated with a resource policy.
putResourcePolicyResponse_resourceArn :: Lens' PutResourcePolicyResponse (Maybe Text)
-- | The response's http status code.
putResourcePolicyResponse_httpStatus :: Lens' PutResourcePolicyResponse Int
-- | Specifies the identifier of the build to restart.
retryBuild_id :: Lens' RetryBuild (Maybe Text)
-- | A unique, case sensitive identifier you provide to ensure the
-- idempotency of the RetryBuild request. The token is included
-- in the RetryBuild request and is valid for five minutes. If
-- you repeat the RetryBuild request with the same token, but
-- change a parameter, CodeBuild returns a parameter mismatch error.
retryBuild_idempotencyToken :: Lens' RetryBuild (Maybe Text)
-- | Undocumented member.
retryBuildResponse_build :: Lens' RetryBuildResponse (Maybe Build)
-- | The response's http status code.
retryBuildResponse_httpStatus :: Lens' RetryBuildResponse Int
-- | Specifies the identifier of the batch build to restart.
retryBuildBatch_id :: Lens' RetryBuildBatch (Maybe Text)
-- | A unique, case sensitive identifier you provide to ensure the
-- idempotency of the RetryBuildBatch request. The token is
-- included in the RetryBuildBatch request and is valid for five
-- minutes. If you repeat the RetryBuildBatch request with the
-- same token, but change a parameter, CodeBuild returns a parameter
-- mismatch error.
retryBuildBatch_idempotencyToken :: Lens' RetryBuildBatch (Maybe Text)
-- | Specifies the type of retry to perform.
retryBuildBatch_retryType :: Lens' RetryBuildBatch (Maybe RetryBuildBatchType)
-- | Undocumented member.
retryBuildBatchResponse_buildBatch :: Lens' RetryBuildBatchResponse (Maybe BuildBatch)
-- | The response's http status code.
retryBuildBatchResponse_httpStatus :: Lens' RetryBuildBatchResponse Int
-- | Build output artifact settings that override, for this build only, the
-- latest ones already defined in the build project.
startBuild_artifactsOverride :: Lens' StartBuild (Maybe ProjectArtifacts)
-- | Contains information that defines how the build project reports the
-- build status to the source provider. This option is only used when the
-- source provider is GITHUB, GITHUB_ENTERPRISE, or
-- BITBUCKET.
startBuild_buildStatusConfigOverride :: Lens' StartBuild (Maybe BuildStatusConfig)
-- | A buildspec file declaration that overrides, for this build only, the
-- latest one already defined in the build project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
startBuild_buildspecOverride :: Lens' StartBuild (Maybe Text)
-- | A ProjectCache object specified for this build that overrides the one
-- defined in the build project.
startBuild_cacheOverride :: Lens' StartBuild (Maybe ProjectCache)
-- | The name of a certificate for this build that overrides the one
-- specified in the build project.
startBuild_certificateOverride :: Lens' StartBuild (Maybe Text)
-- | The name of a compute type for this build that overrides the one
-- specified in the build project.
startBuild_computeTypeOverride :: Lens' StartBuild (Maybe ComputeType)
-- | Specifies if session debugging is enabled for this build. For more
-- information, see Viewing a running build in Session Manager.
startBuild_debugSessionEnabled :: Lens' StartBuild (Maybe Bool)
-- | The Key Management Service customer master key (CMK) that overrides
-- the one specified in the build project. The CMK key encrypts the build
-- output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
startBuild_encryptionKeyOverride :: Lens' StartBuild (Maybe Text)
-- | A container type for this build that overrides the one specified in
-- the build project.
startBuild_environmentTypeOverride :: Lens' StartBuild (Maybe EnvironmentType)
-- | A set of environment variables that overrides, for this build only,
-- the latest ones already defined in the build project.
startBuild_environmentVariablesOverride :: Lens' StartBuild (Maybe [EnvironmentVariable])
-- | 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.
startBuild_gitCloneDepthOverride :: Lens' StartBuild (Maybe Natural)
-- | Information about the Git submodules configuration for this build of
-- an CodeBuild build project.
startBuild_gitSubmodulesConfigOverride :: Lens' StartBuild (Maybe GitSubmodulesConfig)
-- | A unique, case sensitive identifier you provide to ensure the
-- idempotency of the StartBuild request. The token is included in the
-- StartBuild request and is valid for 5 minutes. If you repeat the
-- StartBuild request with the same token, but change a parameter,
-- CodeBuild returns a parameter mismatch error.
startBuild_idempotencyToken :: Lens' StartBuild (Maybe Text)
-- | The name of an image for this build that overrides the one specified
-- in the build project.
startBuild_imageOverride :: Lens' StartBuild (Maybe Text)
-- | The type of credentials CodeBuild uses to pull images in your build.
-- There are two valid values:
--
--
-- - CODEBUILD Specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild's service principal.
-- - SERVICE_ROLE Specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When using a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When using an CodeBuild curated
-- image, you must use CODEBUILD credentials.
startBuild_imagePullCredentialsTypeOverride :: Lens' StartBuild (Maybe ImagePullCredentialsType)
-- | Enable this flag to override the insecure SSL setting that is
-- specified in the build project. The insecure SSL setting determines
-- whether to ignore SSL warnings while connecting to the project source
-- code. This override applies only if the build's source is GitHub
-- Enterprise.
startBuild_insecureSslOverride :: Lens' StartBuild (Maybe Bool)
-- | Log settings for this build that override the log settings defined in
-- the build project.
startBuild_logsConfigOverride :: Lens' StartBuild (Maybe LogsConfig)
-- | Enable this flag to override privileged mode in the build project.
startBuild_privilegedModeOverride :: Lens' StartBuild (Maybe Bool)
-- | The number of minutes a build is allowed to be queued before it times
-- out.
startBuild_queuedTimeoutInMinutesOverride :: Lens' StartBuild (Maybe Natural)
-- | The credentials for access to a private registry.
startBuild_registryCredentialOverride :: Lens' StartBuild (Maybe RegistryCredential)
-- | Set to true to report to your source provider the status of a build's
-- start and completion. If you use this option with a source provider
-- other than GitHub, GitHub Enterprise, or Bitbucket, an
-- invalidInputException is thrown.
--
-- To be able to report the build status to the source provider, the user
-- associated with the source provider must have write access to the
-- repo. If the user does not have write access, the build status cannot
-- be updated. For more information, see Source provider access in
-- the CodeBuild User Guide.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
startBuild_reportBuildStatusOverride :: Lens' StartBuild (Maybe Bool)
-- | An array of ProjectArtifacts objects.
startBuild_secondaryArtifactsOverride :: Lens' StartBuild (Maybe [ProjectArtifacts])
-- | An array of ProjectSource objects.
startBuild_secondarySourcesOverride :: Lens' StartBuild (Maybe [ProjectSource])
-- | An array of ProjectSourceVersion objects that specify one or
-- more versions of the project's secondary sources to be used for this
-- build only.
startBuild_secondarySourcesVersionOverride :: Lens' StartBuild (Maybe [ProjectSourceVersion])
-- | The name of a service role for this build that overrides the one
-- specified in the build project.
startBuild_serviceRoleOverride :: Lens' StartBuild (Maybe Text)
-- | An authorization type for this build that overrides the one defined in
-- the build project. This override applies only if the build project's
-- source is BitBucket or GitHub.
startBuild_sourceAuthOverride :: Lens' StartBuild (Maybe SourceAuth)
-- | A location that overrides, for this build, the source location for the
-- one defined in the build project.
startBuild_sourceLocationOverride :: Lens' StartBuild (Maybe Text)
-- | A source input type, for this build, that overrides the source input
-- defined in the build project.
startBuild_sourceTypeOverride :: Lens' StartBuild (Maybe SourceType)
-- | The version of the build input to be built, for this build only. If
-- not specified, the latest version is used. If specified, the contents
-- depends on the source provider:
--
--
-- - CodeCommit The commit ID, branch, or Git tag to use.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - Amazon S3 The version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the project level, then this
-- sourceVersion (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
startBuild_sourceVersion :: Lens' StartBuild (Maybe Text)
-- | 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.
startBuild_timeoutInMinutesOverride :: Lens' StartBuild (Maybe Natural)
-- | The name of the CodeBuild build project to start running a build.
startBuild_projectName :: Lens' StartBuild Text
-- | Information about the build to be run.
startBuildResponse_build :: Lens' StartBuildResponse (Maybe Build)
-- | The response's http status code.
startBuildResponse_httpStatus :: Lens' StartBuildResponse Int
-- | An array of ProjectArtifacts objects that contains
-- information about the build output artifact overrides for the build
-- project.
startBuildBatch_artifactsOverride :: Lens' StartBuildBatch (Maybe ProjectArtifacts)
-- | A BuildBatchConfigOverride object that contains batch build
-- configuration overrides.
startBuildBatch_buildBatchConfigOverride :: Lens' StartBuildBatch (Maybe ProjectBuildBatchConfig)
-- | Overrides the build timeout specified in the batch build project.
startBuildBatch_buildTimeoutInMinutesOverride :: Lens' StartBuildBatch (Maybe Natural)
-- | A buildspec file declaration that overrides, for this build only, the
-- latest one already defined in the build project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
startBuildBatch_buildspecOverride :: Lens' StartBuildBatch (Maybe Text)
-- | A ProjectCache object that specifies cache overrides.
startBuildBatch_cacheOverride :: Lens' StartBuildBatch (Maybe ProjectCache)
-- | The name of a certificate for this batch build that overrides the one
-- specified in the batch build project.
startBuildBatch_certificateOverride :: Lens' StartBuildBatch (Maybe Text)
-- | The name of a compute type for this batch build that overrides the one
-- specified in the batch build project.
startBuildBatch_computeTypeOverride :: Lens' StartBuildBatch (Maybe ComputeType)
-- | Specifies if session debugging is enabled for this batch build. For
-- more information, see Viewing a running build in Session
-- Manager. Batch session debugging is not supported for matrix batch
-- builds.
startBuildBatch_debugSessionEnabled :: Lens' StartBuildBatch (Maybe Bool)
-- | The Key Management Service customer master key (CMK) that overrides
-- the one specified in the batch build project. The CMK key encrypts the
-- build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
startBuildBatch_encryptionKeyOverride :: Lens' StartBuildBatch (Maybe Text)
-- | A container type for this batch build that overrides the one specified
-- in the batch build project.
startBuildBatch_environmentTypeOverride :: Lens' StartBuildBatch (Maybe EnvironmentType)
-- | An array of EnvironmentVariable objects that override, or add
-- to, the environment variables defined in the batch build project.
startBuildBatch_environmentVariablesOverride :: Lens' StartBuildBatch (Maybe [EnvironmentVariable])
-- | The user-defined depth of history, with a minimum value of 0, that
-- overrides, for this batch build only, any previous depth of history
-- defined in the batch build project.
startBuildBatch_gitCloneDepthOverride :: Lens' StartBuildBatch (Maybe Natural)
-- | A GitSubmodulesConfig object that overrides the Git
-- submodules configuration for this batch build.
startBuildBatch_gitSubmodulesConfigOverride :: Lens' StartBuildBatch (Maybe GitSubmodulesConfig)
-- | A unique, case sensitive identifier you provide to ensure the
-- idempotency of the StartBuildBatch request. The token is
-- included in the StartBuildBatch request and is valid for five
-- minutes. If you repeat the StartBuildBatch request with the
-- same token, but change a parameter, CodeBuild returns a parameter
-- mismatch error.
startBuildBatch_idempotencyToken :: Lens' StartBuildBatch (Maybe Text)
-- | The name of an image for this batch build that overrides the one
-- specified in the batch build project.
startBuildBatch_imageOverride :: Lens' StartBuildBatch (Maybe Text)
-- | The type of credentials CodeBuild uses to pull images in your batch
-- build. There are two valid values:
--
--
-- - CODEBUILD Specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild's service principal.
-- - SERVICE_ROLE Specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When using a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When using an CodeBuild curated
-- image, you must use CODEBUILD credentials.
startBuildBatch_imagePullCredentialsTypeOverride :: Lens' StartBuildBatch (Maybe ImagePullCredentialsType)
-- | Enable this flag to override the insecure SSL setting that is
-- specified in the batch build project. The insecure SSL setting
-- determines whether to ignore SSL warnings while connecting to the
-- project source code. This override applies only if the build's source
-- is GitHub Enterprise.
startBuildBatch_insecureSslOverride :: Lens' StartBuildBatch (Maybe Bool)
-- | A LogsConfig object that override the log settings defined in
-- the batch build project.
startBuildBatch_logsConfigOverride :: Lens' StartBuildBatch (Maybe LogsConfig)
-- | Enable this flag to override privileged mode in the batch build
-- project.
startBuildBatch_privilegedModeOverride :: Lens' StartBuildBatch (Maybe Bool)
-- | The number of minutes a batch build is allowed to be queued before it
-- times out.
startBuildBatch_queuedTimeoutInMinutesOverride :: Lens' StartBuildBatch (Maybe Natural)
-- | A RegistryCredential object that overrides credentials for
-- access to a private registry.
startBuildBatch_registryCredentialOverride :: Lens' StartBuildBatch (Maybe RegistryCredential)
-- | Set to true to report to your source provider the status of a
-- batch build's start and completion. If you use this option with a
-- source provider other than GitHub, GitHub Enterprise, or Bitbucket, an
-- invalidInputException is thrown.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
startBuildBatch_reportBuildBatchStatusOverride :: Lens' StartBuildBatch (Maybe Bool)
-- | An array of ProjectArtifacts objects that override the
-- secondary artifacts defined in the batch build project.
startBuildBatch_secondaryArtifactsOverride :: Lens' StartBuildBatch (Maybe [ProjectArtifacts])
-- | An array of ProjectSource objects that override the secondary
-- sources defined in the batch build project.
startBuildBatch_secondarySourcesOverride :: Lens' StartBuildBatch (Maybe [ProjectSource])
-- | An array of ProjectSourceVersion objects that override the
-- secondary source versions in the batch build project.
startBuildBatch_secondarySourcesVersionOverride :: Lens' StartBuildBatch (Maybe [ProjectSourceVersion])
-- | The name of a service role for this batch build that overrides the one
-- specified in the batch build project.
startBuildBatch_serviceRoleOverride :: Lens' StartBuildBatch (Maybe Text)
-- | A SourceAuth object that overrides the one defined in the
-- batch build project. This override applies only if the build project's
-- source is BitBucket or GitHub.
startBuildBatch_sourceAuthOverride :: Lens' StartBuildBatch (Maybe SourceAuth)
-- | A location that overrides, for this batch build, the source location
-- defined in the batch build project.
startBuildBatch_sourceLocationOverride :: Lens' StartBuildBatch (Maybe Text)
-- | The source input type that overrides the source input defined in the
-- batch build project.
startBuildBatch_sourceTypeOverride :: Lens' StartBuildBatch (Maybe SourceType)
-- | The version of the batch build input to be built, for this build only.
-- If not specified, the latest version is used. If specified, the
-- contents depends on the source provider:
--
--
-- - CodeCommit The commit ID, branch, or Git tag to use.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - Amazon S3 The version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the project level, then this
-- sourceVersion (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
startBuildBatch_sourceVersion :: Lens' StartBuildBatch (Maybe Text)
-- | The name of the project.
startBuildBatch_projectName :: Lens' StartBuildBatch Text
-- | A BuildBatch object that contains information about the batch
-- build.
startBuildBatchResponse_buildBatch :: Lens' StartBuildBatchResponse (Maybe BuildBatch)
-- | The response's http status code.
startBuildBatchResponse_httpStatus :: Lens' StartBuildBatchResponse Int
-- | The ID of the build.
stopBuild_id :: Lens' StopBuild Text
-- | Information about the build.
stopBuildResponse_build :: Lens' StopBuildResponse (Maybe Build)
-- | The response's http status code.
stopBuildResponse_httpStatus :: Lens' StopBuildResponse Int
-- | The identifier of the batch build to stop.
stopBuildBatch_id :: Lens' StopBuildBatch Text
-- | Undocumented member.
stopBuildBatchResponse_buildBatch :: Lens' StopBuildBatchResponse (Maybe BuildBatch)
-- | The response's http status code.
stopBuildBatchResponse_httpStatus :: Lens' StopBuildBatchResponse Int
-- | Information to be changed about the build output artifacts for the
-- build project.
updateProject_artifacts :: Lens' UpdateProject (Maybe ProjectArtifacts)
-- | Set this to true to generate a publicly accessible URL for your
-- project's build badge.
updateProject_badgeEnabled :: Lens' UpdateProject (Maybe Bool)
-- | Undocumented member.
updateProject_buildBatchConfig :: Lens' UpdateProject (Maybe ProjectBuildBatchConfig)
-- | Stores recently used information so that it can be quickly accessed at
-- a later time.
updateProject_cache :: Lens' UpdateProject (Maybe ProjectCache)
-- | The maximum number of concurrent builds that are allowed for this
-- project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
--
-- To remove this limit, set this value to -1.
updateProject_concurrentBuildLimit :: Lens' UpdateProject (Maybe Int)
-- | A new or replacement description of the build project.
updateProject_description :: Lens' UpdateProject (Maybe Text)
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
updateProject_encryptionKey :: Lens' UpdateProject (Maybe Text)
-- | Information to be changed about the build environment for the build
-- project.
updateProject_environment :: Lens' UpdateProject (Maybe ProjectEnvironment)
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
updateProject_fileSystemLocations :: Lens' UpdateProject (Maybe [ProjectFileSystemLocation])
-- | Information about logs for the build project. A project can create
-- logs in CloudWatch Logs, logs in an S3 bucket, or both.
updateProject_logsConfig :: Lens' UpdateProject (Maybe LogsConfig)
-- | The number of minutes a build is allowed to be queued before it times
-- out.
updateProject_queuedTimeoutInMinutes :: Lens' UpdateProject (Maybe Natural)
-- | An array of ProjectArtifact objects.
updateProject_secondaryArtifacts :: Lens' UpdateProject (Maybe [ProjectArtifacts])
-- | An array of ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take over these secondarySourceVersions (at the project
-- level).
updateProject_secondarySourceVersions :: Lens' UpdateProject (Maybe [ProjectSourceVersion])
-- | An array of ProjectSource objects.
updateProject_secondarySources :: Lens' UpdateProject (Maybe [ProjectSource])
-- | The replacement ARN of the IAM role that enables CodeBuild to interact
-- with dependent Amazon Web Services services on behalf of the Amazon
-- Web Services account.
updateProject_serviceRole :: Lens' UpdateProject (Maybe Text)
-- | Information to be changed about the build input source code for the
-- build project.
updateProject_source :: Lens' UpdateProject (Maybe ProjectSource)
-- | A version of the build input to be built for this project. If not
-- specified, the latest version is used. If specified, it must be one
-- of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
updateProject_sourceVersion :: Lens' UpdateProject (Maybe Text)
-- | An updated list of tag key and value pairs associated with this build
-- project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
updateProject_tags :: Lens' UpdateProject (Maybe [Tag])
-- | The replacement value in minutes, from 5 to 480 (8 hours), for
-- CodeBuild to wait before timing out any related build that did not get
-- marked as completed.
updateProject_timeoutInMinutes :: Lens' UpdateProject (Maybe Natural)
-- | VpcConfig enables CodeBuild to access resources in an Amazon VPC.
updateProject_vpcConfig :: Lens' UpdateProject (Maybe VpcConfig)
-- | The name of the build project.
--
-- You cannot change a build project's name.
updateProject_name :: Lens' UpdateProject Text
-- | Information about the build project that was changed.
updateProjectResponse_project :: Lens' UpdateProjectResponse (Maybe Project)
-- | The response's http status code.
updateProjectResponse_httpStatus :: Lens' UpdateProjectResponse Int
-- | The ARN of the IAM role that enables CodeBuild to access the
-- CloudWatch Logs and Amazon S3 artifacts for the project's builds.
updateProjectVisibility_resourceAccessRole :: Lens' UpdateProjectVisibility (Maybe Text)
-- | The Amazon Resource Name (ARN) of the build project.
updateProjectVisibility_projectArn :: Lens' UpdateProjectVisibility Text
-- | Undocumented member.
updateProjectVisibility_projectVisibility :: Lens' UpdateProjectVisibility ProjectVisibilityType
-- | The Amazon Resource Name (ARN) of the build project.
updateProjectVisibilityResponse_projectArn :: Lens' UpdateProjectVisibilityResponse (Maybe Text)
-- | Undocumented member.
updateProjectVisibilityResponse_projectVisibility :: Lens' UpdateProjectVisibilityResponse (Maybe ProjectVisibilityType)
-- | Contains the project identifier used with the public build APIs.
updateProjectVisibilityResponse_publicProjectAlias :: Lens' UpdateProjectVisibilityResponse (Maybe Text)
-- | The response's http status code.
updateProjectVisibilityResponse_httpStatus :: Lens' UpdateProjectVisibilityResponse Int
-- | Used to specify an updated export type. Valid values are:
--
--
-- - S3: The report results are exported to an S3 bucket.
-- - NO_EXPORT: The report results are not exported.
--
updateReportGroup_exportConfig :: Lens' UpdateReportGroup (Maybe ReportExportConfig)
-- | An updated list of tag key and value pairs associated with this report
-- group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
updateReportGroup_tags :: Lens' UpdateReportGroup (Maybe [Tag])
-- | The ARN of the report group to update.
updateReportGroup_arn :: Lens' UpdateReportGroup Text
-- | Information about the updated report group.
updateReportGroupResponse_reportGroup :: Lens' UpdateReportGroupResponse (Maybe ReportGroup)
-- | The response's http status code.
updateReportGroupResponse_httpStatus :: Lens' UpdateReportGroupResponse Int
-- | A regular expression used to determine which repository branches are
-- built when a webhook is triggered. If the name of a branch matches the
-- regular expression, then it is built. If branchFilter is
-- empty, then all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
updateWebhook_branchFilter :: Lens' UpdateWebhook (Maybe Text)
-- | Specifies the type of build this webhook will trigger.
updateWebhook_buildType :: Lens' UpdateWebhook (Maybe WebhookBuildType)
-- | An array of arrays of WebhookFilter objects used to determine
-- if a webhook event can trigger a build. A filter group must contain at
-- least one EVENT WebhookFilter.
updateWebhook_filterGroups :: Lens' UpdateWebhook (Maybe [[WebhookFilter]])
-- | A boolean value that specifies whether the associated GitHub
-- repository's secret token should be updated. If you use Bitbucket for
-- your repository, rotateSecret is ignored.
updateWebhook_rotateSecret :: Lens' UpdateWebhook (Maybe Bool)
-- | The name of the CodeBuild project.
updateWebhook_projectName :: Lens' UpdateWebhook Text
-- | Information about a repository's webhook that is associated with a
-- project in CodeBuild.
updateWebhookResponse_webhook :: Lens' UpdateWebhookResponse (Maybe Webhook)
-- | The response's http status code.
updateWebhookResponse_httpStatus :: Lens' UpdateWebhookResponse Int
-- | An array of strings that specify the compute types that are allowed
-- for the batch build. See Build environment compute types in the
-- CodeBuild User Guide for these values.
batchRestrictions_computeTypesAllowed :: Lens' BatchRestrictions (Maybe [Text])
-- | Specifies the maximum number of builds allowed.
batchRestrictions_maximumBuildsAllowed :: Lens' BatchRestrictions (Maybe Int)
-- | The Amazon Resource Name (ARN) of the build.
build_arn :: Lens' Build (Maybe Text)
-- | Information about the output artifacts for the build.
build_artifacts :: Lens' Build (Maybe BuildArtifacts)
-- | The ARN of the batch build that this build is a member of, if
-- applicable.
build_buildBatchArn :: Lens' Build (Maybe Text)
-- | Whether the build is complete. True if complete; otherwise, false.
build_buildComplete :: Lens' Build (Maybe Bool)
-- | The number of the build. For each project, the buildNumber of
-- its first build is 1. The buildNumber of each
-- subsequent build is incremented by 1. If a build is deleted,
-- the buildNumber of other builds does not change.
build_buildNumber :: Lens' Build (Maybe Integer)
-- | 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.
--
build_buildStatus :: Lens' Build (Maybe StatusType)
-- | Information about the cache for the build.
build_cache :: Lens' Build (Maybe ProjectCache)
-- | The current build phase.
build_currentPhase :: Lens' Build (Maybe Text)
-- | Contains information about the debug session for this build.
build_debugSession :: Lens' Build (Maybe DebugSession)
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
build_encryptionKey :: Lens' Build (Maybe Text)
-- | When the build process ended, expressed in Unix time format.
build_endTime :: Lens' Build (Maybe UTCTime)
-- | Information about the build environment for this build.
build_environment :: Lens' Build (Maybe ProjectEnvironment)
-- | A list of exported environment variables for this build.
--
-- Exported environment variables are used in conjunction with
-- CodePipeline to export environment variables from the current build
-- stage to subsequent stages in the pipeline. For more information, see
-- Working with variables in the CodePipeline User Guide.
build_exportedEnvironmentVariables :: Lens' Build (Maybe [ExportedEnvironmentVariable])
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
build_fileSystemLocations :: Lens' Build (Maybe [ProjectFileSystemLocation])
-- | The unique ID for the build.
build_id :: Lens' Build (Maybe Text)
-- | The entity that started the build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name (for example,
-- MyUserName).
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
build_initiator :: Lens' Build (Maybe Text)
-- | Information about the build's logs in CloudWatch Logs.
build_logs :: Lens' Build (Maybe LogsLocation)
-- | Describes a network interface.
build_networkInterface :: Lens' Build (Maybe NetworkInterface)
-- | Information about all previous build phases that are complete and
-- information about any current build phase that is not yet complete.
build_phases :: Lens' Build (Maybe [BuildPhase])
-- | The name of the CodeBuild project.
build_projectName :: Lens' Build (Maybe Text)
-- | The number of minutes a build is allowed to be queued before it times
-- out.
build_queuedTimeoutInMinutes :: Lens' Build (Maybe Int)
-- | An array of the ARNs associated with this build's reports.
build_reportArns :: Lens' Build (Maybe [Text])
-- | An identifier for the version of this build's source code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
build_resolvedSourceVersion :: Lens' Build (Maybe Text)
-- | An array of ProjectArtifacts objects.
build_secondaryArtifacts :: Lens' Build (Maybe [BuildArtifacts])
-- | An array of ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
build_secondarySourceVersions :: Lens' Build (Maybe [ProjectSourceVersion])
-- | An array of ProjectSource objects.
build_secondarySources :: Lens' Build (Maybe [ProjectSource])
-- | The name of a service role used for this build.
build_serviceRole :: Lens' Build (Maybe Text)
-- | Information about the source code to be built.
build_source :: Lens' Build (Maybe ProjectSource)
-- | Any version identifier for the version of the source code to be built.
-- If sourceVersion is specified at the project level, then this
-- sourceVersion (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
build_sourceVersion :: Lens' Build (Maybe Text)
-- | When the build process started, expressed in Unix time format.
build_startTime :: Lens' Build (Maybe UTCTime)
-- | How long, in minutes, for CodeBuild to wait before timing out this
-- build if it does not get marked as completed.
build_timeoutInMinutes :: Lens' Build (Maybe Int)
-- | If your 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.
build_vpcConfig :: Lens' Build (Maybe VpcConfig)
-- | An identifier for this artifact definition.
buildArtifacts_artifactIdentifier :: Lens' BuildArtifacts (Maybe Text)
-- | Undocumented member.
buildArtifacts_bucketOwnerAccess :: Lens' BuildArtifacts (Maybe BucketOwnerAccess)
-- | Information that tells you if encryption for build artifacts is
-- disabled.
buildArtifacts_encryptionDisabled :: Lens' BuildArtifacts (Maybe Bool)
-- | Information about the location of the build artifacts.
buildArtifacts_location :: Lens' BuildArtifacts (Maybe Text)
-- | The MD5 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
buildArtifacts_md5sum :: Lens' BuildArtifacts (Maybe Text)
-- | If this flag is set, a name specified in the buildspec file overrides
-- the artifact name. The name specified in a buildspec file is
-- calculated at build time and uses the Shell Command Language. For
-- example, you can append a date and time to your artifact name so that
-- it is always unique.
buildArtifacts_overrideArtifactName :: Lens' BuildArtifacts (Maybe Bool)
-- | The SHA-256 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
buildArtifacts_sha256sum :: Lens' BuildArtifacts (Maybe Text)
-- | The ARN of the batch build.
buildBatch_arn :: Lens' BuildBatch (Maybe Text)
-- | A BuildArtifacts object the defines the build artifacts for
-- this batch build.
buildBatch_artifacts :: Lens' BuildBatch (Maybe BuildArtifacts)
-- | Undocumented member.
buildBatch_buildBatchConfig :: Lens' BuildBatch (Maybe ProjectBuildBatchConfig)
-- | The number of the batch build. For each project, the
-- buildBatchNumber of its first batch build is 1. The
-- buildBatchNumber of each subsequent batch build is
-- incremented by 1. If a batch build is deleted, the
-- buildBatchNumber of other batch builds does not change.
buildBatch_buildBatchNumber :: Lens' BuildBatch (Maybe Integer)
-- | The status of the batch build.
buildBatch_buildBatchStatus :: Lens' BuildBatch (Maybe StatusType)
-- | An array of BuildGroup objects that define the build groups
-- for the batch build.
buildBatch_buildGroups :: Lens' BuildBatch (Maybe [BuildGroup])
-- | Specifies the maximum amount of time, in minutes, that the build in a
-- batch must be completed in.
buildBatch_buildTimeoutInMinutes :: Lens' BuildBatch (Maybe Int)
-- | Undocumented member.
buildBatch_cache :: Lens' BuildBatch (Maybe ProjectCache)
-- | Indicates if the batch build is complete.
buildBatch_complete :: Lens' BuildBatch (Maybe Bool)
-- | The current phase of the batch build.
buildBatch_currentPhase :: Lens' BuildBatch (Maybe Text)
-- | Specifies if session debugging is enabled for this batch build. For
-- more information, see Viewing a running build in Session
-- Manager. Batch session debugging is not supported for matrix batch
-- builds.
buildBatch_debugSessionEnabled :: Lens' BuildBatch (Maybe Bool)
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the batch build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
buildBatch_encryptionKey :: Lens' BuildBatch (Maybe Text)
-- | The date and time that the batch build ended.
buildBatch_endTime :: Lens' BuildBatch (Maybe UTCTime)
-- | Undocumented member.
buildBatch_environment :: Lens' BuildBatch (Maybe ProjectEnvironment)
-- | An array of ProjectFileSystemLocation objects for the batch
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
buildBatch_fileSystemLocations :: Lens' BuildBatch (Maybe [ProjectFileSystemLocation])
-- | The identifier of the batch build.
buildBatch_id :: Lens' BuildBatch (Maybe Text)
-- | The entity that started the batch build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name.
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
buildBatch_initiator :: Lens' BuildBatch (Maybe Text)
-- | Undocumented member.
buildBatch_logConfig :: Lens' BuildBatch (Maybe LogsConfig)
-- | An array of BuildBatchPhase objects the specify the phases of
-- the batch build.
buildBatch_phases :: Lens' BuildBatch (Maybe [BuildBatchPhase])
-- | The name of the batch build project.
buildBatch_projectName :: Lens' BuildBatch (Maybe Text)
-- | Specifies the amount of time, in minutes, that the batch build is
-- allowed to be queued before it times out.
buildBatch_queuedTimeoutInMinutes :: Lens' BuildBatch (Maybe Int)
-- | The identifier of the resolved version of this batch build's source
-- code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
buildBatch_resolvedSourceVersion :: Lens' BuildBatch (Maybe Text)
-- | An array of BuildArtifacts objects the define the build
-- artifacts for this batch build.
buildBatch_secondaryArtifacts :: Lens' BuildBatch (Maybe [BuildArtifacts])
-- | An array of ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
buildBatch_secondarySourceVersions :: Lens' BuildBatch (Maybe [ProjectSourceVersion])
-- | An array of ProjectSource objects that define the sources for
-- the batch build.
buildBatch_secondarySources :: Lens' BuildBatch (Maybe [ProjectSource])
-- | The name of a service role used for builds in the batch.
buildBatch_serviceRole :: Lens' BuildBatch (Maybe Text)
-- | Undocumented member.
buildBatch_source :: Lens' BuildBatch (Maybe ProjectSource)
-- | The identifier of the version of the source code to be built.
buildBatch_sourceVersion :: Lens' BuildBatch (Maybe Text)
-- | The date and time that the batch build started.
buildBatch_startTime :: Lens' BuildBatch (Maybe UTCTime)
-- | Undocumented member.
buildBatch_vpcConfig :: Lens' BuildBatch (Maybe VpcConfig)
-- | The status of the batch builds to retrieve. Only batch builds that
-- have this status will be retrieved.
buildBatchFilter_status :: Lens' BuildBatchFilter (Maybe StatusType)
-- | Additional information about the batch build phase. Especially to help
-- troubleshoot a failed batch build.
buildBatchPhase_contexts :: Lens' BuildBatchPhase (Maybe [PhaseContext])
-- | How long, in seconds, between the starting and ending times of the
-- batch build's phase.
buildBatchPhase_durationInSeconds :: Lens' BuildBatchPhase (Maybe Integer)
-- | When the batch build phase ended, expressed in Unix time format.
buildBatchPhase_endTime :: Lens' BuildBatchPhase (Maybe UTCTime)
-- | The current status of the batch 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.
--
buildBatchPhase_phaseStatus :: Lens' BuildBatchPhase (Maybe StatusType)
-- | The name of the batch build phase. Valid values include:
--
--
-- - COMBINE_ARTIFACTS Build output artifacts are being combined
-- and uploaded to the output location.
-- - DOWNLOAD_BATCHSPEC The batch build specification is being
-- downloaded.
-- - FAILED One or more of the builds failed.
-- - IN_PROGRESS The batch build is in progress.
-- - STOPPED The batch build was stopped.
-- - SUBMITTED The btach build has been submitted.
-- - SUCCEEDED The batch build succeeded.
--
buildBatchPhase_phaseType :: Lens' BuildBatchPhase (Maybe BuildBatchPhaseType)
-- | When the batch build phase started, expressed in Unix time format.
buildBatchPhase_startTime :: Lens' BuildBatchPhase (Maybe UTCTime)
-- | A BuildSummary object that contains a summary of the current
-- build group.
buildGroup_currentBuildSummary :: Lens' BuildGroup (Maybe BuildSummary)
-- | An array of strings that contain the identifiers of the build groups
-- that this build group depends on.
buildGroup_dependsOn :: Lens' BuildGroup (Maybe [Text])
-- | Contains the identifier of the build group.
buildGroup_identifier :: Lens' BuildGroup (Maybe Text)
-- | Specifies if failures in this build group can be ignored.
buildGroup_ignoreFailure :: Lens' BuildGroup (Maybe Bool)
-- | An array of BuildSummary objects that contain summaries of
-- previous build groups.
buildGroup_priorBuildSummaryList :: Lens' BuildGroup (Maybe [BuildSummary])
-- | The ID of the build that could not be successfully deleted.
buildNotDeleted_id :: Lens' BuildNotDeleted (Maybe Text)
-- | Additional information about the build that could not be successfully
-- deleted.
buildNotDeleted_statusCode :: Lens' BuildNotDeleted (Maybe Text)
-- | Additional information about a build phase, especially to help
-- troubleshoot a failed build.
buildPhase_contexts :: Lens' BuildPhase (Maybe [PhaseContext])
-- | How long, in seconds, between the starting and ending times of the
-- build's phase.
buildPhase_durationInSeconds :: Lens' BuildPhase (Maybe Integer)
-- | When the build phase ended, expressed in Unix time format.
buildPhase_endTime :: 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.
--
buildPhase_phaseStatus :: 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.
-- - QUEUED The build has been submitted and is queued behind
-- other submitted builds.
-- - SUBMITTED The build has been submitted.
-- - UPLOAD_ARTIFACTS Build output artifacts are being uploaded
-- to the output location.
--
buildPhase_phaseType :: Lens' BuildPhase (Maybe BuildPhaseType)
-- | When the build phase started, expressed in Unix time format.
buildPhase_startTime :: Lens' BuildPhase (Maybe UTCTime)
-- | Specifies the context of the build status CodeBuild sends to the
-- source provider. The usage of this parameter depends on the source
-- provider.
--
--
-- - Bitbucket This parameter is used for the name
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the context parameter in the GitHub commit status. For more
-- information, see Create a commit status in the GitHub developer
-- guide.
--
buildStatusConfig_context :: Lens' BuildStatusConfig (Maybe Text)
-- | Specifies the target url of the build status CodeBuild sends to the
-- source provider. The usage of this parameter depends on the source
-- provider.
--
--
-- - Bitbucket This parameter is used for the url
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the target_url parameter in the GitHub commit status. For
-- more information, see Create a commit status in the GitHub
-- developer guide.
--
buildStatusConfig_targetUrl :: Lens' BuildStatusConfig (Maybe Text)
-- | The batch build ARN.
buildSummary_arn :: Lens' BuildSummary (Maybe Text)
-- | The status of the build group.
--
--
-- - FAILED The build group failed.
-- - FAULT The build group faulted.
-- - IN_PROGRESS The build group is still in progress.
-- - STOPPED The build group stopped.
-- - SUCCEEDED The build group succeeded.
-- - TIMED_OUT The build group timed out.
--
buildSummary_buildStatus :: Lens' BuildSummary (Maybe StatusType)
-- | A ResolvedArtifact object that represents the primary build
-- artifacts for the build group.
buildSummary_primaryArtifact :: Lens' BuildSummary (Maybe ResolvedArtifact)
-- | When the build was started, expressed in Unix time format.
buildSummary_requestedOn :: Lens' BuildSummary (Maybe UTCTime)
-- | An array of ResolvedArtifact objects that represents the
-- secondary build artifacts for the build group.
buildSummary_secondaryArtifacts :: Lens' BuildSummary (Maybe [ResolvedArtifact])
-- | The group name of the logs in CloudWatch Logs. For more information,
-- see Working with Log Groups and Log Streams.
cloudWatchLogsConfig_groupName :: Lens' CloudWatchLogsConfig (Maybe Text)
-- | The prefix of the stream name of the CloudWatch Logs. For more
-- information, see Working with Log Groups and Log Streams.
cloudWatchLogsConfig_streamName :: Lens' CloudWatchLogsConfig (Maybe Text)
-- | The current status of the logs in CloudWatch Logs for a build project.
-- Valid values are:
--
--
-- - ENABLED: CloudWatch Logs are enabled for this build
-- project.
-- - DISABLED: CloudWatch Logs are not enabled for this build
-- project.
--
cloudWatchLogsConfig_status :: Lens' CloudWatchLogsConfig LogsConfigStatusType
-- | The percentage of branches that are covered by your tests.
codeCoverage_branchCoveragePercentage :: Lens' CodeCoverage (Maybe Double)
-- | The number of conditional branches that are covered by your tests.
codeCoverage_branchesCovered :: Lens' CodeCoverage (Maybe Natural)
-- | The number of conditional branches that are not covered by your tests.
codeCoverage_branchesMissed :: Lens' CodeCoverage (Maybe Natural)
-- | The date and time that the tests were run.
codeCoverage_expired :: Lens' CodeCoverage (Maybe UTCTime)
-- | The path of the test report file.
codeCoverage_filePath :: Lens' CodeCoverage (Maybe Text)
-- | The identifier of the code coverage report.
codeCoverage_id :: Lens' CodeCoverage (Maybe Text)
-- | The percentage of lines that are covered by your tests.
codeCoverage_lineCoveragePercentage :: Lens' CodeCoverage (Maybe Double)
-- | The number of lines that are covered by your tests.
codeCoverage_linesCovered :: Lens' CodeCoverage (Maybe Natural)
-- | The number of lines that are not covered by your tests.
codeCoverage_linesMissed :: Lens' CodeCoverage (Maybe Natural)
-- | The ARN of the report.
codeCoverage_reportARN :: Lens' CodeCoverage (Maybe Text)
-- | The percentage of branches that are covered by your tests.
codeCoverageReportSummary_branchCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double)
-- | The number of conditional branches that are covered by your tests.
codeCoverageReportSummary_branchesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural)
-- | The number of conditional branches that are not covered by your tests.
codeCoverageReportSummary_branchesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural)
-- | The percentage of lines that are covered by your tests.
codeCoverageReportSummary_lineCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double)
-- | The number of lines that are covered by your tests.
codeCoverageReportSummary_linesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural)
-- | The number of lines that are not covered by your tests.
codeCoverageReportSummary_linesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural)
-- | Specifies if session debugging is enabled for this build.
debugSession_sessionEnabled :: Lens' DebugSession (Maybe Bool)
-- | Contains the identifier of the Session Manager session used for the
-- build. To work with the paused build, you open this session to
-- examine, control, and resume the build.
debugSession_sessionTarget :: Lens' DebugSession (Maybe Text)
-- | The description of the Docker image.
environmentImage_description :: Lens' EnvironmentImage (Maybe Text)
-- | The name of the Docker image.
environmentImage_name :: Lens' EnvironmentImage (Maybe Text)
-- | A list of environment image versions.
environmentImage_versions :: Lens' EnvironmentImage (Maybe [Text])
-- | The list of Docker images that are related by the specified
-- programming language.
environmentLanguage_images :: Lens' EnvironmentLanguage (Maybe [EnvironmentImage])
-- | The programming language for the Docker images.
environmentLanguage_language :: Lens' EnvironmentLanguage (Maybe LanguageType)
-- | The list of programming languages that are available for the specified
-- platform.
environmentPlatform_languages :: Lens' EnvironmentPlatform (Maybe [EnvironmentLanguage])
-- | The platform's name.
environmentPlatform_platform :: Lens' EnvironmentPlatform (Maybe PlatformType)
-- | The type of environment variable. Valid values include:
--
--
-- - PARAMETER_STORE: An environment variable stored in
-- Systems Manager Parameter Store. To learn how to specify a parameter
-- store environment variable, see env/parameter-store in the
-- CodeBuild User Guide.
-- - PLAINTEXT: An environment variable in plain text format.
-- This is the default value.
-- - SECRETS_MANAGER: An environment variable stored in
-- Secrets Manager. To learn how to specify a secrets manager environment
-- variable, see env/secrets-manager in the CodeBuild User
-- Guide.
--
environmentVariable_type :: Lens' EnvironmentVariable (Maybe EnvironmentVariableType)
-- | The name or key of the environment variable.
environmentVariable_name :: Lens' EnvironmentVariable Text
-- | The value of the environment variable.
--
-- We strongly discourage the use of PLAINTEXT environment
-- variables to store sensitive values, especially Amazon Web Services
-- secret key IDs and secret access keys. PLAINTEXT environment
-- variables can be displayed in plain text using the CodeBuild console
-- and the CLI. For sensitive values, we recommend you use an environment
-- variable of type PARAMETER_STORE or SECRETS_MANAGER.
environmentVariable_value :: Lens' EnvironmentVariable Text
-- | The name of the exported environment variable.
exportedEnvironmentVariable_name :: Lens' ExportedEnvironmentVariable (Maybe Text)
-- | The value assigned to the exported environment variable.
exportedEnvironmentVariable_value :: Lens' ExportedEnvironmentVariable (Maybe Text)
-- | Set to true to fetch Git submodules for your CodeBuild build project.
gitSubmodulesConfig_fetchSubmodules :: Lens' GitSubmodulesConfig Bool
-- | Information about CloudWatch Logs for a build project. CloudWatch Logs
-- are enabled by default.
logsConfig_cloudWatchLogs :: Lens' LogsConfig (Maybe CloudWatchLogsConfig)
-- | Information about logs built to an S3 bucket for a build project. S3
-- logs are not enabled by default.
logsConfig_s3Logs :: Lens' LogsConfig (Maybe S3LogsConfig)
-- | Information about CloudWatch Logs for a build project.
logsLocation_cloudWatchLogs :: Lens' LogsLocation (Maybe CloudWatchLogsConfig)
-- | The ARN of CloudWatch Logs for a build project. Its format is
-- arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}.
-- For more information, see Resources Defined by CloudWatch Logs.
logsLocation_cloudWatchLogsArn :: Lens' LogsLocation (Maybe Text)
-- | The URL to an individual build log in CloudWatch Logs.
logsLocation_deepLink :: Lens' LogsLocation (Maybe Text)
-- | The name of the CloudWatch Logs group for the build logs.
logsLocation_groupName :: Lens' LogsLocation (Maybe Text)
-- | The URL to a build log in an S3 bucket.
logsLocation_s3DeepLink :: Lens' LogsLocation (Maybe Text)
-- | Information about S3 logs for a build project.
logsLocation_s3Logs :: Lens' LogsLocation (Maybe S3LogsConfig)
-- | The ARN of S3 logs for a build project. Its format is
-- arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more
-- information, see Resources Defined by Amazon S3.
logsLocation_s3LogsArn :: Lens' LogsLocation (Maybe Text)
-- | The name of the CloudWatch Logs stream for the build logs.
logsLocation_streamName :: Lens' LogsLocation (Maybe Text)
-- | The ID of the network interface.
networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text)
-- | The ID of the subnet.
networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text)
-- | An explanation of the build phase's context. This might include a
-- command ID and an exit code.
phaseContext_message :: Lens' PhaseContext (Maybe Text)
-- | The status code for the context of the build phase.
phaseContext_statusCode :: Lens' PhaseContext (Maybe Text)
-- | The Amazon Resource Name (ARN) of the build project.
project_arn :: Lens' Project (Maybe Text)
-- | Information about the build output artifacts for the build project.
project_artifacts :: Lens' Project (Maybe ProjectArtifacts)
-- | Information about the build badge for the build project.
project_badge :: Lens' Project (Maybe ProjectBadge)
-- | A ProjectBuildBatchConfig object that defines the batch build options
-- for the project.
project_buildBatchConfig :: Lens' Project (Maybe ProjectBuildBatchConfig)
-- | Information about the cache for the build project.
project_cache :: Lens' Project (Maybe ProjectCache)
-- | The maximum number of concurrent builds that are allowed for this
-- project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
project_concurrentBuildLimit :: Lens' Project (Maybe Int)
-- | When the build project was created, expressed in Unix time format.
project_created :: Lens' Project (Maybe UTCTime)
-- | A description that makes the build project easy to identify.
project_description :: Lens' Project (Maybe Text)
-- | The Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>). If you don't specify a value,
-- CodeBuild uses the managed CMK for Amazon Simple Storage Service
-- (Amazon S3).
project_encryptionKey :: Lens' Project (Maybe Text)
-- | Information about the build environment for this build project.
project_environment :: Lens' Project (Maybe ProjectEnvironment)
-- | An array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
project_fileSystemLocations :: Lens' Project (Maybe [ProjectFileSystemLocation])
-- | When the build project's settings were last modified, expressed in
-- Unix time format.
project_lastModified :: Lens' Project (Maybe UTCTime)
-- | Information about logs for the build project. A project can create
-- logs in CloudWatch Logs, an S3 bucket, or both.
project_logsConfig :: Lens' Project (Maybe LogsConfig)
-- | The name of the build project.
project_name :: Lens' Project (Maybe Text)
-- | Undocumented member.
project_projectVisibility :: Lens' Project (Maybe ProjectVisibilityType)
-- | Contains the project identifier used with the public build APIs.
project_publicProjectAlias :: Lens' Project (Maybe Text)
-- | The number of minutes a build is allowed to be queued before it times
-- out.
project_queuedTimeoutInMinutes :: Lens' Project (Maybe Natural)
-- | The ARN of the IAM role that enables CodeBuild to access the
-- CloudWatch Logs and Amazon S3 artifacts for the project's builds.
project_resourceAccessRole :: Lens' Project (Maybe Text)
-- | An array of ProjectArtifacts objects.
project_secondaryArtifacts :: Lens' Project (Maybe [ProjectArtifacts])
-- | An array of ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take over these secondarySourceVersions (at the project
-- level).
project_secondarySourceVersions :: Lens' Project (Maybe [ProjectSourceVersion])
-- | An array of ProjectSource objects.
project_secondarySources :: Lens' Project (Maybe [ProjectSource])
-- | The ARN of the IAM role that enables CodeBuild to interact with
-- dependent Amazon Web Services services on behalf of the Amazon Web
-- Services account.
project_serviceRole :: Lens' Project (Maybe Text)
-- | Information about the build input source code for this build project.
project_source :: Lens' Project (Maybe ProjectSource)
-- | A version of the build input to be built for this project. If not
-- specified, the latest version is used. If specified, it must be one
-- of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
project_sourceVersion :: Lens' Project (Maybe Text)
-- | A list of tag key and value pairs associated with this build project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
project_tags :: Lens' Project (Maybe [Tag])
-- | How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
-- before timing out any related build that did not get marked as
-- completed. The default is 60 minutes.
project_timeoutInMinutes :: Lens' Project (Maybe Natural)
-- | Information about the VPC configuration that CodeBuild accesses.
project_vpcConfig :: Lens' Project (Maybe VpcConfig)
-- | Information about a webhook that connects repository events to a build
-- project in CodeBuild.
project_webhook :: Lens' Project (Maybe Webhook)
-- | An identifier for this artifact definition.
projectArtifacts_artifactIdentifier :: Lens' ProjectArtifacts (Maybe Text)
-- | Undocumented member.
projectArtifacts_bucketOwnerAccess :: Lens' ProjectArtifacts (Maybe BucketOwnerAccess)
-- | Set to true if you do not want your output artifacts encrypted. This
-- option is valid only if your artifacts type is Amazon S3. If this is
-- set with another artifacts type, an invalidInputException is thrown.
projectArtifacts_encryptionDisabled :: Lens' ProjectArtifacts (Maybe Bool)
-- | Information about the build output artifact location:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output locations instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output bucket.
--
projectArtifacts_location :: Lens' ProjectArtifacts (Maybe Text)
-- | Along with path and namespaceType, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output artifact object. If you set the name to be a forward slash
-- ("/"), the artifact is stored in the root of the output bucket.
--
--
-- 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 is stored
-- in MyArtifacts/<build-ID>/MyArtifact.zip.
-- - If path is empty, namespaceType is set to
-- NONE, and name is set to "/", the output
-- artifact is stored in the root of the output bucket.
-- - If path is set to MyArtifacts,
-- namespaceType is set to BUILD_ID, and name
-- is set to "/", the output artifact is stored in
-- MyArtifacts/<build-ID>.
--
projectArtifacts_name :: Lens' ProjectArtifacts (Maybe Text)
-- | Along with path and name, the pattern that CodeBuild
-- uses to determine the name and location to store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, 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, the output artifact is stored in
-- MyArtifacts/<build-ID>/MyArtifact.zip.
projectArtifacts_namespaceType :: Lens' ProjectArtifacts (Maybe ArtifactNamespace)
-- | If this flag is set, a name specified in the buildspec file overrides
-- the artifact name. The name specified in a buildspec file is
-- calculated at build time and uses the Shell Command Language. For
-- example, you can append a date and time to your artifact name so that
-- it is always unique.
projectArtifacts_overrideArtifactName :: Lens' ProjectArtifacts (Maybe Bool)
-- | The type of build output artifact to create:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output artifacts instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, valid values
-- include:
- NONE: CodeBuild creates in the output bucket
-- a folder that contains the build output. This is the default if
-- packaging is not specified.
- ZIP: CodeBuild
-- creates in the output bucket a ZIP file that contains the build
-- output.
--
projectArtifacts_packaging :: Lens' ProjectArtifacts (Maybe ArtifactPackaging)
-- | Along with namespaceType and name, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the path to the
-- output artifact. If path is not specified, path is
-- not used.
--
--
-- For example, if path is set to MyArtifacts,
-- namespaceType is set to NONE, and name is
-- set to MyArtifact.zip, the output artifact is stored in the
-- output bucket at MyArtifacts/MyArtifact.zip.
projectArtifacts_path :: Lens' ProjectArtifacts (Maybe Text)
-- | The type of build output artifact. Valid values include:
--
--
-- - CODEPIPELINE: The build project has build output
-- generated through CodePipeline.The CODEPIPELINE type is not
-- supported for secondaryArtifacts.
-- - NO_ARTIFACTS: The build project does not produce any
-- build output.
-- - S3: The build project stores build output in Amazon
-- S3.
--
projectArtifacts_type :: Lens' ProjectArtifacts ArtifactsType
-- | Set this to true to generate a publicly accessible URL for your
-- project's build badge.
projectBadge_badgeEnabled :: Lens' ProjectBadge (Maybe Bool)
-- | The publicly-accessible URL through which you can access the build
-- badge for your project.
projectBadge_badgeRequestUrl :: Lens' ProjectBadge (Maybe Text)
-- | Specifies how build status reports are sent to the source provider for
-- the batch build. This property is only used when the source provider
-- for your project is Bitbucket, GitHub, or GitHub Enterprise, and your
-- project is configured to report build statuses to the source provider.
--
-- REPORT_AGGREGATED_BATCH Aggregate all of the build statuses
-- into a single status report.
--
--
-- - REPORT_INDIVIDUAL_BUILDS Send a separate status report for
-- each individual build.
--
projectBuildBatchConfig_batchReportMode :: Lens' ProjectBuildBatchConfig (Maybe BatchReportModeType)
-- | Specifies if the build artifacts for the batch build should be
-- combined into a single artifact location.
projectBuildBatchConfig_combineArtifacts :: Lens' ProjectBuildBatchConfig (Maybe Bool)
-- | A BatchRestrictions object that specifies the restrictions
-- for the batch build.
projectBuildBatchConfig_restrictions :: Lens' ProjectBuildBatchConfig (Maybe BatchRestrictions)
-- | Specifies the service role ARN for the batch build project.
projectBuildBatchConfig_serviceRole :: Lens' ProjectBuildBatchConfig (Maybe Text)
-- | Specifies the maximum amount of time, in minutes, that the batch build
-- must be completed in.
projectBuildBatchConfig_timeoutInMins :: Lens' ProjectBuildBatchConfig (Maybe Int)
-- | Information about the cache location:
--
--
-- - NO_CACHE or LOCAL: This value is ignored.
-- - S3: This is the S3 bucket name/prefix.
--
projectCache_location :: Lens' ProjectCache (Maybe Text)
-- | An array of strings that specify the local cache modes. You can use
-- one or more local cache modes at the same time. This is only used for
-- LOCAL cache types.
--
-- Possible values are:
--
--
-- - LOCAL_SOURCE_CACHE Caches Git metadata for primary and
-- secondary sources. After the cache is created, subsequent builds pull
-- only the change between commits. This mode is a good choice for
-- projects with a clean working directory and a source that is a large
-- Git repository. If you choose this option and your project does not
-- use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the
-- option is ignored.
-- - LOCAL_DOCKER_LAYER_CACHE Caches existing Docker layers.
-- This mode is a good choice for projects that build or pull large
-- Docker images. It can prevent the performance issues caused by pulling
-- large Docker images down from the network.
- You can use a Docker
-- layer cache in the Linux environment only.
- The
-- privileged flag must be set so that your project has the
-- required Docker permissions.
- You should consider the security
-- implications before you use a Docker layer cache.
-- - LOCAL_CUSTOM_CACHE Caches directories you specify in the
-- buildspec file. This mode is a good choice if your build scenario is
-- not suited to one of the other three local cache modes. If you use a
-- custom cache:
- Only directories can be specified for caching.
-- You cannot specify individual files.
- Symlinks are used to
-- reference cached directories.
- Cached directories are linked to
-- your build before it downloads its project sources. Cached items are
-- overridden if a source item has the same name. Directories are
-- specified using cache paths in the buildspec file.
--
projectCache_modes :: Lens' ProjectCache (Maybe [CacheMode])
-- | The type of cache used by the build project. Valid values include:
--
--
-- - NO_CACHE: The build project does not use any cache.
-- - S3: The build project reads and writes from and to
-- S3.
-- - LOCAL: The build project stores a cache locally on a
-- build host that is only available to that build host.
--
projectCache_type :: Lens' ProjectCache CacheType
-- | The ARN of the Amazon S3 bucket, path prefix, and object key that
-- contains the PEM-encoded certificate for the build project. For more
-- information, see certificate in the CodeBuild User
-- Guide.
projectEnvironment_certificate :: Lens' ProjectEnvironment (Maybe Text)
-- | A set of environment variables to make available to builds for this
-- build project.
projectEnvironment_environmentVariables :: Lens' ProjectEnvironment (Maybe [EnvironmentVariable])
-- | The type of credentials CodeBuild uses to pull images in your build.
-- There are two valid values:
--
--
-- - CODEBUILD specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild service principal.
-- - SERVICE_ROLE specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When you use a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When you use an CodeBuild curated image, you
-- must use CODEBUILD credentials.
projectEnvironment_imagePullCredentialsType :: Lens' ProjectEnvironment (Maybe ImagePullCredentialsType)
-- | Enables running the Docker daemon inside a Docker container. Set to
-- true only if the build project is used to build Docker images.
-- Otherwise, a build that attempts to interact with the Docker daemon
-- fails. The default setting is false.
--
-- You can initialize the Docker daemon during the install phase of your
-- build by adding one of the following sets of commands to the install
-- phase of your buildspec file:
--
-- If the operating system's base image is Ubuntu Linux:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
--
--
-- If the operating system's base image is Alpine Linux and the previous
-- command does not work, add the -t argument to
-- timeout:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"
--
projectEnvironment_privilegedMode :: Lens' ProjectEnvironment (Maybe Bool)
-- | The credentials for access to a private registry.
projectEnvironment_registryCredential :: Lens' ProjectEnvironment (Maybe RegistryCredential)
-- | The type of build environment to use for related builds.
--
--
-- - The environment type ARM_CONTAINER is available only in
-- regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU
-- (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific
-- (Sydney), and EU (Frankfurt).
-- - The environment type LINUX_CONTAINER with compute type
-- build.general1.2xlarge is available only in regions US East
-- (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU
-- (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
-- Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney),
-- China (Beijing), and China (Ningxia).
-- - The environment type LINUX_GPU_CONTAINER is available
-- only in regions US East (N. Virginia), US East (Ohio), US West
-- (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt),
-- Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
-- Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
-- - The environment types WINDOWS_CONTAINER and
-- WINDOWS_SERVER_2019_CONTAINER are available only in regions
-- US East (N. Virginia), US East (Ohio), US West (Oregon), and EU
-- (Ireland).
--
--
-- For more information, see Build environment compute types in
-- the CodeBuild user guide.
projectEnvironment_type :: Lens' ProjectEnvironment EnvironmentType
-- | The image tag or image digest that identifies the Docker image to use
-- for this build project. Use the following formats:
--
--
-- - For an image tag:
-- <registry>/<repository>:<tag>. For example,
-- in the Docker repository that CodeBuild uses to manage its Docker
-- images, this would be aws/codebuild/standard:4.0.
-- - For an image digest:
-- <registry>/<repository>@<digest>. For
-- example, to specify an image with the digest
-- "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
-- use
-- <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
--
--
-- For more information, see Docker images provided by CodeBuild
-- in the CodeBuild user guide.
projectEnvironment_image :: Lens' ProjectEnvironment Text
-- | Information about the compute resources the build project uses.
-- 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 16 GB memory and 8 vCPUs
-- for builds, depending on your environment type.
-- - BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72
-- vCPUs, and 824 GB of SSD storage for builds. This compute type
-- supports Docker images up to 100 GB uncompressed.
--
--
-- If you use BUILD_GENERAL1_LARGE:
--
--
-- - For environment type LINUX_CONTAINER, you can use up to
-- 15 GB memory and 8 vCPUs for builds.
-- - For environment type LINUX_GPU_CONTAINER, you can use up
-- to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for
-- builds.
-- - For environment type ARM_CONTAINER, you can use up to 16
-- GB memory and 8 vCPUs on ARM-based processors for builds.
--
--
-- For more information, see Build Environment Compute Types in
-- the CodeBuild User Guide.
projectEnvironment_computeType :: Lens' ProjectEnvironment ComputeType
-- | The name used to access a file system created by Amazon EFS. CodeBuild
-- creates an environment variable by appending the identifier
-- in all capital letters to CODEBUILD_. For example, if you
-- specify my_efs for identifier, a new environment
-- variable is create named CODEBUILD_MY_EFS.
--
-- The identifier is used to mount your file system.
projectFileSystemLocation_identifier :: Lens' ProjectFileSystemLocation (Maybe Text)
-- | A string that specifies the location of the file system created by
-- Amazon EFS. Its format is efs-dns-name:/directory-path. You
-- can find the DNS name of file system when you view it in the Amazon
-- EFS console. The directory path is a path to a directory in the file
-- system that CodeBuild mounts. For example, if the DNS name of a file
-- system is fs-abcd1234.efs.us-west-2.amazonaws.com, and its
-- mount directory is my-efs-mount-directory, then the
-- location is
-- fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.
--
-- The directory path in the format efs-dns-name:/directory-path
-- is optional. If you do not specify a directory path, the location is
-- only the DNS name and CodeBuild mounts the entire file system.
projectFileSystemLocation_location :: Lens' ProjectFileSystemLocation (Maybe Text)
-- | The mount options for a file system created by Amazon EFS. The default
-- mount options used by CodeBuild are
-- nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2.
-- For more information, see Recommended NFS Mount Options.
projectFileSystemLocation_mountOptions :: Lens' ProjectFileSystemLocation (Maybe Text)
-- | The location in the container where you mount the file system.
projectFileSystemLocation_mountPoint :: Lens' ProjectFileSystemLocation (Maybe Text)
-- | The type of the file system. The one supported type is EFS.
projectFileSystemLocation_type :: Lens' ProjectFileSystemLocation (Maybe FileSystemType)
-- | Information about the authorization settings for CodeBuild to access
-- the source code to be built.
--
-- This information is for the CodeBuild console's use only. Your code
-- should not get or set this information directly.
projectSource_auth :: Lens' ProjectSource (Maybe SourceAuth)
-- | Contains information that defines how the build project reports the
-- build status to the source provider. This option is only used when the
-- source provider is GITHUB, GITHUB_ENTERPRISE, or
-- BITBUCKET.
projectSource_buildStatusConfig :: Lens' ProjectSource (Maybe BuildStatusConfig)
-- | The buildspec file declaration to use for the builds in this build
-- project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
projectSource_buildspec :: Lens' ProjectSource (Maybe Text)
-- | Information about the Git clone depth for the build project.
projectSource_gitCloneDepth :: Lens' ProjectSource (Maybe Natural)
-- | Information about the Git submodules configuration for the build
-- project.
projectSource_gitSubmodulesConfig :: Lens' ProjectSource (Maybe GitSubmodulesConfig)
-- | Enable this flag to ignore SSL warnings while connecting to the
-- project source code.
projectSource_insecureSsl :: 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 CodePipeline, location should not be
-- specified. If it is specified, CodePipeline ignores it. This is
-- because CodePipeline uses the settings in a pipeline's source action
-- instead of this value.
-- - For source code in an CodeCommit repository, the HTTPS clone URL
-- to the repository that contains the source code and the buildspec file
-- (for example,
-- https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>).
-- - For source code in an Amazon S3 input bucket, one of the
-- following.
- The path to the ZIP file that contains the source
-- code (for example,
-- <bucket-name>/<path>/<object-name>.zip).
- The
-- path to the folder that contains the source code (for example,
-- <bucket-name>/<path-to-source-code>/<folder>/).
-- - For source code in a GitHub repository, the HTTPS clone URL to the
-- repository that contains the source and the buildspec file. You must
-- connect your Amazon Web Services account to your GitHub account. Use
-- the CodeBuild console to start creating a build project. When you use
-- the console to connect (or reconnect) with GitHub, on the GitHub
-- Authorize application page, for Organization access,
-- choose Request access next to each repository you want to allow
-- CodeBuild to have access to, and then choose __Authorize
-- application__. (After you have connected to your GitHub account, you
-- do not need to finish creating the build project. You can leave the
-- CodeBuild console.) To instruct CodeBuild to 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 buildspec file. You
-- must connect your Amazon Web Services account to your Bitbucket
-- account. Use the CodeBuild console to start creating a build project.
-- When you use the console to connect (or reconnect) with Bitbucket, on
-- the Bitbucket Confirm access to your account page, choose
-- Grant access. (After you have connected to your Bitbucket
-- account, you do not need to finish creating the build project. You can
-- leave the CodeBuild console.) To instruct CodeBuild to use this
-- connection, in the source object, set the auth
-- object's type value to OAUTH.
--
--
-- If you specify CODEPIPELINE for the Type property,
-- don't specify this property. For all of the other types, you must
-- specify Location.
projectSource_location :: Lens' ProjectSource (Maybe Text)
-- | Set to true to report the status of a build's start and finish to your
-- source provider. This option is valid only when your source provider
-- is GitHub, GitHub Enterprise, or Bitbucket. If this is set and you use
-- a different source provider, an invalidInputException is
-- thrown.
--
-- To be able to report the build status to the source provider, the user
-- associated with the source provider must have write access to the
-- repo. If the user does not have write access, the build status cannot
-- be updated. For more information, see Source provider access in
-- the CodeBuild User Guide.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
--
-- If your project's builds are triggered by a webhook, you must push a
-- new commit to the repo for a change to this property to take effect.
projectSource_reportBuildStatus :: Lens' ProjectSource (Maybe Bool)
-- | An identifier for this project source. The identifier can only contain
-- alphanumeric characters and underscores, and must be less than 128
-- characters in length.
projectSource_sourceIdentifier :: Lens' ProjectSource (Maybe Text)
-- | 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 CodeCommit
-- repository.
-- - CODEPIPELINE: The source code settings are specified in
-- the source action of a pipeline in CodePipeline.
-- - GITHUB: The source code is in a GitHub or GitHub
-- Enterprise Cloud repository.
-- - GITHUB_ENTERPRISE: The source code is in a GitHub
-- Enterprise Server repository.
-- - NO_SOURCE: The project does not have input source
-- code.
-- - S3: The source code is in an Amazon S3 bucket.
--
projectSource_type :: Lens' ProjectSource SourceType
-- | An identifier for a source in the build project. The identifier can
-- only contain alphanumeric characters and underscores, and must be less
-- than 128 characters in length.
projectSourceVersion_sourceIdentifier :: Lens' ProjectSourceVersion Text
-- | The source version for the corresponding source identifier. If
-- specified, must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
projectSourceVersion_sourceVersion :: Lens' ProjectSourceVersion Text
-- | The Amazon Resource Name (ARN) or name of credentials created using
-- Secrets Manager.
--
-- The credential can use the name of the credentials only if
-- they exist in your current Amazon Web Services Region.
registryCredential_credential :: Lens' RegistryCredential Text
-- | The service that created the credentials to access a private Docker
-- registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
registryCredential_credentialProvider :: Lens' RegistryCredential CredentialProviderType
-- | The ARN of the report run.
report_arn :: Lens' Report (Maybe Text)
-- | A CodeCoverageReportSummary object that contains a code
-- coverage summary for this report.
report_codeCoverageSummary :: Lens' Report (Maybe CodeCoverageReportSummary)
-- | The date and time this report run occurred.
report_created :: Lens' Report (Maybe UTCTime)
-- | The ARN of the build run that generated this report.
report_executionId :: Lens' Report (Maybe Text)
-- | The date and time a report expires. A report expires 30 days after it
-- is created. An expired report is not available to view in CodeBuild.
report_expired :: Lens' Report (Maybe UTCTime)
-- | Information about where the raw data used to generate this report was
-- exported.
report_exportConfig :: Lens' Report (Maybe ReportExportConfig)
-- | The name of the report that was run.
report_name :: Lens' Report (Maybe Text)
-- | The ARN of the report group associated with this report.
report_reportGroupArn :: Lens' Report (Maybe Text)
-- | The status of this report.
report_status :: Lens' Report (Maybe ReportStatusType)
-- | A TestReportSummary object that contains information about
-- this test report.
report_testSummary :: Lens' Report (Maybe TestReportSummary)
-- | A boolean that specifies if this report run is truncated. The list of
-- test cases is truncated after the maximum number of test cases is
-- reached.
report_truncated :: Lens' Report (Maybe Bool)
-- | The type of the report that was run.
--
--
-- - CODE_COVERAGE A code coverage report.
-- - TEST A test report.
--
report_type :: Lens' Report (Maybe ReportType)
-- | The export configuration type. Valid values are:
--
--
-- - S3: The report results are exported to an S3 bucket.
-- - NO_EXPORT: The report results are not exported.
--
reportExportConfig_exportConfigType :: Lens' ReportExportConfig (Maybe ReportExportConfigType)
-- | A S3ReportExportConfig object that contains information about
-- the S3 bucket where the run of a report is exported.
reportExportConfig_s3Destination :: Lens' ReportExportConfig (Maybe S3ReportExportConfig)
-- | The status used to filter reports. You can filter using one status
-- only.
reportFilter_status :: Lens' ReportFilter (Maybe ReportStatusType)
-- | The ARN of the ReportGroup.
reportGroup_arn :: Lens' ReportGroup (Maybe Text)
-- | The date and time this ReportGroup was created.
reportGroup_created :: Lens' ReportGroup (Maybe UTCTime)
-- | Information about the destination where the raw data of this
-- ReportGroup is exported.
reportGroup_exportConfig :: Lens' ReportGroup (Maybe ReportExportConfig)
-- | The date and time this ReportGroup was last modified.
reportGroup_lastModified :: Lens' ReportGroup (Maybe UTCTime)
-- | The name of the ReportGroup.
reportGroup_name :: Lens' ReportGroup (Maybe Text)
-- | The status of the report group. This property is read-only.
--
-- This can be one of the following values:
--
--
-- - ACTIVE The report group is active.
-- - DELETING The report group is in the process of being
-- deleted.
--
reportGroup_status :: Lens' ReportGroup (Maybe ReportGroupStatusType)
-- | A list of tag key and value pairs associated with this report group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
reportGroup_tags :: Lens' ReportGroup (Maybe [Tag])
-- | The type of the ReportGroup. This can be one of the following
-- values:
--
--
-- - CODE_COVERAGE The report group contains code coverage
-- reports.
-- - TEST The report group contains test reports.
--
reportGroup_type :: Lens' ReportGroup (Maybe ReportType)
-- | Contains the average of all values analyzed.
reportGroupTrendStats_average :: Lens' ReportGroupTrendStats (Maybe Text)
-- | Contains the maximum value analyzed.
reportGroupTrendStats_max :: Lens' ReportGroupTrendStats (Maybe Text)
-- | Contains the minimum value analyzed.
reportGroupTrendStats_min :: Lens' ReportGroupTrendStats (Maybe Text)
-- | The value of the requested data field from the report.
reportWithRawData_data :: Lens' ReportWithRawData (Maybe Text)
-- | The ARN of the report.
reportWithRawData_reportArn :: Lens' ReportWithRawData (Maybe Text)
-- | The identifier of the artifact.
resolvedArtifact_identifier :: Lens' ResolvedArtifact (Maybe Text)
-- | The location of the artifact.
resolvedArtifact_location :: Lens' ResolvedArtifact (Maybe Text)
-- | Specifies the type of artifact.
resolvedArtifact_type :: Lens' ResolvedArtifact (Maybe ArtifactsType)
-- | Undocumented member.
s3LogsConfig_bucketOwnerAccess :: Lens' S3LogsConfig (Maybe BucketOwnerAccess)
-- | Set to true if you do not want your S3 build log output encrypted. By
-- default S3 build logs are encrypted.
s3LogsConfig_encryptionDisabled :: Lens' S3LogsConfig (Maybe Bool)
-- | The ARN of an S3 bucket and the path prefix for S3 logs. If your
-- Amazon S3 bucket name is my-bucket, and your path prefix is
-- build-log, then acceptable formats are
-- my-bucket/build-log or
-- arn:aws:s3:::my-bucket/build-log.
s3LogsConfig_location :: Lens' S3LogsConfig (Maybe Text)
-- | The current status of the S3 build logs. Valid values are:
--
--
-- - ENABLED: S3 build logs are enabled for this build
-- project.
-- - DISABLED: S3 build logs are not enabled for this build
-- project.
--
s3LogsConfig_status :: Lens' S3LogsConfig LogsConfigStatusType
-- | The name of the S3 bucket where the raw data of a report are exported.
s3ReportExportConfig_bucket :: Lens' S3ReportExportConfig (Maybe Text)
-- | The Amazon Web Services account identifier of the owner of the Amazon
-- S3 bucket. This allows report data to be exported to an Amazon S3
-- bucket that is owned by an account other than the account running the
-- build.
s3ReportExportConfig_bucketOwner :: Lens' S3ReportExportConfig (Maybe Text)
-- | A boolean value that specifies if the results of a report are
-- encrypted.
s3ReportExportConfig_encryptionDisabled :: Lens' S3ReportExportConfig (Maybe Bool)
-- | The encryption key for the report's encrypted raw data.
s3ReportExportConfig_encryptionKey :: Lens' S3ReportExportConfig (Maybe Text)
-- | The type of build output artifact to create. Valid values include:
--
--
-- - NONE: CodeBuild creates the raw data in the output
-- bucket. This is the default if packaging is not specified.
-- - ZIP: CodeBuild creates a ZIP file with the raw data in
-- the output bucket.
--
s3ReportExportConfig_packaging :: Lens' S3ReportExportConfig (Maybe ReportPackagingType)
-- | The path to the exported report's raw data results.
s3ReportExportConfig_path :: Lens' S3ReportExportConfig (Maybe Text)
-- | The resource value that applies to the specified authorization type.
sourceAuth_resource :: Lens' SourceAuth (Maybe Text)
-- | This data type is deprecated and is no longer accurate or used.
--
-- The authorization type to use. The only valid value is OAUTH,
-- which represents the OAuth authorization type.
sourceAuth_type :: Lens' SourceAuth SourceAuthType
-- | The Amazon Resource Name (ARN) of the token.
sourceCredentialsInfo_arn :: Lens' SourceCredentialsInfo (Maybe Text)
-- | The type of authentication used by the credentials. Valid options are
-- OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
sourceCredentialsInfo_authType :: Lens' SourceCredentialsInfo (Maybe AuthType)
-- | The type of source provider. The valid options are GITHUB,
-- GITHUB_ENTERPRISE, or BITBUCKET.
sourceCredentialsInfo_serverType :: Lens' SourceCredentialsInfo (Maybe ServerType)
-- | The tag's key.
tag_key :: Lens' Tag (Maybe Text)
-- | The tag's value.
tag_value :: Lens' Tag (Maybe Text)
-- | The number of nanoseconds it took to run this test case.
testCase_durationInNanoSeconds :: Lens' TestCase (Maybe Integer)
-- | The date and time a test case expires. A test case expires 30 days
-- after it is created. An expired test case is not available to view in
-- CodeBuild.
testCase_expired :: Lens' TestCase (Maybe UTCTime)
-- | A message associated with a test case. For example, an error message
-- or stack trace.
testCase_message :: Lens' TestCase (Maybe Text)
-- | The name of the test case.
testCase_name :: Lens' TestCase (Maybe Text)
-- | A string that is applied to a series of related test cases. CodeBuild
-- generates the prefix. The prefix depends on the framework used to
-- generate the tests.
testCase_prefix :: Lens' TestCase (Maybe Text)
-- | The ARN of the report to which the test case belongs.
testCase_reportArn :: Lens' TestCase (Maybe Text)
-- | The status returned by the test case after it was run. Valid statuses
-- are SUCCEEDED, FAILED, ERROR,
-- SKIPPED, and UNKNOWN.
testCase_status :: Lens' TestCase (Maybe Text)
-- | The path to the raw data file that contains the test result.
testCase_testRawDataPath :: Lens' TestCase (Maybe Text)
-- | A keyword that is used to filter on the name or the
-- prefix of the test cases. Only test cases where the keyword
-- is a substring of the name or the prefix will be
-- returned.
testCaseFilter_keyword :: Lens' TestCaseFilter (Maybe Text)
-- | The status used to filter test cases. A TestCaseFilter can
-- have one status. Valid values are:
--
--
-- SUCCEEDED
-- FAILED
-- ERROR
-- SKIPPED
-- UNKNOWN
--
testCaseFilter_status :: Lens' TestCaseFilter (Maybe Text)
-- | The number of test cases in this TestReportSummary. The total
-- includes truncated test cases.
testReportSummary_total :: Lens' TestReportSummary Int
-- | A map that contains the number of each type of status returned by the
-- test results in this TestReportSummary.
testReportSummary_statusCounts :: Lens' TestReportSummary (HashMap Text Int)
-- | The number of nanoseconds it took to run all of the test cases in this
-- report.
testReportSummary_durationInNanoSeconds :: Lens' TestReportSummary Integer
-- | A list of one or more security groups IDs in your Amazon VPC.
vpcConfig_securityGroupIds :: Lens' VpcConfig (Maybe [Text])
-- | A list of one or more subnet IDs in your Amazon VPC.
vpcConfig_subnets :: Lens' VpcConfig (Maybe [Text])
-- | The ID of the Amazon VPC.
vpcConfig_vpcId :: Lens' VpcConfig (Maybe Text)
-- | A regular expression used to determine which repository branches are
-- built when a webhook is triggered. If the name of a branch matches the
-- regular expression, then it is built. If branchFilter is
-- empty, then all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
webhook_branchFilter :: Lens' Webhook (Maybe Text)
-- | Specifies the type of build this webhook will trigger.
webhook_buildType :: Lens' Webhook (Maybe WebhookBuildType)
-- | An array of arrays of WebhookFilter objects used to determine
-- which webhooks are triggered. At least one WebhookFilter in
-- the array must specify EVENT as its type.
--
-- For a build to be triggered, at least one filter group in the
-- filterGroups array must pass. For a filter group to pass,
-- each of its filters must pass.
webhook_filterGroups :: Lens' Webhook (Maybe [[WebhookFilter]])
-- | A timestamp that indicates the last time a repository's secret token
-- was modified.
webhook_lastModifiedSecret :: Lens' Webhook (Maybe UTCTime)
-- | The CodeBuild endpoint where webhook events are sent.
webhook_payloadUrl :: Lens' Webhook (Maybe Text)
-- | The secret token of the associated repository.
--
-- A Bitbucket webhook does not support secret.
webhook_secret :: Lens' Webhook (Maybe Text)
-- | The URL to the webhook.
webhook_url :: Lens' Webhook (Maybe Text)
-- | Used to indicate that the pattern determines which webhook
-- events do not trigger a build. If true, then a webhook event that does
-- not match the pattern triggers a build. If false, then a
-- webhook event that matches the pattern triggers a build.
webhookFilter_excludeMatchedPattern :: Lens' WebhookFilter (Maybe Bool)
-- | The type of webhook filter. There are six webhook filter types:
-- EVENT, ACTOR_ACCOUNT_ID, HEAD_REF,
-- BASE_REF, FILE_PATH, and COMMIT_MESSAGE.
--
--
-- - EVENT A webhook event triggers a build when the provided
-- pattern matches one of five event types: PUSH,
-- PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED,
-- PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The
-- EVENT patterns are specified as a comma-separated string. For
-- example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED
-- filters all push, pull request created, and pull request updated
-- events.The PULL_REQUEST_REOPENED works with GitHub and GitHub
-- Enterprise only.
-- - ACTOR_ACCOUNT_ID A webhook event triggers a build when a
-- GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular
-- expression pattern.
-- - HEAD_REF A webhook event triggers a build when the head
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name and
-- refs/tags/tag-name.Works with GitHub and GitHub Enterprise
-- push, GitHub and GitHub Enterprise pull request, Bitbucket push, and
-- Bitbucket pull request events.
-- - BASE_REF A webhook event triggers a build when the base
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name.Works with pull request
-- events only.
-- - FILE_PATH A webhook triggers a build when the path of a
-- changed file matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
-- - COMMIT_MESSAGE A webhook triggers a build when the head
-- commit message matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
--
webhookFilter_type :: Lens' WebhookFilter WebhookFilterType
-- | For a WebHookFilter that uses EVENT type, a
-- comma-separated string that specifies one or more events. For example,
-- the webhook filter PUSH, PULL_REQUEST_CREATED,
-- PULL_REQUEST_UPDATED allows all push, pull request created, and
-- pull request updated events to trigger a build.
--
-- For a WebHookFilter that uses any of the other filter types,
-- a regular expression pattern. For example, a WebHookFilter
-- that uses HEAD_REF for its type and the pattern
-- ^refs/heads/ triggers a build when the head reference is a
-- branch with a reference name refs/heads/branch-name.
webhookFilter_pattern :: Lens' WebhookFilter Text
module Amazonka.CodeBuild.Waiters
-- | Derived from API version 2016-10-06 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- CodeBuild
--
-- CodeBuild is a fully managed build service in the cloud. CodeBuild
-- compiles your source code, runs unit tests, and produces artifacts
-- that are ready to deploy. 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 CodeBuild to use your own build
-- tools. CodeBuild scales automatically to meet peak build requests. You
-- pay only for the build time you consume. For more information about
-- CodeBuild, see the
-- <https:docs.aws.amazon.comcodebuildlatestuserguidewelcome.html
-- CodeBuild User Guide>.
module Amazonka.CodeBuild
-- | API version 2016-10-06 of the Amazon CodeBuild SDK
-- configuration.
defaultService :: Service
-- | An Amazon Web Services service limit was exceeded for the calling
-- Amazon Web Services account.
_AccountLimitExceededException :: AsError a => Fold a ServiceError
-- | The input value that was provided is not valid.
_InvalidInputException :: AsError a => Fold a ServiceError
-- | There was a problem with the underlying OAuth provider.
_OAuthProviderException :: AsError a => Fold a ServiceError
-- | The specified Amazon Web Services resource cannot be created, because
-- an Amazon Web Services resource with the same settings already exists.
_ResourceAlreadyExistsException :: AsError a => Fold a ServiceError
-- | The specified Amazon Web Services resource cannot be found.
_ResourceNotFoundException :: AsError a => Fold a ServiceError
-- | See: newBatchDeleteBuilds smart constructor.
data BatchDeleteBuilds
BatchDeleteBuilds' :: NonEmpty Text -> BatchDeleteBuilds
-- | Create a value of BatchDeleteBuilds with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ids:BatchDeleteBuilds', batchDeleteBuilds_ids - The
-- IDs of the builds to delete.
newBatchDeleteBuilds :: NonEmpty Text -> BatchDeleteBuilds
-- | See: newBatchDeleteBuildsResponse smart constructor.
data BatchDeleteBuildsResponse
BatchDeleteBuildsResponse' :: Maybe (NonEmpty Text) -> Maybe [BuildNotDeleted] -> Int -> BatchDeleteBuildsResponse
-- | Create a value of BatchDeleteBuildsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:buildsDeleted:BatchDeleteBuildsResponse',
-- batchDeleteBuildsResponse_buildsDeleted - The IDs of the builds
-- that were successfully deleted.
--
-- $sel:buildsNotDeleted:BatchDeleteBuildsResponse',
-- batchDeleteBuildsResponse_buildsNotDeleted - Information about
-- any builds that could not be successfully deleted.
--
-- $sel:httpStatus:BatchDeleteBuildsResponse',
-- batchDeleteBuildsResponse_httpStatus - The response's http
-- status code.
newBatchDeleteBuildsResponse :: Int -> BatchDeleteBuildsResponse
-- | See: newBatchGetBuildBatches smart constructor.
data BatchGetBuildBatches
BatchGetBuildBatches' :: [Text] -> BatchGetBuildBatches
-- | Create a value of BatchGetBuildBatches with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ids:BatchGetBuildBatches', batchGetBuildBatches_ids
-- - An array that contains the batch build identifiers to retrieve.
newBatchGetBuildBatches :: BatchGetBuildBatches
-- | See: newBatchGetBuildBatchesResponse smart constructor.
data BatchGetBuildBatchesResponse
BatchGetBuildBatchesResponse' :: Maybe [BuildBatch] -> Maybe [Text] -> Int -> BatchGetBuildBatchesResponse
-- | Create a value of BatchGetBuildBatchesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:buildBatches:BatchGetBuildBatchesResponse',
-- batchGetBuildBatchesResponse_buildBatches - An array of
-- BuildBatch objects that represent the retrieved batch builds.
--
-- $sel:buildBatchesNotFound:BatchGetBuildBatchesResponse',
-- batchGetBuildBatchesResponse_buildBatchesNotFound - An array
-- that contains the identifiers of any batch builds that are not found.
--
-- $sel:httpStatus:BatchGetBuildBatchesResponse',
-- batchGetBuildBatchesResponse_httpStatus - The response's http
-- status code.
newBatchGetBuildBatchesResponse :: Int -> BatchGetBuildBatchesResponse
-- | See: newBatchGetBuilds smart constructor.
data BatchGetBuilds
BatchGetBuilds' :: NonEmpty Text -> BatchGetBuilds
-- | Create a value of BatchGetBuilds with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ids:BatchGetBuilds', batchGetBuilds_ids - The IDs
-- of the builds.
newBatchGetBuilds :: NonEmpty Text -> BatchGetBuilds
-- | See: newBatchGetBuildsResponse smart constructor.
data BatchGetBuildsResponse
BatchGetBuildsResponse' :: Maybe [Build] -> Maybe (NonEmpty Text) -> Int -> BatchGetBuildsResponse
-- | Create a value of BatchGetBuildsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:builds:BatchGetBuildsResponse',
-- batchGetBuildsResponse_builds - Information about the requested
-- builds.
--
-- $sel:buildsNotFound:BatchGetBuildsResponse',
-- batchGetBuildsResponse_buildsNotFound - The IDs of builds for
-- which information could not be found.
--
-- $sel:httpStatus:BatchGetBuildsResponse',
-- batchGetBuildsResponse_httpStatus - The response's http status
-- code.
newBatchGetBuildsResponse :: Int -> BatchGetBuildsResponse
-- | See: newBatchGetProjects smart constructor.
data BatchGetProjects
BatchGetProjects' :: NonEmpty Text -> BatchGetProjects
-- | Create a value of BatchGetProjects with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:names:BatchGetProjects', batchGetProjects_names -
-- The names or ARNs of the build projects. To get information about a
-- project shared with your Amazon Web Services account, its ARN must be
-- specified. You cannot specify a shared project using its name.
newBatchGetProjects :: NonEmpty Text -> BatchGetProjects
-- | See: newBatchGetProjectsResponse smart constructor.
data BatchGetProjectsResponse
BatchGetProjectsResponse' :: Maybe [Project] -> Maybe (NonEmpty Text) -> Int -> BatchGetProjectsResponse
-- | Create a value of BatchGetProjectsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:projects:BatchGetProjectsResponse',
-- batchGetProjectsResponse_projects - Information about the
-- requested build projects.
--
-- $sel:projectsNotFound:BatchGetProjectsResponse',
-- batchGetProjectsResponse_projectsNotFound - The names of build
-- projects for which information could not be found.
--
-- $sel:httpStatus:BatchGetProjectsResponse',
-- batchGetProjectsResponse_httpStatus - The response's http
-- status code.
newBatchGetProjectsResponse :: Int -> BatchGetProjectsResponse
-- | See: newBatchGetReportGroups smart constructor.
data BatchGetReportGroups
BatchGetReportGroups' :: NonEmpty Text -> BatchGetReportGroups
-- | Create a value of BatchGetReportGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:reportGroupArns:BatchGetReportGroups',
-- batchGetReportGroups_reportGroupArns - An array of report group
-- ARNs that identify the report groups to return.
newBatchGetReportGroups :: NonEmpty Text -> BatchGetReportGroups
-- | See: newBatchGetReportGroupsResponse smart constructor.
data BatchGetReportGroupsResponse
BatchGetReportGroupsResponse' :: Maybe (NonEmpty ReportGroup) -> Maybe (NonEmpty Text) -> Int -> BatchGetReportGroupsResponse
-- | Create a value of BatchGetReportGroupsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:reportGroups:BatchGetReportGroupsResponse',
-- batchGetReportGroupsResponse_reportGroups - The array of report
-- groups returned by BatchGetReportGroups.
--
-- $sel:reportGroupsNotFound:BatchGetReportGroupsResponse',
-- batchGetReportGroupsResponse_reportGroupsNotFound - An array of
-- ARNs passed to BatchGetReportGroups that are not associated
-- with a ReportGroup.
--
-- $sel:httpStatus:BatchGetReportGroupsResponse',
-- batchGetReportGroupsResponse_httpStatus - The response's http
-- status code.
newBatchGetReportGroupsResponse :: Int -> BatchGetReportGroupsResponse
-- | See: newBatchGetReports smart constructor.
data BatchGetReports
BatchGetReports' :: NonEmpty Text -> BatchGetReports
-- | Create a value of BatchGetReports with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- BatchGetReports, batchGetReports_reportArns - An array
-- of ARNs that identify the Report objects to return.
newBatchGetReports :: NonEmpty Text -> BatchGetReports
-- | See: newBatchGetReportsResponse smart constructor.
data BatchGetReportsResponse
BatchGetReportsResponse' :: Maybe (NonEmpty Report) -> Maybe (NonEmpty Text) -> Int -> BatchGetReportsResponse
-- | Create a value of BatchGetReportsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:reports:BatchGetReportsResponse',
-- batchGetReportsResponse_reports - The array of Report
-- objects returned by BatchGetReports.
--
-- $sel:reportsNotFound:BatchGetReportsResponse',
-- batchGetReportsResponse_reportsNotFound - An array of ARNs
-- passed to BatchGetReportGroups that are not associated with a
-- Report.
--
-- $sel:httpStatus:BatchGetReportsResponse',
-- batchGetReportsResponse_httpStatus - The response's http status
-- code.
newBatchGetReportsResponse :: Int -> BatchGetReportsResponse
-- | See: newCreateProject smart constructor.
data CreateProject
CreateProject' :: Maybe Bool -> Maybe ProjectBuildBatchConfig -> Maybe ProjectCache -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe [ProjectFileSystemLocation] -> Maybe LogsConfig -> Maybe Natural -> Maybe [ProjectArtifacts] -> Maybe [ProjectSourceVersion] -> Maybe [ProjectSource] -> Maybe Text -> Maybe [Tag] -> Maybe Natural -> Maybe VpcConfig -> Text -> ProjectSource -> ProjectArtifacts -> ProjectEnvironment -> Text -> CreateProject
-- | Create a value of CreateProject with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateProject, createProject_badgeEnabled - Set this to
-- true to generate a publicly accessible URL for your project's build
-- badge.
--
-- CreateProject, createProject_buildBatchConfig - A
-- ProjectBuildBatchConfig object that defines the batch build options
-- for the project.
--
-- CreateProject, createProject_cache - Stores recently
-- used information so that it can be quickly accessed at a later time.
--
-- CreateProject, createProject_concurrentBuildLimit - The
-- maximum number of concurrent builds that are allowed for this project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
--
-- CreateProject, createProject_description - A description
-- that makes the build project easy to identify.
--
-- CreateProject, createProject_encryptionKey - The Key
-- Management Service customer master key (CMK) to be used for encrypting
-- the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
--
-- CreateProject, createProject_fileSystemLocations - An
-- array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
--
-- CreateProject, createProject_logsConfig - Information
-- about logs for the build project. These can be logs in CloudWatch
-- Logs, logs uploaded to a specified S3 bucket, or both.
--
-- CreateProject, createProject_queuedTimeoutInMinutes -
-- The number of minutes a build is allowed to be queued before it times
-- out.
--
-- CreateProject, createProject_secondaryArtifacts - An
-- array of ProjectArtifacts objects.
--
-- CreateProject, createProject_secondarySourceVersions -
-- An array of ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take precedence over these secondarySourceVersions (at
-- the project level).
--
-- CreateProject, createProject_secondarySources - An array
-- of ProjectSource objects.
--
-- CreateProject, createProject_sourceVersion - A version
-- of the build input to be built for this project. If not specified, the
-- latest version is used. If specified, it must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
--
-- CreateProject, createProject_tags - A list of tag key
-- and value pairs associated with this build project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
--
-- CreateProject, createProject_timeoutInMinutes - How
-- long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
-- before it times out any build that has not been marked as completed.
-- The default is 60 minutes.
--
-- CreateProject, createProject_vpcConfig - VpcConfig
-- enables CodeBuild to access resources in an Amazon VPC.
--
-- CreateProject, createProject_name - The name of the
-- build project.
--
-- CreateProject, createProject_source - Information about
-- the build input source code for the build project.
--
-- CreateProject, createProject_artifacts - Information
-- about the build output artifacts for the build project.
--
-- CreateProject, createProject_environment - Information
-- about the build environment for the build project.
--
-- CreateProject, createProject_serviceRole - The ARN of
-- the IAM role that enables CodeBuild to interact with dependent Amazon
-- Web Services services on behalf of the Amazon Web Services account.
newCreateProject :: Text -> ProjectSource -> ProjectArtifacts -> ProjectEnvironment -> Text -> CreateProject
-- | See: newCreateProjectResponse smart constructor.
data CreateProjectResponse
CreateProjectResponse' :: Maybe Project -> Int -> CreateProjectResponse
-- | Create a value of CreateProjectResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:project:CreateProjectResponse',
-- createProjectResponse_project - Information about the build
-- project that was created.
--
-- $sel:httpStatus:CreateProjectResponse',
-- createProjectResponse_httpStatus - The response's http status
-- code.
newCreateProjectResponse :: Int -> CreateProjectResponse
-- | See: newCreateReportGroup smart constructor.
data CreateReportGroup
CreateReportGroup' :: Maybe [Tag] -> Text -> ReportType -> ReportExportConfig -> CreateReportGroup
-- | Create a value of CreateReportGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateReportGroup, createReportGroup_tags - A list of
-- tag key and value pairs associated with this report group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
--
-- CreateReportGroup, createReportGroup_name - The name of
-- the report group.
--
-- CreateReportGroup, createReportGroup_type - The type of
-- report group.
--
-- CreateReportGroup, createReportGroup_exportConfig - A
-- ReportExportConfig object that contains information about
-- where the report group test results are exported.
newCreateReportGroup :: Text -> ReportType -> ReportExportConfig -> CreateReportGroup
-- | See: newCreateReportGroupResponse smart constructor.
data CreateReportGroupResponse
CreateReportGroupResponse' :: Maybe ReportGroup -> Int -> CreateReportGroupResponse
-- | Create a value of CreateReportGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:reportGroup:CreateReportGroupResponse',
-- createReportGroupResponse_reportGroup - Information about the
-- report group that was created.
--
-- $sel:httpStatus:CreateReportGroupResponse',
-- createReportGroupResponse_httpStatus - The response's http
-- status code.
newCreateReportGroupResponse :: Int -> CreateReportGroupResponse
-- | See: newCreateWebhook smart constructor.
data CreateWebhook
CreateWebhook' :: Maybe Text -> Maybe WebhookBuildType -> Maybe [[WebhookFilter]] -> Text -> CreateWebhook
-- | Create a value of CreateWebhook with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateWebhook, createWebhook_branchFilter - A regular
-- expression used to determine which repository branches are built when
-- a webhook is triggered. If the name of a branch matches the regular
-- expression, then it is built. If branchFilter is empty, then
-- all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
--
-- CreateWebhook, createWebhook_buildType - Specifies the
-- type of build this webhook will trigger.
--
-- CreateWebhook, createWebhook_filterGroups - An array of
-- arrays of WebhookFilter objects used to determine which
-- webhooks are triggered. At least one WebhookFilter in the
-- array must specify EVENT as its type.
--
-- For a build to be triggered, at least one filter group in the
-- filterGroups array must pass. For a filter group to pass,
-- each of its filters must pass.
--
-- CreateWebhook, createWebhook_projectName - The name of
-- the CodeBuild project.
newCreateWebhook :: Text -> CreateWebhook
-- | See: newCreateWebhookResponse smart constructor.
data CreateWebhookResponse
CreateWebhookResponse' :: Maybe Webhook -> Int -> CreateWebhookResponse
-- | Create a value of CreateWebhookResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateWebhookResponse, createWebhookResponse_webhook -
-- Information about a webhook that connects repository events to a build
-- project in CodeBuild.
--
-- $sel:httpStatus:CreateWebhookResponse',
-- createWebhookResponse_httpStatus - The response's http status
-- code.
newCreateWebhookResponse :: Int -> CreateWebhookResponse
-- | See: newDeleteBuildBatch smart constructor.
data DeleteBuildBatch
DeleteBuildBatch' :: Text -> DeleteBuildBatch
-- | Create a value of DeleteBuildBatch with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteBuildBatch, deleteBuildBatch_id - The identifier
-- of the batch build to delete.
newDeleteBuildBatch :: Text -> DeleteBuildBatch
-- | See: newDeleteBuildBatchResponse smart constructor.
data DeleteBuildBatchResponse
DeleteBuildBatchResponse' :: Maybe (NonEmpty Text) -> Maybe [BuildNotDeleted] -> Maybe Text -> Int -> DeleteBuildBatchResponse
-- | Create a value of DeleteBuildBatchResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:buildsDeleted:DeleteBuildBatchResponse',
-- deleteBuildBatchResponse_buildsDeleted - An array of strings
-- that contain the identifiers of the builds that were deleted.
--
-- $sel:buildsNotDeleted:DeleteBuildBatchResponse',
-- deleteBuildBatchResponse_buildsNotDeleted - An array of
-- BuildNotDeleted objects that specify the builds that could
-- not be deleted.
--
-- DeleteBuildBatchResponse,
-- deleteBuildBatchResponse_statusCode - The status code.
--
-- $sel:httpStatus:DeleteBuildBatchResponse',
-- deleteBuildBatchResponse_httpStatus - The response's http
-- status code.
newDeleteBuildBatchResponse :: Int -> DeleteBuildBatchResponse
-- | See: newDeleteProject smart constructor.
data DeleteProject
DeleteProject' :: Text -> DeleteProject
-- | Create a value of DeleteProject with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteProject, deleteProject_name - The name of the
-- build project.
newDeleteProject :: Text -> DeleteProject
-- | See: newDeleteProjectResponse smart constructor.
data DeleteProjectResponse
DeleteProjectResponse' :: Int -> DeleteProjectResponse
-- | Create a value of DeleteProjectResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteProjectResponse',
-- deleteProjectResponse_httpStatus - The response's http status
-- code.
newDeleteProjectResponse :: Int -> DeleteProjectResponse
-- | See: newDeleteReport smart constructor.
data DeleteReport
DeleteReport' :: Text -> DeleteReport
-- | Create a value of DeleteReport with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteReport, deleteReport_arn - The ARN of the report
-- to delete.
newDeleteReport :: Text -> DeleteReport
-- | See: newDeleteReportResponse smart constructor.
data DeleteReportResponse
DeleteReportResponse' :: Int -> DeleteReportResponse
-- | Create a value of DeleteReportResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteReportResponse',
-- deleteReportResponse_httpStatus - The response's http status
-- code.
newDeleteReportResponse :: Int -> DeleteReportResponse
-- | See: newDeleteReportGroup smart constructor.
data DeleteReportGroup
DeleteReportGroup' :: Maybe Bool -> Text -> DeleteReportGroup
-- | Create a value of DeleteReportGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:deleteReports:DeleteReportGroup',
-- deleteReportGroup_deleteReports - If true, deletes any
-- reports that belong to a report group before deleting the report
-- group.
--
-- If false, you must delete any reports in the report group.
-- Use ListReportsForReportGroup to get the reports in a report
-- group. Use DeleteReport to delete the reports. If you call
-- DeleteReportGroup for a report group that contains one or
-- more reports, an exception is thrown.
--
-- DeleteReportGroup, deleteReportGroup_arn - The ARN of
-- the report group to delete.
newDeleteReportGroup :: Text -> DeleteReportGroup
-- | See: newDeleteReportGroupResponse smart constructor.
data DeleteReportGroupResponse
DeleteReportGroupResponse' :: Int -> DeleteReportGroupResponse
-- | Create a value of DeleteReportGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteReportGroupResponse',
-- deleteReportGroupResponse_httpStatus - The response's http
-- status code.
newDeleteReportGroupResponse :: Int -> DeleteReportGroupResponse
-- | See: newDeleteResourcePolicy smart constructor.
data DeleteResourcePolicy
DeleteResourcePolicy' :: Text -> DeleteResourcePolicy
-- | Create a value of DeleteResourcePolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:DeleteResourcePolicy',
-- deleteResourcePolicy_resourceArn - The ARN of the resource that
-- is associated with the resource policy.
newDeleteResourcePolicy :: Text -> DeleteResourcePolicy
-- | See: newDeleteResourcePolicyResponse smart constructor.
data DeleteResourcePolicyResponse
DeleteResourcePolicyResponse' :: Int -> DeleteResourcePolicyResponse
-- | Create a value of DeleteResourcePolicyResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteResourcePolicyResponse',
-- deleteResourcePolicyResponse_httpStatus - The response's http
-- status code.
newDeleteResourcePolicyResponse :: Int -> DeleteResourcePolicyResponse
-- | See: newDeleteSourceCredentials smart constructor.
data DeleteSourceCredentials
DeleteSourceCredentials' :: Text -> DeleteSourceCredentials
-- | Create a value of DeleteSourceCredentials with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteSourceCredentials, deleteSourceCredentials_arn -
-- The Amazon Resource Name (ARN) of the token.
newDeleteSourceCredentials :: Text -> DeleteSourceCredentials
-- | See: newDeleteSourceCredentialsResponse smart
-- constructor.
data DeleteSourceCredentialsResponse
DeleteSourceCredentialsResponse' :: Maybe Text -> Int -> DeleteSourceCredentialsResponse
-- | Create a value of DeleteSourceCredentialsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteSourceCredentials,
-- deleteSourceCredentialsResponse_arn - The Amazon Resource Name
-- (ARN) of the token.
--
-- $sel:httpStatus:DeleteSourceCredentialsResponse',
-- deleteSourceCredentialsResponse_httpStatus - The response's
-- http status code.
newDeleteSourceCredentialsResponse :: Int -> DeleteSourceCredentialsResponse
-- | See: newDeleteWebhook smart constructor.
data DeleteWebhook
DeleteWebhook' :: Text -> DeleteWebhook
-- | Create a value of DeleteWebhook with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteWebhook, deleteWebhook_projectName - The name of
-- the CodeBuild project.
newDeleteWebhook :: Text -> DeleteWebhook
-- | See: newDeleteWebhookResponse smart constructor.
data DeleteWebhookResponse
DeleteWebhookResponse' :: Int -> DeleteWebhookResponse
-- | Create a value of DeleteWebhookResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteWebhookResponse',
-- deleteWebhookResponse_httpStatus - The response's http status
-- code.
newDeleteWebhookResponse :: Int -> DeleteWebhookResponse
-- | See: newDescribeCodeCoverages smart constructor.
data DescribeCodeCoverages
DescribeCodeCoverages' :: Maybe Double -> Maybe Natural -> Maybe Double -> Maybe Text -> Maybe ReportCodeCoverageSortByType -> Maybe SortOrderType -> Text -> DescribeCodeCoverages
-- | Create a value of DescribeCodeCoverages with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxLineCoveragePercentage:DescribeCodeCoverages',
-- describeCodeCoverages_maxLineCoveragePercentage - The maximum
-- line coverage percentage to report.
--
-- $sel:maxResults:DescribeCodeCoverages',
-- describeCodeCoverages_maxResults - The maximum number of
-- results to return.
--
-- $sel:minLineCoveragePercentage:DescribeCodeCoverages',
-- describeCodeCoverages_minLineCoveragePercentage - The minimum
-- line coverage percentage to report.
--
-- DescribeCodeCoverages, describeCodeCoverages_nextToken -
-- The nextToken value returned from a previous call to
-- DescribeCodeCoverages. This specifies the next item to
-- return. To return the beginning of the list, exclude this parameter.
--
-- $sel:sortBy:DescribeCodeCoverages',
-- describeCodeCoverages_sortBy - Specifies how the results are
-- sorted. Possible values are:
--
--
-- - FILE_PATH The results are sorted by file path.
-- - LINE_COVERAGE_PERCENTAGE The results are sorted by the
-- percentage of lines that are covered.
--
--
-- $sel:sortOrder:DescribeCodeCoverages',
-- describeCodeCoverages_sortOrder - Specifies if the results are
-- sorted in ascending or descending order.
--
-- DescribeCodeCoverages, describeCodeCoverages_reportArn -
-- The ARN of the report for which test cases are returned.
newDescribeCodeCoverages :: Text -> DescribeCodeCoverages
-- | See: newDescribeCodeCoveragesResponse smart constructor.
data DescribeCodeCoveragesResponse
DescribeCodeCoveragesResponse' :: Maybe [CodeCoverage] -> Maybe Text -> Int -> DescribeCodeCoveragesResponse
-- | Create a value of DescribeCodeCoveragesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:codeCoverages:DescribeCodeCoveragesResponse',
-- describeCodeCoveragesResponse_codeCoverages - An array of
-- CodeCoverage objects that contain the results.
--
-- DescribeCodeCoverages,
-- describeCodeCoveragesResponse_nextToken - If there are more
-- items to return, this contains a token that is passed to a subsequent
-- call to DescribeCodeCoverages to retrieve the next set of
-- items.
--
-- $sel:httpStatus:DescribeCodeCoveragesResponse',
-- describeCodeCoveragesResponse_httpStatus - The response's http
-- status code.
newDescribeCodeCoveragesResponse :: Int -> DescribeCodeCoveragesResponse
-- | See: newDescribeTestCases smart constructor.
data DescribeTestCases
DescribeTestCases' :: Maybe TestCaseFilter -> Maybe Natural -> Maybe Text -> Text -> DescribeTestCases
-- | Create a value of DescribeTestCases with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filter':DescribeTestCases',
-- describeTestCases_filter - A TestCaseFilter object
-- used to filter the returned reports.
--
-- $sel:maxResults:DescribeTestCases',
-- describeTestCases_maxResults - The maximum number of paginated
-- test cases returned per response. Use nextToken to iterate
-- pages in the list of returned TestCase objects. The default
-- value is 100.
--
-- DescribeTestCases, describeTestCases_nextToken - During
-- a previous call, the maximum number of items that can be returned is
-- the value specified in maxResults. If there more items in the
-- list, then a unique string called a nextToken is returned. 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.
--
-- DescribeTestCases, describeTestCases_reportArn - The ARN
-- of the report for which test cases are returned.
newDescribeTestCases :: Text -> DescribeTestCases
-- | See: newDescribeTestCasesResponse smart constructor.
data DescribeTestCasesResponse
DescribeTestCasesResponse' :: Maybe Text -> Maybe [TestCase] -> Int -> DescribeTestCasesResponse
-- | Create a value of DescribeTestCasesResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeTestCases, describeTestCasesResponse_nextToken -
-- During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
--
-- $sel:testCases:DescribeTestCasesResponse',
-- describeTestCasesResponse_testCases - The returned list of test
-- cases.
--
-- $sel:httpStatus:DescribeTestCasesResponse',
-- describeTestCasesResponse_httpStatus - The response's http
-- status code.
newDescribeTestCasesResponse :: Int -> DescribeTestCasesResponse
-- | See: newGetReportGroupTrend smart constructor.
data GetReportGroupTrend
GetReportGroupTrend' :: Maybe Natural -> Text -> ReportGroupTrendFieldType -> GetReportGroupTrend
-- | Create a value of GetReportGroupTrend with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:numOfReports:GetReportGroupTrend',
-- getReportGroupTrend_numOfReports - The number of reports to
-- analyze. This operation always retrieves the most recent reports.
--
-- If this parameter is omitted, the most recent 100 reports are
-- analyzed.
--
-- GetReportGroupTrend, getReportGroupTrend_reportGroupArn
-- - The ARN of the report group that contains the reports to analyze.
--
-- $sel:trendField:GetReportGroupTrend',
-- getReportGroupTrend_trendField - The test report value to
-- accumulate. This must be one of the following values:
--
--
-- - Test reports:
-- - DURATION Accumulate the test run times for the specified
-- reports.
- PASS_RATE Accumulate the percentage of tests
-- that passed for the specified test reports.
- TOTAL
-- Accumulate the total number of tests for the specified test
-- reports.
-- - Code coverage reports:
-- - BRANCH_COVERAGE Accumulate the branch coverage percentages
-- for the specified test reports.
- BRANCHES_COVERED
-- Accumulate the branches covered values for the specified test
-- reports.
- BRANCHES_MISSED Accumulate the branches missed
-- values for the specified test reports.
- LINE_COVERAGE
-- Accumulate the line coverage percentages for the specified test
-- reports.
- LINES_COVERED Accumulate the lines covered
-- values for the specified test reports.
- LINES_MISSED
-- Accumulate the lines not covered values for the specified test
-- reports.
--
newGetReportGroupTrend :: Text -> ReportGroupTrendFieldType -> GetReportGroupTrend
-- | See: newGetReportGroupTrendResponse smart constructor.
data GetReportGroupTrendResponse
GetReportGroupTrendResponse' :: Maybe [ReportWithRawData] -> Maybe ReportGroupTrendStats -> Int -> GetReportGroupTrendResponse
-- | Create a value of GetReportGroupTrendResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:rawData:GetReportGroupTrendResponse',
-- getReportGroupTrendResponse_rawData - An array that contains
-- the raw data for each report.
--
-- $sel:stats:GetReportGroupTrendResponse',
-- getReportGroupTrendResponse_stats - Contains the accumulated
-- trend data.
--
-- $sel:httpStatus:GetReportGroupTrendResponse',
-- getReportGroupTrendResponse_httpStatus - The response's http
-- status code.
newGetReportGroupTrendResponse :: Int -> GetReportGroupTrendResponse
-- | See: newGetResourcePolicy smart constructor.
data GetResourcePolicy
GetResourcePolicy' :: Text -> GetResourcePolicy
-- | Create a value of GetResourcePolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:GetResourcePolicy',
-- getResourcePolicy_resourceArn - The ARN of the resource that is
-- associated with the resource policy.
newGetResourcePolicy :: Text -> GetResourcePolicy
-- | See: newGetResourcePolicyResponse smart constructor.
data GetResourcePolicyResponse
GetResourcePolicyResponse' :: Maybe Text -> Int -> GetResourcePolicyResponse
-- | Create a value of GetResourcePolicyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:policy:GetResourcePolicyResponse',
-- getResourcePolicyResponse_policy - The resource policy for the
-- resource identified by the input ARN parameter.
--
-- $sel:httpStatus:GetResourcePolicyResponse',
-- getResourcePolicyResponse_httpStatus - The response's http
-- status code.
newGetResourcePolicyResponse :: Int -> GetResourcePolicyResponse
-- | See: newImportSourceCredentials smart constructor.
data ImportSourceCredentials
ImportSourceCredentials' :: Maybe Bool -> Maybe Text -> Sensitive Text -> ServerType -> AuthType -> ImportSourceCredentials
-- | Create a value of ImportSourceCredentials with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:shouldOverwrite:ImportSourceCredentials',
-- importSourceCredentials_shouldOverwrite - Set to false
-- to prevent overwriting the repository source credentials. Set to
-- true to overwrite the repository source credentials. The
-- default value is true.
--
-- $sel:username:ImportSourceCredentials',
-- importSourceCredentials_username - The Bitbucket username when
-- the authType is BASIC_AUTH. This parameter is not valid for
-- other types of source providers or connections.
--
-- $sel:token:ImportSourceCredentials',
-- importSourceCredentials_token - For GitHub or GitHub
-- Enterprise, this is the personal access token. For Bitbucket, this is
-- the app password.
--
-- ImportSourceCredentials,
-- importSourceCredentials_serverType - The source provider used
-- for this project.
--
-- ImportSourceCredentials,
-- importSourceCredentials_authType - The type of authentication
-- used to connect to a GitHub, GitHub Enterprise, or Bitbucket
-- repository. An OAUTH connection is not supported by the API and must
-- be created using the CodeBuild console.
newImportSourceCredentials :: Text -> ServerType -> AuthType -> ImportSourceCredentials
-- | See: newImportSourceCredentialsResponse smart
-- constructor.
data ImportSourceCredentialsResponse
ImportSourceCredentialsResponse' :: Maybe Text -> Int -> ImportSourceCredentialsResponse
-- | Create a value of ImportSourceCredentialsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ImportSourceCredentialsResponse,
-- importSourceCredentialsResponse_arn - The Amazon Resource Name
-- (ARN) of the token.
--
-- $sel:httpStatus:ImportSourceCredentialsResponse',
-- importSourceCredentialsResponse_httpStatus - The response's
-- http status code.
newImportSourceCredentialsResponse :: Int -> ImportSourceCredentialsResponse
-- | See: newInvalidateProjectCache smart constructor.
data InvalidateProjectCache
InvalidateProjectCache' :: Text -> InvalidateProjectCache
-- | Create a value of InvalidateProjectCache with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- InvalidateProjectCache,
-- invalidateProjectCache_projectName - The name of the CodeBuild
-- build project that the cache is reset for.
newInvalidateProjectCache :: Text -> InvalidateProjectCache
-- | See: newInvalidateProjectCacheResponse smart
-- constructor.
data InvalidateProjectCacheResponse
InvalidateProjectCacheResponse' :: Int -> InvalidateProjectCacheResponse
-- | Create a value of InvalidateProjectCacheResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:InvalidateProjectCacheResponse',
-- invalidateProjectCacheResponse_httpStatus - The response's http
-- status code.
newInvalidateProjectCacheResponse :: Int -> InvalidateProjectCacheResponse
-- | See: newListBuildBatches smart constructor.
data ListBuildBatches
ListBuildBatches' :: Maybe BuildBatchFilter -> Maybe Natural -> Maybe Text -> Maybe SortOrderType -> ListBuildBatches
-- | Create a value of ListBuildBatches with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filter':ListBuildBatches', listBuildBatches_filter
-- - A BuildBatchFilter object that specifies the filters for
-- the search.
--
-- $sel:maxResults:ListBuildBatches',
-- listBuildBatches_maxResults - The maximum number of results to
-- return.
--
-- ListBuildBatches, listBuildBatches_nextToken - The
-- nextToken value returned from a previous call to
-- ListBuildBatches. This specifies the next item to return. To
-- return the beginning of the list, exclude this parameter.
--
-- $sel:sortOrder:ListBuildBatches',
-- listBuildBatches_sortOrder - Specifies the sort order of the
-- returned items. Valid values include:
--
--
-- - ASCENDING: List the batch build identifiers in ascending
-- order by identifier.
-- - DESCENDING: List the batch build identifiers in
-- descending order by identifier.
--
newListBuildBatches :: ListBuildBatches
-- | See: newListBuildBatchesResponse smart constructor.
data ListBuildBatchesResponse
ListBuildBatchesResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListBuildBatchesResponse
-- | Create a value of ListBuildBatchesResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ids:ListBuildBatchesResponse',
-- listBuildBatchesResponse_ids - An array of strings that
-- contains the batch build identifiers.
--
-- ListBuildBatches, listBuildBatchesResponse_nextToken -
-- If there are more items to return, this contains a token that is
-- passed to a subsequent call to ListBuildBatches to retrieve
-- the next set of items.
--
-- $sel:httpStatus:ListBuildBatchesResponse',
-- listBuildBatchesResponse_httpStatus - The response's http
-- status code.
newListBuildBatchesResponse :: Int -> ListBuildBatchesResponse
-- | See: newListBuildBatchesForProject smart constructor.
data ListBuildBatchesForProject
ListBuildBatchesForProject' :: Maybe BuildBatchFilter -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe SortOrderType -> ListBuildBatchesForProject
-- | Create a value of ListBuildBatchesForProject with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filter':ListBuildBatchesForProject',
-- listBuildBatchesForProject_filter - A BuildBatchFilter
-- object that specifies the filters for the search.
--
-- $sel:maxResults:ListBuildBatchesForProject',
-- listBuildBatchesForProject_maxResults - The maximum number of
-- results to return.
--
-- ListBuildBatchesForProject,
-- listBuildBatchesForProject_nextToken - The nextToken
-- value returned from a previous call to
-- ListBuildBatchesForProject. This specifies the next item to
-- return. To return the beginning of the list, exclude this parameter.
--
-- ListBuildBatchesForProject,
-- listBuildBatchesForProject_projectName - The name of the
-- project.
--
-- $sel:sortOrder:ListBuildBatchesForProject',
-- listBuildBatchesForProject_sortOrder - Specifies the sort order
-- of the returned items. Valid values include:
--
--
-- - ASCENDING: List the batch build identifiers in ascending
-- order by identifier.
-- - DESCENDING: List the batch build identifiers in
-- descending order by identifier.
--
newListBuildBatchesForProject :: ListBuildBatchesForProject
-- | See: newListBuildBatchesForProjectResponse smart
-- constructor.
data ListBuildBatchesForProjectResponse
ListBuildBatchesForProjectResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListBuildBatchesForProjectResponse
-- | Create a value of ListBuildBatchesForProjectResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ids:ListBuildBatchesForProjectResponse',
-- listBuildBatchesForProjectResponse_ids - An array of strings
-- that contains the batch build identifiers.
--
-- ListBuildBatchesForProject,
-- listBuildBatchesForProjectResponse_nextToken - If there are
-- more items to return, this contains a token that is passed to a
-- subsequent call to ListBuildBatchesForProject to retrieve the
-- next set of items.
--
-- $sel:httpStatus:ListBuildBatchesForProjectResponse',
-- listBuildBatchesForProjectResponse_httpStatus - The response's
-- http status code.
newListBuildBatchesForProjectResponse :: Int -> ListBuildBatchesForProjectResponse
-- | See: newListBuilds smart constructor.
data ListBuilds
ListBuilds' :: Maybe Text -> Maybe SortOrderType -> ListBuilds
-- | Create a value of ListBuilds with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListBuilds, listBuilds_nextToken - 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
-- nextToken. 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.
--
-- $sel:sortOrder:ListBuilds', listBuilds_sortOrder - 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.
--
newListBuilds :: ListBuilds
-- | See: newListBuildsResponse smart constructor.
data ListBuildsResponse
ListBuildsResponse' :: Maybe (NonEmpty Text) -> Maybe Text -> Int -> ListBuildsResponse
-- | Create a value of ListBuildsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ids:ListBuildsResponse', listBuildsResponse_ids - A
-- list of build IDs, with each build ID representing a single build.
--
-- ListBuilds, listBuildsResponse_nextToken - If there are
-- more than 100 items in the list, only the first 100 items are
-- returned, along with a unique string called a nextToken. To get
-- the next batch of items in the list, call this operation again, adding
-- the next token to the call.
--
-- $sel:httpStatus:ListBuildsResponse',
-- listBuildsResponse_httpStatus - The response's http status
-- code.
newListBuildsResponse :: Int -> ListBuildsResponse
-- | See: newListBuildsForProject smart constructor.
data ListBuildsForProject
ListBuildsForProject' :: Maybe Text -> Maybe SortOrderType -> Text -> ListBuildsForProject
-- | Create a value of ListBuildsForProject with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListBuildsForProject, listBuildsForProject_nextToken -
-- 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 nextToken. 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.
--
-- $sel:sortOrder:ListBuildsForProject',
-- listBuildsForProject_sortOrder - The order to sort the results
-- in. The results are sorted by build number, not the build identifier.
-- If this is not specified, the results are sorted in descending order.
--
-- Valid values include:
--
--
-- - ASCENDING: List the build identifiers in ascending order,
-- by build number.
-- - DESCENDING: List the build identifiers in descending
-- order, by build number.
--
--
-- If the project has more than 100 builds, setting the sort order will
-- result in an error.
--
-- ListBuildsForProject, listBuildsForProject_projectName -
-- The name of the CodeBuild project.
newListBuildsForProject :: Text -> ListBuildsForProject
-- | See: newListBuildsForProjectResponse smart constructor.
data ListBuildsForProjectResponse
ListBuildsForProjectResponse' :: Maybe (NonEmpty Text) -> Maybe Text -> Int -> ListBuildsForProjectResponse
-- | Create a value of ListBuildsForProjectResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:ids:ListBuildsForProjectResponse',
-- listBuildsForProjectResponse_ids - A list of build identifiers
-- for the specified build project, with each build ID representing a
-- single build.
--
-- ListBuildsForProject,
-- listBuildsForProjectResponse_nextToken - If there are more than
-- 100 items in the list, only the first 100 items are returned, along
-- with a unique string called a nextToken. To get the next batch
-- of items in the list, call this operation again, adding the next token
-- to the call.
--
-- $sel:httpStatus:ListBuildsForProjectResponse',
-- listBuildsForProjectResponse_httpStatus - The response's http
-- status code.
newListBuildsForProjectResponse :: Int -> ListBuildsForProjectResponse
-- | See: newListCuratedEnvironmentImages smart constructor.
data ListCuratedEnvironmentImages
ListCuratedEnvironmentImages' :: ListCuratedEnvironmentImages
-- | Create a value of ListCuratedEnvironmentImages with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newListCuratedEnvironmentImages :: ListCuratedEnvironmentImages
-- | See: newListCuratedEnvironmentImagesResponse smart
-- constructor.
data ListCuratedEnvironmentImagesResponse
ListCuratedEnvironmentImagesResponse' :: Maybe [EnvironmentPlatform] -> Int -> ListCuratedEnvironmentImagesResponse
-- | Create a value of ListCuratedEnvironmentImagesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:platforms:ListCuratedEnvironmentImagesResponse',
-- listCuratedEnvironmentImagesResponse_platforms - Information
-- about supported platforms for Docker images that are managed by
-- CodeBuild.
--
-- $sel:httpStatus:ListCuratedEnvironmentImagesResponse',
-- listCuratedEnvironmentImagesResponse_httpStatus - The
-- response's http status code.
newListCuratedEnvironmentImagesResponse :: Int -> ListCuratedEnvironmentImagesResponse
-- | See: newListProjects smart constructor.
data ListProjects
ListProjects' :: Maybe Text -> Maybe ProjectSortByType -> Maybe SortOrderType -> ListProjects
-- | Create a value of ListProjects with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListProjects, listProjects_nextToken - 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
-- nextToken. 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.
--
-- $sel:sortBy:ListProjects', listProjects_sortBy - The
-- criterion to be used to list build project names. Valid values
-- include:
--
--
-- - CREATED_TIME: List based on when each build project was
-- created.
-- - LAST_MODIFIED_TIME: List based on when information about
-- each build project was last changed.
-- - NAME: List 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.
--
-- $sel:sortOrder:ListProjects', listProjects_sortOrder -
-- The order in which to list build projects. Valid values include:
--
--
-- - ASCENDING: List in ascending order.
-- - DESCENDING: List in descending order.
--
--
-- Use sortBy to specify the criterion to be used to list build
-- project names.
newListProjects :: ListProjects
-- | See: newListProjectsResponse smart constructor.
data ListProjectsResponse
ListProjectsResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Int -> ListProjectsResponse
-- | Create a value of ListProjectsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListProjects, listProjectsResponse_nextToken - If there
-- are more than 100 items in the list, only the first 100 items are
-- returned, along with a unique string called a nextToken. To get
-- the next batch of items in the list, call this operation again, adding
-- the next token to the call.
--
-- $sel:projects:ListProjectsResponse',
-- listProjectsResponse_projects - The list of build project
-- names, with each build project name representing a single build
-- project.
--
-- $sel:httpStatus:ListProjectsResponse',
-- listProjectsResponse_httpStatus - The response's http status
-- code.
newListProjectsResponse :: Int -> ListProjectsResponse
-- | See: newListReportGroups smart constructor.
data ListReportGroups
ListReportGroups' :: Maybe Natural -> Maybe Text -> Maybe ReportGroupSortByType -> Maybe SortOrderType -> ListReportGroups
-- | Create a value of ListReportGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListReportGroups',
-- listReportGroups_maxResults - The maximum number of paginated
-- report groups returned per response. Use nextToken to iterate
-- pages in the list of returned ReportGroup objects. The
-- default value is 100.
--
-- ListReportGroups, listReportGroups_nextToken - During a
-- previous call, the maximum number of items that can be returned is the
-- value specified in maxResults. If there more items in the
-- list, then a unique string called a nextToken is returned. 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.
--
-- $sel:sortBy:ListReportGroups', listReportGroups_sortBy -
-- The criterion to be used to list build report groups. Valid values
-- include:
--
--
-- - CREATED_TIME: List based on when each report group was
-- created.
-- - LAST_MODIFIED_TIME: List based on when each report group
-- was last changed.
-- - NAME: List based on each report group's name.
--
--
-- $sel:sortOrder:ListReportGroups',
-- listReportGroups_sortOrder - Used to specify the order to sort
-- the list of returned report groups. Valid values are
-- ASCENDING and DESCENDING.
newListReportGroups :: ListReportGroups
-- | See: newListReportGroupsResponse smart constructor.
data ListReportGroupsResponse
ListReportGroupsResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Int -> ListReportGroupsResponse
-- | Create a value of ListReportGroupsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListReportGroups, listReportGroupsResponse_nextToken -
-- During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
--
-- $sel:reportGroups:ListReportGroupsResponse',
-- listReportGroupsResponse_reportGroups - The list of ARNs for
-- the report groups in the current Amazon Web Services account.
--
-- $sel:httpStatus:ListReportGroupsResponse',
-- listReportGroupsResponse_httpStatus - The response's http
-- status code.
newListReportGroupsResponse :: Int -> ListReportGroupsResponse
-- | See: newListReports smart constructor.
data ListReports
ListReports' :: Maybe ReportFilter -> Maybe Natural -> Maybe Text -> Maybe SortOrderType -> ListReports
-- | Create a value of ListReports with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filter':ListReports', listReports_filter - A
-- ReportFilter object used to filter the returned reports.
--
-- $sel:maxResults:ListReports', listReports_maxResults -
-- The maximum number of paginated reports returned per response. Use
-- nextToken to iterate pages in the list of returned
-- Report objects. The default value is 100.
--
-- ListReports, listReports_nextToken - During a previous
-- call, the maximum number of items that can be returned is the value
-- specified in maxResults. If there more items in the list,
-- then a unique string called a nextToken is returned. 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.
--
-- $sel:sortOrder:ListReports', listReports_sortOrder -
-- Specifies the sort order for the list of returned reports. Valid
-- values are:
--
--
-- - ASCENDING: return reports in chronological order based on
-- their creation date.
-- - DESCENDING: return reports in the reverse chronological
-- order based on their creation date.
--
newListReports :: ListReports
-- | See: newListReportsResponse smart constructor.
data ListReportsResponse
ListReportsResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Int -> ListReportsResponse
-- | Create a value of ListReportsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListReports, listReportsResponse_nextToken - During a
-- previous call, the maximum number of items that can be returned is the
-- value specified in maxResults. If there more items in the
-- list, then a unique string called a nextToken is returned. 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.
--
-- $sel:reports:ListReportsResponse',
-- listReportsResponse_reports - The list of returned ARNs for the
-- reports in the current Amazon Web Services account.
--
-- $sel:httpStatus:ListReportsResponse',
-- listReportsResponse_httpStatus - The response's http status
-- code.
newListReportsResponse :: Int -> ListReportsResponse
-- | See: newListReportsForReportGroup smart constructor.
data ListReportsForReportGroup
ListReportsForReportGroup' :: Maybe ReportFilter -> Maybe Natural -> Maybe Text -> Maybe SortOrderType -> Text -> ListReportsForReportGroup
-- | Create a value of ListReportsForReportGroup with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:filter':ListReportsForReportGroup',
-- listReportsForReportGroup_filter - A ReportFilter
-- object used to filter the returned reports.
--
-- $sel:maxResults:ListReportsForReportGroup',
-- listReportsForReportGroup_maxResults - The maximum number of
-- paginated reports in this report group returned per response. Use
-- nextToken to iterate pages in the list of returned
-- Report objects. The default value is 100.
--
-- ListReportsForReportGroup,
-- listReportsForReportGroup_nextToken - During a previous call,
-- the maximum number of items that can be returned is the value
-- specified in maxResults. If there more items in the list,
-- then a unique string called a nextToken is returned. 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.
--
-- $sel:sortOrder:ListReportsForReportGroup',
-- listReportsForReportGroup_sortOrder - Use to specify whether
-- the results are returned in ascending or descending order.
--
-- ListReportsForReportGroup,
-- listReportsForReportGroup_reportGroupArn - The ARN of the
-- report group for which you want to return report ARNs.
newListReportsForReportGroup :: Text -> ListReportsForReportGroup
-- | See: newListReportsForReportGroupResponse smart
-- constructor.
data ListReportsForReportGroupResponse
ListReportsForReportGroupResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Int -> ListReportsForReportGroupResponse
-- | Create a value of ListReportsForReportGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListReportsForReportGroup,
-- listReportsForReportGroupResponse_nextToken - During a previous
-- call, the maximum number of items that can be returned is the value
-- specified in maxResults. If there more items in the list,
-- then a unique string called a nextToken is returned. 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.
--
-- $sel:reports:ListReportsForReportGroupResponse',
-- listReportsForReportGroupResponse_reports - The list of report
-- ARNs.
--
-- $sel:httpStatus:ListReportsForReportGroupResponse',
-- listReportsForReportGroupResponse_httpStatus - The response's
-- http status code.
newListReportsForReportGroupResponse :: Int -> ListReportsForReportGroupResponse
-- | See: newListSharedProjects smart constructor.
data ListSharedProjects
ListSharedProjects' :: Maybe Natural -> Maybe Text -> Maybe SharedResourceSortByType -> Maybe SortOrderType -> ListSharedProjects
-- | Create a value of ListSharedProjects with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListSharedProjects',
-- listSharedProjects_maxResults - The maximum number of paginated
-- shared build projects returned per response. Use nextToken to
-- iterate pages in the list of returned Project objects. The
-- default value is 100.
--
-- ListSharedProjects, listSharedProjects_nextToken -
-- During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
--
-- $sel:sortBy:ListSharedProjects',
-- listSharedProjects_sortBy - The criterion to be used to list
-- build projects shared with the current Amazon Web Services account or
-- user. Valid values include:
--
--
-- - ARN: List based on the ARN.
-- - MODIFIED_TIME: List based on when information about the
-- shared project was last changed.
--
--
-- $sel:sortOrder:ListSharedProjects',
-- listSharedProjects_sortOrder - The order in which to list
-- shared build projects. Valid values include:
--
--
-- - ASCENDING: List in ascending order.
-- - DESCENDING: List in descending order.
--
newListSharedProjects :: ListSharedProjects
-- | See: newListSharedProjectsResponse smart constructor.
data ListSharedProjectsResponse
ListSharedProjectsResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Int -> ListSharedProjectsResponse
-- | Create a value of ListSharedProjectsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListSharedProjects, listSharedProjectsResponse_nextToken
-- - During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
--
-- $sel:projects:ListSharedProjectsResponse',
-- listSharedProjectsResponse_projects - The list of ARNs for the
-- build projects shared with the current Amazon Web Services account or
-- user.
--
-- $sel:httpStatus:ListSharedProjectsResponse',
-- listSharedProjectsResponse_httpStatus - The response's http
-- status code.
newListSharedProjectsResponse :: Int -> ListSharedProjectsResponse
-- | See: newListSharedReportGroups smart constructor.
data ListSharedReportGroups
ListSharedReportGroups' :: Maybe Natural -> Maybe Text -> Maybe SharedResourceSortByType -> Maybe SortOrderType -> ListSharedReportGroups
-- | Create a value of ListSharedReportGroups with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListSharedReportGroups',
-- listSharedReportGroups_maxResults - The maximum number of
-- paginated shared report groups per response. Use nextToken to
-- iterate pages in the list of returned ReportGroup objects.
-- The default value is 100.
--
-- ListSharedReportGroups, listSharedReportGroups_nextToken
-- - During a previous call, the maximum number of items that can be
-- returned is the value specified in maxResults. If there more
-- items in the list, then a unique string called a nextToken is
-- returned. 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.
--
-- $sel:sortBy:ListSharedReportGroups',
-- listSharedReportGroups_sortBy - The criterion to be used to
-- list report groups shared with the current Amazon Web Services account
-- or user. Valid values include:
--
--
-- - ARN: List based on the ARN.
-- - MODIFIED_TIME: List based on when information about the
-- shared report group was last changed.
--
--
-- $sel:sortOrder:ListSharedReportGroups',
-- listSharedReportGroups_sortOrder - The order in which to list
-- shared report groups. Valid values include:
--
--
-- - ASCENDING: List in ascending order.
-- - DESCENDING: List in descending order.
--
newListSharedReportGroups :: ListSharedReportGroups
-- | See: newListSharedReportGroupsResponse smart
-- constructor.
data ListSharedReportGroupsResponse
ListSharedReportGroupsResponse' :: Maybe Text -> Maybe (NonEmpty Text) -> Int -> ListSharedReportGroupsResponse
-- | Create a value of ListSharedReportGroupsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListSharedReportGroups,
-- listSharedReportGroupsResponse_nextToken - During a previous
-- call, the maximum number of items that can be returned is the value
-- specified in maxResults. If there more items in the list,
-- then a unique string called a nextToken is returned. 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.
--
-- $sel:reportGroups:ListSharedReportGroupsResponse',
-- listSharedReportGroupsResponse_reportGroups - The list of ARNs
-- for the report groups shared with the current Amazon Web Services
-- account or user.
--
-- $sel:httpStatus:ListSharedReportGroupsResponse',
-- listSharedReportGroupsResponse_httpStatus - The response's http
-- status code.
newListSharedReportGroupsResponse :: Int -> ListSharedReportGroupsResponse
-- | See: newListSourceCredentials smart constructor.
data ListSourceCredentials
ListSourceCredentials' :: ListSourceCredentials
-- | Create a value of ListSourceCredentials with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newListSourceCredentials :: ListSourceCredentials
-- | See: newListSourceCredentialsResponse smart constructor.
data ListSourceCredentialsResponse
ListSourceCredentialsResponse' :: Maybe [SourceCredentialsInfo] -> Int -> ListSourceCredentialsResponse
-- | Create a value of ListSourceCredentialsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:sourceCredentialsInfos:ListSourceCredentialsResponse',
-- listSourceCredentialsResponse_sourceCredentialsInfos - A list
-- of SourceCredentialsInfo objects. Each
-- SourceCredentialsInfo object includes the authentication
-- type, token ARN, and type of source provider for one set of
-- credentials.
--
-- $sel:httpStatus:ListSourceCredentialsResponse',
-- listSourceCredentialsResponse_httpStatus - The response's http
-- status code.
newListSourceCredentialsResponse :: Int -> ListSourceCredentialsResponse
-- | See: newPutResourcePolicy smart constructor.
data PutResourcePolicy
PutResourcePolicy' :: Text -> Text -> PutResourcePolicy
-- | Create a value of PutResourcePolicy with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:policy:PutResourcePolicy', putResourcePolicy_policy
-- - A JSON-formatted resource policy. For more information, see
-- Sharing a Project and Sharing a Report Group in the
-- CodeBuild User Guide.
--
-- PutResourcePolicy, putResourcePolicy_resourceArn - The
-- ARN of the Project or ReportGroup resource you want
-- to associate with a resource policy.
newPutResourcePolicy :: Text -> Text -> PutResourcePolicy
-- | See: newPutResourcePolicyResponse smart constructor.
data PutResourcePolicyResponse
PutResourcePolicyResponse' :: Maybe Text -> Int -> PutResourcePolicyResponse
-- | Create a value of PutResourcePolicyResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- PutResourcePolicy, putResourcePolicyResponse_resourceArn
-- - The ARN of the Project or ReportGroup resource
-- that is associated with a resource policy.
--
-- $sel:httpStatus:PutResourcePolicyResponse',
-- putResourcePolicyResponse_httpStatus - The response's http
-- status code.
newPutResourcePolicyResponse :: Int -> PutResourcePolicyResponse
-- | See: newRetryBuild smart constructor.
data RetryBuild
RetryBuild' :: Maybe Text -> Maybe Text -> RetryBuild
-- | Create a value of RetryBuild with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RetryBuild, retryBuild_id - Specifies the identifier of
-- the build to restart.
--
-- $sel:idempotencyToken:RetryBuild',
-- retryBuild_idempotencyToken - A unique, case sensitive
-- identifier you provide to ensure the idempotency of the
-- RetryBuild request. The token is included in the
-- RetryBuild request and is valid for five minutes. If you
-- repeat the RetryBuild request with the same token, but change
-- a parameter, CodeBuild returns a parameter mismatch error.
newRetryBuild :: RetryBuild
-- | See: newRetryBuildResponse smart constructor.
data RetryBuildResponse
RetryBuildResponse' :: Maybe Build -> Int -> RetryBuildResponse
-- | Create a value of RetryBuildResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:build:RetryBuildResponse', retryBuildResponse_build
-- - Undocumented member.
--
-- $sel:httpStatus:RetryBuildResponse',
-- retryBuildResponse_httpStatus - The response's http status
-- code.
newRetryBuildResponse :: Int -> RetryBuildResponse
-- | See: newRetryBuildBatch smart constructor.
data RetryBuildBatch
RetryBuildBatch' :: Maybe Text -> Maybe Text -> Maybe RetryBuildBatchType -> RetryBuildBatch
-- | Create a value of RetryBuildBatch with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RetryBuildBatch, retryBuildBatch_id - Specifies the
-- identifier of the batch build to restart.
--
-- $sel:idempotencyToken:RetryBuildBatch',
-- retryBuildBatch_idempotencyToken - A unique, case sensitive
-- identifier you provide to ensure the idempotency of the
-- RetryBuildBatch request. The token is included in the
-- RetryBuildBatch request and is valid for five minutes. If you
-- repeat the RetryBuildBatch request with the same token, but
-- change a parameter, CodeBuild returns a parameter mismatch error.
--
-- $sel:retryType:RetryBuildBatch',
-- retryBuildBatch_retryType - Specifies the type of retry to
-- perform.
newRetryBuildBatch :: RetryBuildBatch
-- | See: newRetryBuildBatchResponse smart constructor.
data RetryBuildBatchResponse
RetryBuildBatchResponse' :: Maybe BuildBatch -> Int -> RetryBuildBatchResponse
-- | Create a value of RetryBuildBatchResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:buildBatch:RetryBuildBatchResponse',
-- retryBuildBatchResponse_buildBatch - Undocumented member.
--
-- $sel:httpStatus:RetryBuildBatchResponse',
-- retryBuildBatchResponse_httpStatus - The response's http status
-- code.
newRetryBuildBatchResponse :: Int -> RetryBuildBatchResponse
-- | See: newStartBuild smart constructor.
data StartBuild
StartBuild' :: Maybe ProjectArtifacts -> Maybe BuildStatusConfig -> Maybe Text -> Maybe ProjectCache -> Maybe Text -> Maybe ComputeType -> Maybe Bool -> Maybe Text -> Maybe EnvironmentType -> Maybe [EnvironmentVariable] -> Maybe Natural -> Maybe GitSubmodulesConfig -> Maybe Text -> Maybe Text -> Maybe ImagePullCredentialsType -> Maybe Bool -> Maybe LogsConfig -> Maybe Bool -> Maybe Natural -> Maybe RegistryCredential -> Maybe Bool -> Maybe [ProjectArtifacts] -> Maybe [ProjectSource] -> Maybe [ProjectSourceVersion] -> Maybe Text -> Maybe SourceAuth -> Maybe Text -> Maybe SourceType -> Maybe Text -> Maybe Natural -> Text -> StartBuild
-- | Create a value of StartBuild with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:artifactsOverride:StartBuild',
-- startBuild_artifactsOverride - Build output artifact settings
-- that override, for this build only, the latest ones already defined in
-- the build project.
--
-- $sel:buildStatusConfigOverride:StartBuild',
-- startBuild_buildStatusConfigOverride - Contains information
-- that defines how the build project reports the build status to the
-- source provider. This option is only used when the source provider is
-- GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
--
-- $sel:buildspecOverride:StartBuild',
-- startBuild_buildspecOverride - A buildspec file declaration
-- that overrides, for this build only, the latest one already defined in
-- the build project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
--
-- $sel:cacheOverride:StartBuild', startBuild_cacheOverride
-- - A ProjectCache object specified for this build that overrides the
-- one defined in the build project.
--
-- $sel:certificateOverride:StartBuild',
-- startBuild_certificateOverride - The name of a certificate for
-- this build that overrides the one specified in the build project.
--
-- $sel:computeTypeOverride:StartBuild',
-- startBuild_computeTypeOverride - The name of a compute type for
-- this build that overrides the one specified in the build project.
--
-- StartBuild, startBuild_debugSessionEnabled - Specifies
-- if session debugging is enabled for this build. For more information,
-- see Viewing a running build in Session Manager.
--
-- $sel:encryptionKeyOverride:StartBuild',
-- startBuild_encryptionKeyOverride - The Key Management Service
-- customer master key (CMK) that overrides the one specified in the
-- build project. The CMK key encrypts the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
--
-- $sel:environmentTypeOverride:StartBuild',
-- startBuild_environmentTypeOverride - A container type for this
-- build that overrides the one specified in the build project.
--
-- $sel:environmentVariablesOverride:StartBuild',
-- startBuild_environmentVariablesOverride - A set of environment
-- variables that overrides, for this build only, the latest ones already
-- defined in the build project.
--
-- $sel:gitCloneDepthOverride:StartBuild',
-- startBuild_gitCloneDepthOverride - 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.
--
-- $sel:gitSubmodulesConfigOverride:StartBuild',
-- startBuild_gitSubmodulesConfigOverride - Information about the
-- Git submodules configuration for this build of an CodeBuild build
-- project.
--
-- $sel:idempotencyToken:StartBuild',
-- startBuild_idempotencyToken - A unique, case sensitive
-- identifier you provide to ensure the idempotency of the StartBuild
-- request. The token is included in the StartBuild request and is valid
-- for 5 minutes. If you repeat the StartBuild request with the same
-- token, but change a parameter, CodeBuild returns a parameter mismatch
-- error.
--
-- $sel:imageOverride:StartBuild', startBuild_imageOverride
-- - The name of an image for this build that overrides the one specified
-- in the build project.
--
-- $sel:imagePullCredentialsTypeOverride:StartBuild',
-- startBuild_imagePullCredentialsTypeOverride - The type of
-- credentials CodeBuild uses to pull images in your build. There are two
-- valid values:
--
--
-- - CODEBUILD Specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild's service principal.
-- - SERVICE_ROLE Specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When using a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When using an CodeBuild curated
-- image, you must use CODEBUILD credentials.
--
-- $sel:insecureSslOverride:StartBuild',
-- startBuild_insecureSslOverride - Enable this flag to override
-- the insecure SSL setting that is specified in the build project. The
-- insecure SSL setting determines whether to ignore SSL warnings while
-- connecting to the project source code. This override applies only if
-- the build's source is GitHub Enterprise.
--
-- $sel:logsConfigOverride:StartBuild',
-- startBuild_logsConfigOverride - Log settings for this build
-- that override the log settings defined in the build project.
--
-- $sel:privilegedModeOverride:StartBuild',
-- startBuild_privilegedModeOverride - Enable this flag to
-- override privileged mode in the build project.
--
-- $sel:queuedTimeoutInMinutesOverride:StartBuild',
-- startBuild_queuedTimeoutInMinutesOverride - The number of
-- minutes a build is allowed to be queued before it times out.
--
-- $sel:registryCredentialOverride:StartBuild',
-- startBuild_registryCredentialOverride - The credentials for
-- access to a private registry.
--
-- $sel:reportBuildStatusOverride:StartBuild',
-- startBuild_reportBuildStatusOverride - Set to true to report to
-- your source provider the status of a build's start and completion. If
-- you use this option with a source provider other than GitHub, GitHub
-- Enterprise, or Bitbucket, an invalidInputException is thrown.
--
-- To be able to report the build status to the source provider, the user
-- associated with the source provider must have write access to the
-- repo. If the user does not have write access, the build status cannot
-- be updated. For more information, see Source provider access in
-- the CodeBuild User Guide.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
--
-- $sel:secondaryArtifactsOverride:StartBuild',
-- startBuild_secondaryArtifactsOverride - An array of
-- ProjectArtifacts objects.
--
-- $sel:secondarySourcesOverride:StartBuild',
-- startBuild_secondarySourcesOverride - An array of
-- ProjectSource objects.
--
-- $sel:secondarySourcesVersionOverride:StartBuild',
-- startBuild_secondarySourcesVersionOverride - An array of
-- ProjectSourceVersion objects that specify one or more
-- versions of the project's secondary sources to be used for this build
-- only.
--
-- $sel:serviceRoleOverride:StartBuild',
-- startBuild_serviceRoleOverride - The name of a service role for
-- this build that overrides the one specified in the build project.
--
-- $sel:sourceAuthOverride:StartBuild',
-- startBuild_sourceAuthOverride - An authorization type for this
-- build that overrides the one defined in the build project. This
-- override applies only if the build project's source is BitBucket or
-- GitHub.
--
-- $sel:sourceLocationOverride:StartBuild',
-- startBuild_sourceLocationOverride - A location that overrides,
-- for this build, the source location for the one defined in the build
-- project.
--
-- $sel:sourceTypeOverride:StartBuild',
-- startBuild_sourceTypeOverride - A source input type, for this
-- build, that overrides the source input defined in the build project.
--
-- StartBuild, startBuild_sourceVersion - The version of
-- the build input to be built, for this build only. If not specified,
-- the latest version is used. If specified, the contents depends on the
-- source provider:
--
--
-- - CodeCommit The commit ID, branch, or Git tag to use.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - Amazon S3 The version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the project level, then this
-- sourceVersion (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
--
-- $sel:timeoutInMinutesOverride:StartBuild',
-- startBuild_timeoutInMinutesOverride - 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.
--
-- StartBuild, startBuild_projectName - The name of the
-- CodeBuild build project to start running a build.
newStartBuild :: Text -> StartBuild
-- | See: newStartBuildResponse smart constructor.
data StartBuildResponse
StartBuildResponse' :: Maybe Build -> Int -> StartBuildResponse
-- | Create a value of StartBuildResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:build:StartBuildResponse', startBuildResponse_build
-- - Information about the build to be run.
--
-- $sel:httpStatus:StartBuildResponse',
-- startBuildResponse_httpStatus - The response's http status
-- code.
newStartBuildResponse :: Int -> StartBuildResponse
-- | See: newStartBuildBatch smart constructor.
data StartBuildBatch
StartBuildBatch' :: Maybe ProjectArtifacts -> Maybe ProjectBuildBatchConfig -> Maybe Natural -> Maybe Text -> Maybe ProjectCache -> Maybe Text -> Maybe ComputeType -> Maybe Bool -> Maybe Text -> Maybe EnvironmentType -> Maybe [EnvironmentVariable] -> Maybe Natural -> Maybe GitSubmodulesConfig -> Maybe Text -> Maybe Text -> Maybe ImagePullCredentialsType -> Maybe Bool -> Maybe LogsConfig -> Maybe Bool -> Maybe Natural -> Maybe RegistryCredential -> Maybe Bool -> Maybe [ProjectArtifacts] -> Maybe [ProjectSource] -> Maybe [ProjectSourceVersion] -> Maybe Text -> Maybe SourceAuth -> Maybe Text -> Maybe SourceType -> Maybe Text -> Text -> StartBuildBatch
-- | Create a value of StartBuildBatch with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:artifactsOverride:StartBuildBatch',
-- startBuildBatch_artifactsOverride - An array of
-- ProjectArtifacts objects that contains information about the
-- build output artifact overrides for the build project.
--
-- $sel:buildBatchConfigOverride:StartBuildBatch',
-- startBuildBatch_buildBatchConfigOverride - A
-- BuildBatchConfigOverride object that contains batch build
-- configuration overrides.
--
-- $sel:buildTimeoutInMinutesOverride:StartBuildBatch',
-- startBuildBatch_buildTimeoutInMinutesOverride - Overrides the
-- build timeout specified in the batch build project.
--
-- $sel:buildspecOverride:StartBuildBatch',
-- startBuildBatch_buildspecOverride - A buildspec file
-- declaration that overrides, for this build only, the latest one
-- already defined in the build project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
--
-- $sel:cacheOverride:StartBuildBatch',
-- startBuildBatch_cacheOverride - A ProjectCache object
-- that specifies cache overrides.
--
-- $sel:certificateOverride:StartBuildBatch',
-- startBuildBatch_certificateOverride - The name of a certificate
-- for this batch build that overrides the one specified in the batch
-- build project.
--
-- $sel:computeTypeOverride:StartBuildBatch',
-- startBuildBatch_computeTypeOverride - The name of a compute
-- type for this batch build that overrides the one specified in the
-- batch build project.
--
-- StartBuildBatch, startBuildBatch_debugSessionEnabled -
-- Specifies if session debugging is enabled for this batch build. For
-- more information, see Viewing a running build in Session
-- Manager. Batch session debugging is not supported for matrix batch
-- builds.
--
-- $sel:encryptionKeyOverride:StartBuildBatch',
-- startBuildBatch_encryptionKeyOverride - The Key Management
-- Service customer master key (CMK) that overrides the one specified in
-- the batch build project. The CMK key encrypts the build output
-- artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
--
-- $sel:environmentTypeOverride:StartBuildBatch',
-- startBuildBatch_environmentTypeOverride - A container type for
-- this batch build that overrides the one specified in the batch build
-- project.
--
-- $sel:environmentVariablesOverride:StartBuildBatch',
-- startBuildBatch_environmentVariablesOverride - An array of
-- EnvironmentVariable objects that override, or add to, the
-- environment variables defined in the batch build project.
--
-- $sel:gitCloneDepthOverride:StartBuildBatch',
-- startBuildBatch_gitCloneDepthOverride - The user-defined depth
-- of history, with a minimum value of 0, that overrides, for this batch
-- build only, any previous depth of history defined in the batch build
-- project.
--
-- $sel:gitSubmodulesConfigOverride:StartBuildBatch',
-- startBuildBatch_gitSubmodulesConfigOverride - A
-- GitSubmodulesConfig object that overrides the Git submodules
-- configuration for this batch build.
--
-- $sel:idempotencyToken:StartBuildBatch',
-- startBuildBatch_idempotencyToken - A unique, case sensitive
-- identifier you provide to ensure the idempotency of the
-- StartBuildBatch request. The token is included in the
-- StartBuildBatch request and is valid for five minutes. If you
-- repeat the StartBuildBatch request with the same token, but
-- change a parameter, CodeBuild returns a parameter mismatch error.
--
-- $sel:imageOverride:StartBuildBatch',
-- startBuildBatch_imageOverride - The name of an image for this
-- batch build that overrides the one specified in the batch build
-- project.
--
-- $sel:imagePullCredentialsTypeOverride:StartBuildBatch',
-- startBuildBatch_imagePullCredentialsTypeOverride - The type of
-- credentials CodeBuild uses to pull images in your batch build. There
-- are two valid values:
--
--
-- - CODEBUILD Specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild's service principal.
-- - SERVICE_ROLE Specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When using a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When using an CodeBuild curated
-- image, you must use CODEBUILD credentials.
--
-- $sel:insecureSslOverride:StartBuildBatch',
-- startBuildBatch_insecureSslOverride - Enable this flag to
-- override the insecure SSL setting that is specified in the batch build
-- project. The insecure SSL setting determines whether to ignore SSL
-- warnings while connecting to the project source code. This override
-- applies only if the build's source is GitHub Enterprise.
--
-- $sel:logsConfigOverride:StartBuildBatch',
-- startBuildBatch_logsConfigOverride - A LogsConfig
-- object that override the log settings defined in the batch build
-- project.
--
-- $sel:privilegedModeOverride:StartBuildBatch',
-- startBuildBatch_privilegedModeOverride - Enable this flag to
-- override privileged mode in the batch build project.
--
-- $sel:queuedTimeoutInMinutesOverride:StartBuildBatch',
-- startBuildBatch_queuedTimeoutInMinutesOverride - The number of
-- minutes a batch build is allowed to be queued before it times out.
--
-- $sel:registryCredentialOverride:StartBuildBatch',
-- startBuildBatch_registryCredentialOverride - A
-- RegistryCredential object that overrides credentials for
-- access to a private registry.
--
-- $sel:reportBuildBatchStatusOverride:StartBuildBatch',
-- startBuildBatch_reportBuildBatchStatusOverride - Set to
-- true to report to your source provider the status of a batch
-- build's start and completion. If you use this option with a source
-- provider other than GitHub, GitHub Enterprise, or Bitbucket, an
-- invalidInputException is thrown.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
--
-- $sel:secondaryArtifactsOverride:StartBuildBatch',
-- startBuildBatch_secondaryArtifactsOverride - An array of
-- ProjectArtifacts objects that override the secondary
-- artifacts defined in the batch build project.
--
-- $sel:secondarySourcesOverride:StartBuildBatch',
-- startBuildBatch_secondarySourcesOverride - An array of
-- ProjectSource objects that override the secondary sources
-- defined in the batch build project.
--
-- $sel:secondarySourcesVersionOverride:StartBuildBatch',
-- startBuildBatch_secondarySourcesVersionOverride - An array of
-- ProjectSourceVersion objects that override the secondary
-- source versions in the batch build project.
--
-- $sel:serviceRoleOverride:StartBuildBatch',
-- startBuildBatch_serviceRoleOverride - The name of a service
-- role for this batch build that overrides the one specified in the
-- batch build project.
--
-- $sel:sourceAuthOverride:StartBuildBatch',
-- startBuildBatch_sourceAuthOverride - A SourceAuth
-- object that overrides the one defined in the batch build project. This
-- override applies only if the build project's source is BitBucket or
-- GitHub.
--
-- $sel:sourceLocationOverride:StartBuildBatch',
-- startBuildBatch_sourceLocationOverride - A location that
-- overrides, for this batch build, the source location defined in the
-- batch build project.
--
-- $sel:sourceTypeOverride:StartBuildBatch',
-- startBuildBatch_sourceTypeOverride - The source input type that
-- overrides the source input defined in the batch build project.
--
-- StartBuildBatch, startBuildBatch_sourceVersion - The
-- version of the batch build input to be built, for this build only. If
-- not specified, the latest version is used. If specified, the contents
-- depends on the source provider:
--
--
-- - CodeCommit The commit ID, branch, or Git tag to use.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - Amazon S3 The version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the project level, then this
-- sourceVersion (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
--
-- StartBuildBatch, startBuildBatch_projectName - The name
-- of the project.
newStartBuildBatch :: Text -> StartBuildBatch
-- | See: newStartBuildBatchResponse smart constructor.
data StartBuildBatchResponse
StartBuildBatchResponse' :: Maybe BuildBatch -> Int -> StartBuildBatchResponse
-- | Create a value of StartBuildBatchResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:buildBatch:StartBuildBatchResponse',
-- startBuildBatchResponse_buildBatch - A BuildBatch
-- object that contains information about the batch build.
--
-- $sel:httpStatus:StartBuildBatchResponse',
-- startBuildBatchResponse_httpStatus - The response's http status
-- code.
newStartBuildBatchResponse :: Int -> StartBuildBatchResponse
-- | See: newStopBuild smart constructor.
data StopBuild
StopBuild' :: Text -> StopBuild
-- | Create a value of StopBuild with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- StopBuild, stopBuild_id - The ID of the build.
newStopBuild :: Text -> StopBuild
-- | See: newStopBuildResponse smart constructor.
data StopBuildResponse
StopBuildResponse' :: Maybe Build -> Int -> StopBuildResponse
-- | Create a value of StopBuildResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:build:StopBuildResponse', stopBuildResponse_build -
-- Information about the build.
--
-- $sel:httpStatus:StopBuildResponse',
-- stopBuildResponse_httpStatus - The response's http status code.
newStopBuildResponse :: Int -> StopBuildResponse
-- | See: newStopBuildBatch smart constructor.
data StopBuildBatch
StopBuildBatch' :: Text -> StopBuildBatch
-- | Create a value of StopBuildBatch with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- StopBuildBatch, stopBuildBatch_id - The identifier of
-- the batch build to stop.
newStopBuildBatch :: Text -> StopBuildBatch
-- | See: newStopBuildBatchResponse smart constructor.
data StopBuildBatchResponse
StopBuildBatchResponse' :: Maybe BuildBatch -> Int -> StopBuildBatchResponse
-- | Create a value of StopBuildBatchResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:buildBatch:StopBuildBatchResponse',
-- stopBuildBatchResponse_buildBatch - Undocumented member.
--
-- $sel:httpStatus:StopBuildBatchResponse',
-- stopBuildBatchResponse_httpStatus - The response's http status
-- code.
newStopBuildBatchResponse :: Int -> StopBuildBatchResponse
-- | See: newUpdateProject smart constructor.
data UpdateProject
UpdateProject' :: Maybe ProjectArtifacts -> Maybe Bool -> Maybe ProjectBuildBatchConfig -> Maybe ProjectCache -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe ProjectEnvironment -> Maybe [ProjectFileSystemLocation] -> Maybe LogsConfig -> Maybe Natural -> Maybe [ProjectArtifacts] -> Maybe [ProjectSourceVersion] -> Maybe [ProjectSource] -> Maybe Text -> Maybe ProjectSource -> Maybe Text -> Maybe [Tag] -> Maybe Natural -> Maybe VpcConfig -> Text -> UpdateProject
-- | Create a value of UpdateProject with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateProject, updateProject_artifacts - Information to
-- be changed about the build output artifacts for the build project.
--
-- UpdateProject, updateProject_badgeEnabled - Set this to
-- true to generate a publicly accessible URL for your project's build
-- badge.
--
-- UpdateProject, updateProject_buildBatchConfig -
-- Undocumented member.
--
-- UpdateProject, updateProject_cache - Stores recently
-- used information so that it can be quickly accessed at a later time.
--
-- UpdateProject, updateProject_concurrentBuildLimit - The
-- maximum number of concurrent builds that are allowed for this project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
--
-- To remove this limit, set this value to -1.
--
-- UpdateProject, updateProject_description - A new or
-- replacement description of the build project.
--
-- UpdateProject, updateProject_encryptionKey - The Key
-- Management Service customer master key (CMK) to be used for encrypting
-- the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
--
-- UpdateProject, updateProject_environment - Information
-- to be changed about the build environment for the build project.
--
-- UpdateProject, updateProject_fileSystemLocations - An
-- array of ProjectFileSystemLocation objects for a CodeBuild
-- build project. A ProjectFileSystemLocation object specifies
-- the identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
--
-- UpdateProject, updateProject_logsConfig - Information
-- about logs for the build project. A project can create logs in
-- CloudWatch Logs, logs in an S3 bucket, or both.
--
-- UpdateProject, updateProject_queuedTimeoutInMinutes -
-- The number of minutes a build is allowed to be queued before it times
-- out.
--
-- UpdateProject, updateProject_secondaryArtifacts - An
-- array of ProjectArtifact objects.
--
-- UpdateProject, updateProject_secondarySourceVersions -
-- An array of ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take over these secondarySourceVersions (at the project
-- level).
--
-- UpdateProject, updateProject_secondarySources - An array
-- of ProjectSource objects.
--
-- UpdateProject, updateProject_serviceRole - The
-- replacement ARN of the IAM role that enables CodeBuild to interact
-- with dependent Amazon Web Services services on behalf of the Amazon
-- Web Services account.
--
-- UpdateProject, updateProject_source - Information to be
-- changed about the build input source code for the build project.
--
-- UpdateProject, updateProject_sourceVersion - A version
-- of the build input to be built for this project. If not specified, the
-- latest version is used. If specified, it must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
--
-- UpdateProject, updateProject_tags - An updated list of
-- tag key and value pairs associated with this build project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
--
-- UpdateProject, updateProject_timeoutInMinutes - The
-- replacement value in minutes, from 5 to 480 (8 hours), for CodeBuild
-- to wait before timing out any related build that did not get marked as
-- completed.
--
-- UpdateProject, updateProject_vpcConfig - VpcConfig
-- enables CodeBuild to access resources in an Amazon VPC.
--
-- UpdateProject, updateProject_name - The name of the
-- build project.
--
-- You cannot change a build project's name.
newUpdateProject :: Text -> UpdateProject
-- | See: newUpdateProjectResponse smart constructor.
data UpdateProjectResponse
UpdateProjectResponse' :: Maybe Project -> Int -> UpdateProjectResponse
-- | Create a value of UpdateProjectResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:project:UpdateProjectResponse',
-- updateProjectResponse_project - Information about the build
-- project that was changed.
--
-- $sel:httpStatus:UpdateProjectResponse',
-- updateProjectResponse_httpStatus - The response's http status
-- code.
newUpdateProjectResponse :: Int -> UpdateProjectResponse
-- | See: newUpdateProjectVisibility smart constructor.
data UpdateProjectVisibility
UpdateProjectVisibility' :: Maybe Text -> Text -> ProjectVisibilityType -> UpdateProjectVisibility
-- | Create a value of UpdateProjectVisibility with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateProjectVisibility,
-- updateProjectVisibility_resourceAccessRole - The ARN of the IAM
-- role that enables CodeBuild to access the CloudWatch Logs and Amazon
-- S3 artifacts for the project's builds.
--
-- UpdateProjectVisibility,
-- updateProjectVisibility_projectArn - The Amazon Resource Name
-- (ARN) of the build project.
--
-- UpdateProjectVisibility,
-- updateProjectVisibility_projectVisibility - Undocumented
-- member.
newUpdateProjectVisibility :: Text -> ProjectVisibilityType -> UpdateProjectVisibility
-- | See: newUpdateProjectVisibilityResponse smart
-- constructor.
data UpdateProjectVisibilityResponse
UpdateProjectVisibilityResponse' :: Maybe Text -> Maybe ProjectVisibilityType -> Maybe Text -> Int -> UpdateProjectVisibilityResponse
-- | Create a value of UpdateProjectVisibilityResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateProjectVisibility,
-- updateProjectVisibilityResponse_projectArn - The Amazon
-- Resource Name (ARN) of the build project.
--
-- UpdateProjectVisibility,
-- updateProjectVisibilityResponse_projectVisibility -
-- Undocumented member.
--
-- UpdateProjectVisibilityResponse,
-- updateProjectVisibilityResponse_publicProjectAlias - Contains
-- the project identifier used with the public build APIs.
--
-- $sel:httpStatus:UpdateProjectVisibilityResponse',
-- updateProjectVisibilityResponse_httpStatus - The response's
-- http status code.
newUpdateProjectVisibilityResponse :: Int -> UpdateProjectVisibilityResponse
-- | See: newUpdateReportGroup smart constructor.
data UpdateReportGroup
UpdateReportGroup' :: Maybe ReportExportConfig -> Maybe [Tag] -> Text -> UpdateReportGroup
-- | Create a value of UpdateReportGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateReportGroup, updateReportGroup_exportConfig - Used
-- to specify an updated export type. Valid values are:
--
--
-- - S3: The report results are exported to an S3 bucket.
-- - NO_EXPORT: The report results are not exported.
--
--
-- UpdateReportGroup, updateReportGroup_tags - An updated
-- list of tag key and value pairs associated with this report group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
--
-- UpdateReportGroup, updateReportGroup_arn - The ARN of
-- the report group to update.
newUpdateReportGroup :: Text -> UpdateReportGroup
-- | See: newUpdateReportGroupResponse smart constructor.
data UpdateReportGroupResponse
UpdateReportGroupResponse' :: Maybe ReportGroup -> Int -> UpdateReportGroupResponse
-- | Create a value of UpdateReportGroupResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:reportGroup:UpdateReportGroupResponse',
-- updateReportGroupResponse_reportGroup - Information about the
-- updated report group.
--
-- $sel:httpStatus:UpdateReportGroupResponse',
-- updateReportGroupResponse_httpStatus - The response's http
-- status code.
newUpdateReportGroupResponse :: Int -> UpdateReportGroupResponse
-- | See: newUpdateWebhook smart constructor.
data UpdateWebhook
UpdateWebhook' :: Maybe Text -> Maybe WebhookBuildType -> Maybe [[WebhookFilter]] -> Maybe Bool -> Text -> UpdateWebhook
-- | Create a value of UpdateWebhook with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateWebhook, updateWebhook_branchFilter - A regular
-- expression used to determine which repository branches are built when
-- a webhook is triggered. If the name of a branch matches the regular
-- expression, then it is built. If branchFilter is empty, then
-- all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
--
-- UpdateWebhook, updateWebhook_buildType - Specifies the
-- type of build this webhook will trigger.
--
-- UpdateWebhook, updateWebhook_filterGroups - An array of
-- arrays of WebhookFilter objects used to determine if a
-- webhook event can trigger a build. A filter group must contain at
-- least one EVENT WebhookFilter.
--
-- $sel:rotateSecret:UpdateWebhook',
-- updateWebhook_rotateSecret - A boolean value that specifies
-- whether the associated GitHub repository's secret token should be
-- updated. If you use Bitbucket for your repository,
-- rotateSecret is ignored.
--
-- UpdateWebhook, updateWebhook_projectName - The name of
-- the CodeBuild project.
newUpdateWebhook :: Text -> UpdateWebhook
-- | See: newUpdateWebhookResponse smart constructor.
data UpdateWebhookResponse
UpdateWebhookResponse' :: Maybe Webhook -> Int -> UpdateWebhookResponse
-- | Create a value of UpdateWebhookResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateWebhookResponse, updateWebhookResponse_webhook -
-- Information about a repository's webhook that is associated with a
-- project in CodeBuild.
--
-- $sel:httpStatus:UpdateWebhookResponse',
-- updateWebhookResponse_httpStatus - The response's http status
-- code.
newUpdateWebhookResponse :: Int -> UpdateWebhookResponse
newtype ArtifactNamespace
ArtifactNamespace' :: Text -> ArtifactNamespace
[fromArtifactNamespace] :: ArtifactNamespace -> Text
pattern ArtifactNamespace_BUILD_ID :: ArtifactNamespace
pattern ArtifactNamespace_NONE :: ArtifactNamespace
newtype ArtifactPackaging
ArtifactPackaging' :: Text -> ArtifactPackaging
[fromArtifactPackaging] :: ArtifactPackaging -> Text
pattern ArtifactPackaging_NONE :: ArtifactPackaging
pattern ArtifactPackaging_ZIP :: ArtifactPackaging
newtype ArtifactsType
ArtifactsType' :: Text -> ArtifactsType
[fromArtifactsType] :: ArtifactsType -> Text
pattern ArtifactsType_CODEPIPELINE :: ArtifactsType
pattern ArtifactsType_NO_ARTIFACTS :: ArtifactsType
pattern ArtifactsType_S3 :: ArtifactsType
newtype AuthType
AuthType' :: Text -> AuthType
[fromAuthType] :: AuthType -> Text
pattern AuthType_BASIC_AUTH :: AuthType
pattern AuthType_OAUTH :: AuthType
pattern AuthType_PERSONAL_ACCESS_TOKEN :: AuthType
newtype BatchReportModeType
BatchReportModeType' :: Text -> BatchReportModeType
[fromBatchReportModeType] :: BatchReportModeType -> Text
pattern BatchReportModeType_REPORT_AGGREGATED_BATCH :: BatchReportModeType
pattern BatchReportModeType_REPORT_INDIVIDUAL_BUILDS :: BatchReportModeType
-- | Specifies the bucket owner's access for objects that another account
-- uploads to their Amazon S3 bucket. By default, only the account that
-- uploads the objects to the bucket has access to these objects. This
-- property allows you to give the bucket owner access to these objects.
--
-- To use this property, your CodeBuild service role must have the
-- s3:PutBucketAcl permission. This permission allows CodeBuild
-- to modify the access control list for the bucket.
--
-- This property can be one of the following values:
--
--
-- - NONE The bucket owner does not have access to the objects.
-- This is the default.
-- - READ_ONLY The bucket owner has read-only access to the
-- objects. The uploading account retains ownership of the objects.
-- - FULL The bucket owner has full access to the objects.
-- Object ownership is determined by the following criteria:
- If
-- the bucket is configured with the Bucket owner preferred
-- setting, the bucket owner owns the objects. The uploading account will
-- have object access as specified by the bucket's
-- policy.
- Otherwise, the uploading account retains ownership of
-- the objects.
For more information about Amazon S3 object
-- ownership, see Controlling ownership of uploaded objects using S3
-- Object Ownership in the Amazon Simple Storage Service User
-- Guide.
--
newtype BucketOwnerAccess
BucketOwnerAccess' :: Text -> BucketOwnerAccess
[fromBucketOwnerAccess] :: BucketOwnerAccess -> Text
pattern BucketOwnerAccess_FULL :: BucketOwnerAccess
pattern BucketOwnerAccess_NONE :: BucketOwnerAccess
pattern BucketOwnerAccess_READ_ONLY :: BucketOwnerAccess
newtype BuildBatchPhaseType
BuildBatchPhaseType' :: Text -> BuildBatchPhaseType
[fromBuildBatchPhaseType] :: BuildBatchPhaseType -> Text
pattern BuildBatchPhaseType_COMBINE_ARTIFACTS :: BuildBatchPhaseType
pattern BuildBatchPhaseType_DOWNLOAD_BATCHSPEC :: BuildBatchPhaseType
pattern BuildBatchPhaseType_FAILED :: BuildBatchPhaseType
pattern BuildBatchPhaseType_IN_PROGRESS :: BuildBatchPhaseType
pattern BuildBatchPhaseType_STOPPED :: BuildBatchPhaseType
pattern BuildBatchPhaseType_SUBMITTED :: BuildBatchPhaseType
pattern BuildBatchPhaseType_SUCCEEDED :: BuildBatchPhaseType
newtype BuildPhaseType
BuildPhaseType' :: Text -> BuildPhaseType
[fromBuildPhaseType] :: BuildPhaseType -> Text
pattern BuildPhaseType_BUILD :: BuildPhaseType
pattern BuildPhaseType_COMPLETED :: BuildPhaseType
pattern BuildPhaseType_DOWNLOAD_SOURCE :: BuildPhaseType
pattern BuildPhaseType_FINALIZING :: BuildPhaseType
pattern BuildPhaseType_INSTALL :: BuildPhaseType
pattern BuildPhaseType_POST_BUILD :: BuildPhaseType
pattern BuildPhaseType_PRE_BUILD :: BuildPhaseType
pattern BuildPhaseType_PROVISIONING :: BuildPhaseType
pattern BuildPhaseType_QUEUED :: BuildPhaseType
pattern BuildPhaseType_SUBMITTED :: BuildPhaseType
pattern BuildPhaseType_UPLOAD_ARTIFACTS :: BuildPhaseType
newtype CacheMode
CacheMode' :: Text -> CacheMode
[fromCacheMode] :: CacheMode -> Text
pattern CacheMode_LOCAL_CUSTOM_CACHE :: CacheMode
pattern CacheMode_LOCAL_DOCKER_LAYER_CACHE :: CacheMode
pattern CacheMode_LOCAL_SOURCE_CACHE :: CacheMode
newtype CacheType
CacheType' :: Text -> CacheType
[fromCacheType] :: CacheType -> Text
pattern CacheType_LOCAL :: CacheType
pattern CacheType_NO_CACHE :: CacheType
pattern CacheType_S3 :: CacheType
newtype ComputeType
ComputeType' :: Text -> ComputeType
[fromComputeType] :: ComputeType -> Text
pattern ComputeType_BUILD_GENERAL1_2XLARGE :: ComputeType
pattern ComputeType_BUILD_GENERAL1_LARGE :: ComputeType
pattern ComputeType_BUILD_GENERAL1_MEDIUM :: ComputeType
pattern ComputeType_BUILD_GENERAL1_SMALL :: ComputeType
newtype CredentialProviderType
CredentialProviderType' :: Text -> CredentialProviderType
[fromCredentialProviderType] :: CredentialProviderType -> Text
pattern CredentialProviderType_SECRETS_MANAGER :: CredentialProviderType
newtype EnvironmentType
EnvironmentType' :: Text -> EnvironmentType
[fromEnvironmentType] :: EnvironmentType -> Text
pattern EnvironmentType_ARM_CONTAINER :: EnvironmentType
pattern EnvironmentType_LINUX_CONTAINER :: EnvironmentType
pattern EnvironmentType_LINUX_GPU_CONTAINER :: EnvironmentType
pattern EnvironmentType_WINDOWS_CONTAINER :: EnvironmentType
pattern EnvironmentType_WINDOWS_SERVER_2019_CONTAINER :: EnvironmentType
newtype EnvironmentVariableType
EnvironmentVariableType' :: Text -> EnvironmentVariableType
[fromEnvironmentVariableType] :: EnvironmentVariableType -> Text
pattern EnvironmentVariableType_PARAMETER_STORE :: EnvironmentVariableType
pattern EnvironmentVariableType_PLAINTEXT :: EnvironmentVariableType
pattern EnvironmentVariableType_SECRETS_MANAGER :: EnvironmentVariableType
newtype FileSystemType
FileSystemType' :: Text -> FileSystemType
[fromFileSystemType] :: FileSystemType -> Text
pattern FileSystemType_EFS :: FileSystemType
newtype ImagePullCredentialsType
ImagePullCredentialsType' :: Text -> ImagePullCredentialsType
[fromImagePullCredentialsType] :: ImagePullCredentialsType -> Text
pattern ImagePullCredentialsType_CODEBUILD :: ImagePullCredentialsType
pattern ImagePullCredentialsType_SERVICE_ROLE :: ImagePullCredentialsType
newtype LanguageType
LanguageType' :: Text -> LanguageType
[fromLanguageType] :: LanguageType -> Text
pattern LanguageType_ANDROID :: LanguageType
pattern LanguageType_BASE :: LanguageType
pattern LanguageType_DOCKER :: LanguageType
pattern LanguageType_DOTNET :: LanguageType
pattern LanguageType_GOLANG :: LanguageType
pattern LanguageType_JAVA :: LanguageType
pattern LanguageType_NODE_JS :: LanguageType
pattern LanguageType_PHP :: LanguageType
pattern LanguageType_PYTHON :: LanguageType
pattern LanguageType_RUBY :: LanguageType
newtype LogsConfigStatusType
LogsConfigStatusType' :: Text -> LogsConfigStatusType
[fromLogsConfigStatusType] :: LogsConfigStatusType -> Text
pattern LogsConfigStatusType_DISABLED :: LogsConfigStatusType
pattern LogsConfigStatusType_ENABLED :: LogsConfigStatusType
newtype PlatformType
PlatformType' :: Text -> PlatformType
[fromPlatformType] :: PlatformType -> Text
pattern PlatformType_AMAZON_LINUX :: PlatformType
pattern PlatformType_DEBIAN :: PlatformType
pattern PlatformType_UBUNTU :: PlatformType
pattern PlatformType_WINDOWS_SERVER :: PlatformType
newtype ProjectSortByType
ProjectSortByType' :: Text -> ProjectSortByType
[fromProjectSortByType] :: ProjectSortByType -> Text
pattern ProjectSortByType_CREATED_TIME :: ProjectSortByType
pattern ProjectSortByType_LAST_MODIFIED_TIME :: ProjectSortByType
pattern ProjectSortByType_NAME :: ProjectSortByType
-- | Specifies the visibility of the project's builds. Possible values are:
--
--
-- - PUBLIC_READ The project builds are visible to the
-- public.
-- - PRIVATE The project builds are not visible to the
-- public.
--
newtype ProjectVisibilityType
ProjectVisibilityType' :: Text -> ProjectVisibilityType
[fromProjectVisibilityType] :: ProjectVisibilityType -> Text
pattern ProjectVisibilityType_PRIVATE :: ProjectVisibilityType
pattern ProjectVisibilityType_PUBLIC_READ :: ProjectVisibilityType
newtype ReportCodeCoverageSortByType
ReportCodeCoverageSortByType' :: Text -> ReportCodeCoverageSortByType
[fromReportCodeCoverageSortByType] :: ReportCodeCoverageSortByType -> Text
pattern ReportCodeCoverageSortByType_FILE_PATH :: ReportCodeCoverageSortByType
pattern ReportCodeCoverageSortByType_LINE_COVERAGE_PERCENTAGE :: ReportCodeCoverageSortByType
newtype ReportExportConfigType
ReportExportConfigType' :: Text -> ReportExportConfigType
[fromReportExportConfigType] :: ReportExportConfigType -> Text
pattern ReportExportConfigType_NO_EXPORT :: ReportExportConfigType
pattern ReportExportConfigType_S3 :: ReportExportConfigType
newtype ReportGroupSortByType
ReportGroupSortByType' :: Text -> ReportGroupSortByType
[fromReportGroupSortByType] :: ReportGroupSortByType -> Text
pattern ReportGroupSortByType_CREATED_TIME :: ReportGroupSortByType
pattern ReportGroupSortByType_LAST_MODIFIED_TIME :: ReportGroupSortByType
pattern ReportGroupSortByType_NAME :: ReportGroupSortByType
newtype ReportGroupStatusType
ReportGroupStatusType' :: Text -> ReportGroupStatusType
[fromReportGroupStatusType] :: ReportGroupStatusType -> Text
pattern ReportGroupStatusType_ACTIVE :: ReportGroupStatusType
pattern ReportGroupStatusType_DELETING :: ReportGroupStatusType
newtype ReportGroupTrendFieldType
ReportGroupTrendFieldType' :: Text -> ReportGroupTrendFieldType
[fromReportGroupTrendFieldType] :: ReportGroupTrendFieldType -> Text
pattern ReportGroupTrendFieldType_BRANCHES_COVERED :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_BRANCHES_MISSED :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_BRANCH_COVERAGE :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_DURATION :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_LINES_COVERED :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_LINES_MISSED :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_LINE_COVERAGE :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_PASS_RATE :: ReportGroupTrendFieldType
pattern ReportGroupTrendFieldType_TOTAL :: ReportGroupTrendFieldType
newtype ReportPackagingType
ReportPackagingType' :: Text -> ReportPackagingType
[fromReportPackagingType] :: ReportPackagingType -> Text
pattern ReportPackagingType_NONE :: ReportPackagingType
pattern ReportPackagingType_ZIP :: ReportPackagingType
newtype ReportStatusType
ReportStatusType' :: Text -> ReportStatusType
[fromReportStatusType] :: ReportStatusType -> Text
pattern ReportStatusType_DELETING :: ReportStatusType
pattern ReportStatusType_FAILED :: ReportStatusType
pattern ReportStatusType_GENERATING :: ReportStatusType
pattern ReportStatusType_INCOMPLETE :: ReportStatusType
pattern ReportStatusType_SUCCEEDED :: ReportStatusType
newtype ReportType
ReportType' :: Text -> ReportType
[fromReportType] :: ReportType -> Text
pattern ReportType_CODE_COVERAGE :: ReportType
pattern ReportType_TEST :: ReportType
newtype RetryBuildBatchType
RetryBuildBatchType' :: Text -> RetryBuildBatchType
[fromRetryBuildBatchType] :: RetryBuildBatchType -> Text
pattern RetryBuildBatchType_RETRY_ALL_BUILDS :: RetryBuildBatchType
pattern RetryBuildBatchType_RETRY_FAILED_BUILDS :: RetryBuildBatchType
newtype ServerType
ServerType' :: Text -> ServerType
[fromServerType] :: ServerType -> Text
pattern ServerType_BITBUCKET :: ServerType
pattern ServerType_GITHUB :: ServerType
pattern ServerType_GITHUB_ENTERPRISE :: ServerType
newtype SharedResourceSortByType
SharedResourceSortByType' :: Text -> SharedResourceSortByType
[fromSharedResourceSortByType] :: SharedResourceSortByType -> Text
pattern SharedResourceSortByType_ARN :: SharedResourceSortByType
pattern SharedResourceSortByType_MODIFIED_TIME :: SharedResourceSortByType
newtype SortOrderType
SortOrderType' :: Text -> SortOrderType
[fromSortOrderType] :: SortOrderType -> Text
pattern SortOrderType_ASCENDING :: SortOrderType
pattern SortOrderType_DESCENDING :: SortOrderType
newtype SourceAuthType
SourceAuthType' :: Text -> SourceAuthType
[fromSourceAuthType] :: SourceAuthType -> Text
pattern SourceAuthType_OAUTH :: SourceAuthType
newtype SourceType
SourceType' :: Text -> SourceType
[fromSourceType] :: SourceType -> Text
pattern SourceType_BITBUCKET :: SourceType
pattern SourceType_CODECOMMIT :: SourceType
pattern SourceType_CODEPIPELINE :: SourceType
pattern SourceType_GITHUB :: SourceType
pattern SourceType_GITHUB_ENTERPRISE :: SourceType
pattern SourceType_NO_SOURCE :: SourceType
pattern SourceType_S3 :: SourceType
newtype StatusType
StatusType' :: Text -> StatusType
[fromStatusType] :: StatusType -> Text
pattern StatusType_FAILED :: StatusType
pattern StatusType_FAULT :: StatusType
pattern StatusType_IN_PROGRESS :: StatusType
pattern StatusType_STOPPED :: StatusType
pattern StatusType_SUCCEEDED :: StatusType
pattern StatusType_TIMED_OUT :: StatusType
newtype WebhookBuildType
WebhookBuildType' :: Text -> WebhookBuildType
[fromWebhookBuildType] :: WebhookBuildType -> Text
pattern WebhookBuildType_BUILD :: WebhookBuildType
pattern WebhookBuildType_BUILD_BATCH :: WebhookBuildType
newtype WebhookFilterType
WebhookFilterType' :: Text -> WebhookFilterType
[fromWebhookFilterType] :: WebhookFilterType -> Text
pattern WebhookFilterType_ACTOR_ACCOUNT_ID :: WebhookFilterType
pattern WebhookFilterType_BASE_REF :: WebhookFilterType
pattern WebhookFilterType_COMMIT_MESSAGE :: WebhookFilterType
pattern WebhookFilterType_EVENT :: WebhookFilterType
pattern WebhookFilterType_FILE_PATH :: WebhookFilterType
pattern WebhookFilterType_HEAD_REF :: WebhookFilterType
-- | Specifies restrictions for the batch build.
--
-- See: newBatchRestrictions smart constructor.
data BatchRestrictions
BatchRestrictions' :: Maybe [Text] -> Maybe Int -> BatchRestrictions
-- | Create a value of BatchRestrictions with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:computeTypesAllowed:BatchRestrictions',
-- batchRestrictions_computeTypesAllowed - An array of strings
-- that specify the compute types that are allowed for the batch build.
-- See Build environment compute types in the CodeBuild User
-- Guide for these values.
--
-- $sel:maximumBuildsAllowed:BatchRestrictions',
-- batchRestrictions_maximumBuildsAllowed - Specifies the maximum
-- number of builds allowed.
newBatchRestrictions :: BatchRestrictions
-- | Information about a build.
--
-- See: newBuild smart constructor.
data Build
Build' :: Maybe Text -> Maybe BuildArtifacts -> Maybe Text -> Maybe Bool -> Maybe Integer -> Maybe StatusType -> Maybe ProjectCache -> Maybe Text -> Maybe DebugSession -> Maybe Text -> Maybe POSIX -> Maybe ProjectEnvironment -> Maybe [ExportedEnvironmentVariable] -> Maybe [ProjectFileSystemLocation] -> Maybe Text -> Maybe Text -> Maybe LogsLocation -> Maybe NetworkInterface -> Maybe [BuildPhase] -> Maybe Text -> Maybe Int -> Maybe [Text] -> Maybe Text -> Maybe [BuildArtifacts] -> Maybe [ProjectSourceVersion] -> Maybe [ProjectSource] -> Maybe Text -> Maybe ProjectSource -> Maybe Text -> Maybe POSIX -> Maybe Int -> Maybe VpcConfig -> Build
-- | Create a value of Build with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:Build', build_arn - The Amazon Resource Name
-- (ARN) of the build.
--
-- $sel:artifacts:Build', build_artifacts - Information
-- about the output artifacts for the build.
--
-- $sel:buildBatchArn:Build', build_buildBatchArn - The ARN
-- of the batch build that this build is a member of, if applicable.
--
-- $sel:buildComplete:Build', build_buildComplete - Whether
-- the build is complete. True if complete; otherwise, false.
--
-- $sel:buildNumber:Build', build_buildNumber - The number
-- of the build. For each project, the buildNumber of its first
-- build is 1. The buildNumber of each subsequent build
-- is incremented by 1. If a build is deleted, the
-- buildNumber of other builds does not change.
--
-- $sel:buildStatus:Build', build_buildStatus - 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.
--
--
-- $sel:cache:Build', build_cache - Information about the
-- cache for the build.
--
-- $sel:currentPhase:Build', build_currentPhase - The
-- current build phase.
--
-- $sel:debugSession:Build', build_debugSession - Contains
-- information about the debug session for this build.
--
-- $sel:encryptionKey:Build', build_encryptionKey - The Key
-- Management Service customer master key (CMK) to be used for encrypting
-- the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
--
-- Build, build_endTime - When the build process ended,
-- expressed in Unix time format.
--
-- $sel:environment:Build', build_environment - Information
-- about the build environment for this build.
--
-- $sel:exportedEnvironmentVariables:Build',
-- build_exportedEnvironmentVariables - A list of exported
-- environment variables for this build.
--
-- Exported environment variables are used in conjunction with
-- CodePipeline to export environment variables from the current build
-- stage to subsequent stages in the pipeline. For more information, see
-- Working with variables in the CodePipeline User Guide.
--
-- $sel:fileSystemLocations:Build',
-- build_fileSystemLocations - An array of
-- ProjectFileSystemLocation objects for a CodeBuild build
-- project. A ProjectFileSystemLocation object specifies the
-- identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
--
-- $sel:id:Build', build_id - The unique ID for the build.
--
-- $sel:initiator:Build', build_initiator - The entity that
-- started the build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name (for example,
-- MyUserName).
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
--
-- $sel:logs:Build', build_logs - Information about the
-- build's logs in CloudWatch Logs.
--
-- $sel:networkInterface:Build', build_networkInterface -
-- Describes a network interface.
--
-- $sel:phases:Build', build_phases - Information about all
-- previous build phases that are complete and information about any
-- current build phase that is not yet complete.
--
-- $sel:projectName:Build', build_projectName - The name of
-- the CodeBuild project.
--
-- $sel:queuedTimeoutInMinutes:Build',
-- build_queuedTimeoutInMinutes - The number of minutes a build is
-- allowed to be queued before it times out.
--
-- $sel:reportArns:Build', build_reportArns - An array of
-- the ARNs associated with this build's reports.
--
-- $sel:resolvedSourceVersion:Build',
-- build_resolvedSourceVersion - An identifier for the version of
-- this build's source code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
--
-- $sel:secondaryArtifacts:Build', build_secondaryArtifacts
-- - An array of ProjectArtifacts objects.
--
-- $sel:secondarySourceVersions:Build',
-- build_secondarySourceVersions - An array of
-- ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- $sel:secondarySources:Build', build_secondarySources -
-- An array of ProjectSource objects.
--
-- $sel:serviceRole:Build', build_serviceRole - The name of
-- a service role used for this build.
--
-- $sel:source:Build', build_source - Information about the
-- source code to be built.
--
-- Build, build_sourceVersion - Any version identifier for
-- the version of the source code to be built. If sourceVersion
-- is specified at the project level, then this sourceVersion
-- (at the build level) takes precedence.
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
--
-- Build, build_startTime - When the build process started,
-- expressed in Unix time format.
--
-- $sel:timeoutInMinutes:Build', build_timeoutInMinutes -
-- How long, in minutes, for CodeBuild to wait before timing out this
-- build if it does not get marked as completed.
--
-- $sel:vpcConfig:Build', build_vpcConfig - If your
-- 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.
newBuild :: Build
-- | Information about build output artifacts.
--
-- See: newBuildArtifacts smart constructor.
data BuildArtifacts
BuildArtifacts' :: Maybe Text -> Maybe BucketOwnerAccess -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> BuildArtifacts
-- | Create a value of BuildArtifacts with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:artifactIdentifier:BuildArtifacts',
-- buildArtifacts_artifactIdentifier - An identifier for this
-- artifact definition.
--
-- $sel:bucketOwnerAccess:BuildArtifacts',
-- buildArtifacts_bucketOwnerAccess - Undocumented member.
--
-- $sel:encryptionDisabled:BuildArtifacts',
-- buildArtifacts_encryptionDisabled - Information that tells you
-- if encryption for build artifacts is disabled.
--
-- $sel:location:BuildArtifacts', buildArtifacts_location -
-- Information about the location of the build artifacts.
--
-- $sel:md5sum:BuildArtifacts', buildArtifacts_md5sum - The
-- MD5 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
--
-- $sel:overrideArtifactName:BuildArtifacts',
-- buildArtifacts_overrideArtifactName - If this flag is set, a
-- name specified in the buildspec file overrides the artifact name. The
-- name specified in a buildspec file is calculated at build time and
-- uses the Shell Command Language. For example, you can append a date
-- and time to your artifact name so that it is always unique.
--
-- $sel:sha256sum:BuildArtifacts', buildArtifacts_sha256sum
-- - The SHA-256 hash of the build artifact.
--
-- You can use this hash along with a checksum tool to confirm file
-- integrity and authenticity.
--
-- This value is available only if the build project's packaging
-- value is set to ZIP.
newBuildArtifacts :: BuildArtifacts
-- | Contains information about a batch build.
--
-- See: newBuildBatch smart constructor.
data BuildBatch
BuildBatch' :: Maybe Text -> Maybe BuildArtifacts -> Maybe ProjectBuildBatchConfig -> Maybe Integer -> Maybe StatusType -> Maybe [BuildGroup] -> Maybe Int -> Maybe ProjectCache -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe POSIX -> Maybe ProjectEnvironment -> Maybe [ProjectFileSystemLocation] -> Maybe Text -> Maybe Text -> Maybe LogsConfig -> Maybe [BuildBatchPhase] -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe [BuildArtifacts] -> Maybe [ProjectSourceVersion] -> Maybe [ProjectSource] -> Maybe Text -> Maybe ProjectSource -> Maybe Text -> Maybe POSIX -> Maybe VpcConfig -> BuildBatch
-- | Create a value of BuildBatch with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:BuildBatch', buildBatch_arn - The ARN of the
-- batch build.
--
-- $sel:artifacts:BuildBatch', buildBatch_artifacts - A
-- BuildArtifacts object the defines the build artifacts for
-- this batch build.
--
-- $sel:buildBatchConfig:BuildBatch',
-- buildBatch_buildBatchConfig - Undocumented member.
--
-- $sel:buildBatchNumber:BuildBatch',
-- buildBatch_buildBatchNumber - The number of the batch build.
-- For each project, the buildBatchNumber of its first batch
-- build is 1. The buildBatchNumber of each subsequent
-- batch build is incremented by 1. If a batch build is deleted,
-- the buildBatchNumber of other batch builds does not change.
--
-- $sel:buildBatchStatus:BuildBatch',
-- buildBatch_buildBatchStatus - The status of the batch build.
--
-- $sel:buildGroups:BuildBatch', buildBatch_buildGroups -
-- An array of BuildGroup objects that define the build groups
-- for the batch build.
--
-- $sel:buildTimeoutInMinutes:BuildBatch',
-- buildBatch_buildTimeoutInMinutes - Specifies the maximum amount
-- of time, in minutes, that the build in a batch must be completed in.
--
-- $sel:cache:BuildBatch', buildBatch_cache - Undocumented
-- member.
--
-- $sel:complete:BuildBatch', buildBatch_complete -
-- Indicates if the batch build is complete.
--
-- $sel:currentPhase:BuildBatch', buildBatch_currentPhase -
-- The current phase of the batch build.
--
-- $sel:debugSessionEnabled:BuildBatch',
-- buildBatch_debugSessionEnabled - Specifies if session debugging
-- is enabled for this batch build. For more information, see Viewing
-- a running build in Session Manager. Batch session debugging is not
-- supported for matrix batch builds.
--
-- $sel:encryptionKey:BuildBatch', buildBatch_encryptionKey
-- - The Key Management Service customer master key (CMK) to be used for
-- encrypting the batch build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>).
--
-- BuildBatch, buildBatch_endTime - The date and time that
-- the batch build ended.
--
-- $sel:environment:BuildBatch', buildBatch_environment -
-- Undocumented member.
--
-- $sel:fileSystemLocations:BuildBatch',
-- buildBatch_fileSystemLocations - An array of
-- ProjectFileSystemLocation objects for the batch build
-- project. A ProjectFileSystemLocation object specifies the
-- identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
--
-- $sel:id:BuildBatch', buildBatch_id - The identifier of
-- the batch build.
--
-- $sel:initiator:BuildBatch', buildBatch_initiator - The
-- entity that started the batch build. Valid values include:
--
--
-- - If CodePipeline started the build, the pipeline's name (for
-- example, codepipeline/my-demo-pipeline).
-- - If an IAM user started the build, the user's name.
-- - If the Jenkins plugin for CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin.
--
--
-- $sel:logConfig:BuildBatch', buildBatch_logConfig -
-- Undocumented member.
--
-- $sel:phases:BuildBatch', buildBatch_phases - An array of
-- BuildBatchPhase objects the specify the phases of the batch
-- build.
--
-- $sel:projectName:BuildBatch', buildBatch_projectName -
-- The name of the batch build project.
--
-- $sel:queuedTimeoutInMinutes:BuildBatch',
-- buildBatch_queuedTimeoutInMinutes - Specifies the amount of
-- time, in minutes, that the batch build is allowed to be queued before
-- it times out.
--
-- $sel:resolvedSourceVersion:BuildBatch',
-- buildBatch_resolvedSourceVersion - The identifier of the
-- resolved version of this batch build's source code.
--
--
-- - For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the
-- commit ID.
-- - For CodePipeline, the source revision provided by
-- CodePipeline.
-- - For Amazon S3, this does not apply.
--
--
-- $sel:secondaryArtifacts:BuildBatch',
-- buildBatch_secondaryArtifacts - An array of
-- BuildArtifacts objects the define the build artifacts for
-- this batch build.
--
-- $sel:secondarySourceVersions:BuildBatch',
-- buildBatch_secondarySourceVersions - An array of
-- ProjectSourceVersion objects. Each
-- ProjectSourceVersion must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- $sel:secondarySources:BuildBatch',
-- buildBatch_secondarySources - An array of
-- ProjectSource objects that define the sources for the batch
-- build.
--
-- BuildBatch, buildBatch_serviceRole - The name of a
-- service role used for builds in the batch.
--
-- $sel:source:BuildBatch', buildBatch_source -
-- Undocumented member.
--
-- BuildBatch, buildBatch_sourceVersion - The identifier of
-- the version of the source code to be built.
--
-- BuildBatch, buildBatch_startTime - The date and time
-- that the batch build started.
--
-- $sel:vpcConfig:BuildBatch', buildBatch_vpcConfig -
-- Undocumented member.
newBuildBatch :: BuildBatch
-- | Specifies filters when retrieving batch builds.
--
-- See: newBuildBatchFilter smart constructor.
data BuildBatchFilter
BuildBatchFilter' :: Maybe StatusType -> BuildBatchFilter
-- | Create a value of BuildBatchFilter with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:status:BuildBatchFilter', buildBatchFilter_status -
-- The status of the batch builds to retrieve. Only batch builds that
-- have this status will be retrieved.
newBuildBatchFilter :: BuildBatchFilter
-- | Contains information about a stage for a batch build.
--
-- See: newBuildBatchPhase smart constructor.
data BuildBatchPhase
BuildBatchPhase' :: Maybe [PhaseContext] -> Maybe Integer -> Maybe POSIX -> Maybe StatusType -> Maybe BuildBatchPhaseType -> Maybe POSIX -> BuildBatchPhase
-- | Create a value of BuildBatchPhase with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:contexts:BuildBatchPhase', buildBatchPhase_contexts
-- - Additional information about the batch build phase. Especially to
-- help troubleshoot a failed batch build.
--
-- $sel:durationInSeconds:BuildBatchPhase',
-- buildBatchPhase_durationInSeconds - How long, in seconds,
-- between the starting and ending times of the batch build's phase.
--
-- $sel:endTime:BuildBatchPhase', buildBatchPhase_endTime -
-- When the batch build phase ended, expressed in Unix time format.
--
-- $sel:phaseStatus:BuildBatchPhase',
-- buildBatchPhase_phaseStatus - The current status of the batch
-- 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.
--
--
-- $sel:phaseType:BuildBatchPhase',
-- buildBatchPhase_phaseType - The name of the batch build phase.
-- Valid values include:
--
--
-- - COMBINE_ARTIFACTS Build output artifacts are being combined
-- and uploaded to the output location.
-- - DOWNLOAD_BATCHSPEC The batch build specification is being
-- downloaded.
-- - FAILED One or more of the builds failed.
-- - IN_PROGRESS The batch build is in progress.
-- - STOPPED The batch build was stopped.
-- - SUBMITTED The btach build has been submitted.
-- - SUCCEEDED The batch build succeeded.
--
--
-- $sel:startTime:BuildBatchPhase',
-- buildBatchPhase_startTime - When the batch build phase started,
-- expressed in Unix time format.
newBuildBatchPhase :: BuildBatchPhase
-- | Contains information about a batch build build group. Build groups are
-- used to combine builds that can run in parallel, while still being
-- able to set dependencies on other build groups.
--
-- See: newBuildGroup smart constructor.
data BuildGroup
BuildGroup' :: Maybe BuildSummary -> Maybe [Text] -> Maybe Text -> Maybe Bool -> Maybe [BuildSummary] -> BuildGroup
-- | Create a value of BuildGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:currentBuildSummary:BuildGroup',
-- buildGroup_currentBuildSummary - A BuildSummary object
-- that contains a summary of the current build group.
--
-- $sel:dependsOn:BuildGroup', buildGroup_dependsOn - An
-- array of strings that contain the identifiers of the build groups that
-- this build group depends on.
--
-- $sel:identifier:BuildGroup', buildGroup_identifier -
-- Contains the identifier of the build group.
--
-- $sel:ignoreFailure:BuildGroup', buildGroup_ignoreFailure
-- - Specifies if failures in this build group can be ignored.
--
-- $sel:priorBuildSummaryList:BuildGroup',
-- buildGroup_priorBuildSummaryList - An array of
-- BuildSummary objects that contain summaries of previous build
-- groups.
newBuildGroup :: BuildGroup
-- | Information about a build that could not be successfully deleted.
--
-- See: newBuildNotDeleted smart constructor.
data BuildNotDeleted
BuildNotDeleted' :: Maybe Text -> Maybe Text -> BuildNotDeleted
-- | Create a value of BuildNotDeleted with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:id:BuildNotDeleted', buildNotDeleted_id - The ID of
-- the build that could not be successfully deleted.
--
-- $sel:statusCode:BuildNotDeleted',
-- buildNotDeleted_statusCode - Additional information about the
-- build that could not be successfully deleted.
newBuildNotDeleted :: BuildNotDeleted
-- | Information about a stage for a build.
--
-- See: newBuildPhase smart constructor.
data BuildPhase
BuildPhase' :: Maybe [PhaseContext] -> Maybe Integer -> Maybe POSIX -> Maybe StatusType -> Maybe BuildPhaseType -> Maybe POSIX -> BuildPhase
-- | Create a value of BuildPhase with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:contexts:BuildPhase', buildPhase_contexts -
-- Additional information about a build phase, especially to help
-- troubleshoot a failed build.
--
-- $sel:durationInSeconds:BuildPhase',
-- buildPhase_durationInSeconds - How long, in seconds, between
-- the starting and ending times of the build's phase.
--
-- $sel:endTime:BuildPhase', buildPhase_endTime - When the
-- build phase ended, expressed in Unix time format.
--
-- $sel:phaseStatus:BuildPhase', buildPhase_phaseStatus -
-- 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.
--
--
-- $sel:phaseType:BuildPhase', buildPhase_phaseType - 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.
-- - QUEUED The build has been submitted and is queued behind
-- other submitted builds.
-- - SUBMITTED The build has been submitted.
-- - UPLOAD_ARTIFACTS Build output artifacts are being uploaded
-- to the output location.
--
--
-- $sel:startTime:BuildPhase', buildPhase_startTime - When
-- the build phase started, expressed in Unix time format.
newBuildPhase :: BuildPhase
-- | Contains information that defines how the CodeBuild build project
-- reports the build status to the source provider.
--
-- See: newBuildStatusConfig smart constructor.
data BuildStatusConfig
BuildStatusConfig' :: Maybe Text -> Maybe Text -> BuildStatusConfig
-- | Create a value of BuildStatusConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:context:BuildStatusConfig',
-- buildStatusConfig_context - Specifies the context of the build
-- status CodeBuild sends to the source provider. The usage of this
-- parameter depends on the source provider.
--
--
-- - Bitbucket This parameter is used for the name
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the context parameter in the GitHub commit status. For more
-- information, see Create a commit status in the GitHub developer
-- guide.
--
--
-- $sel:targetUrl:BuildStatusConfig',
-- buildStatusConfig_targetUrl - Specifies the target url of the
-- build status CodeBuild sends to the source provider. The usage of this
-- parameter depends on the source provider.
--
--
-- - Bitbucket This parameter is used for the url
-- parameter in the Bitbucket commit status. For more information, see
-- build in the Bitbucket API documentation.
-- - GitHub/GitHub Enterprise Server This parameter is used for
-- the target_url parameter in the GitHub commit status. For
-- more information, see Create a commit status in the GitHub
-- developer guide.
--
newBuildStatusConfig :: BuildStatusConfig
-- | Contains summary information about a batch build group.
--
-- See: newBuildSummary smart constructor.
data BuildSummary
BuildSummary' :: Maybe Text -> Maybe StatusType -> Maybe ResolvedArtifact -> Maybe POSIX -> Maybe [ResolvedArtifact] -> BuildSummary
-- | Create a value of BuildSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:BuildSummary', buildSummary_arn - The batch
-- build ARN.
--
-- $sel:buildStatus:BuildSummary', buildSummary_buildStatus
-- - The status of the build group.
--
--
-- - FAILED The build group failed.
-- - FAULT The build group faulted.
-- - IN_PROGRESS The build group is still in progress.
-- - STOPPED The build group stopped.
-- - SUCCEEDED The build group succeeded.
-- - TIMED_OUT The build group timed out.
--
--
-- $sel:primaryArtifact:BuildSummary',
-- buildSummary_primaryArtifact - A ResolvedArtifact
-- object that represents the primary build artifacts for the build
-- group.
--
-- $sel:requestedOn:BuildSummary', buildSummary_requestedOn
-- - When the build was started, expressed in Unix time format.
--
-- $sel:secondaryArtifacts:BuildSummary',
-- buildSummary_secondaryArtifacts - An array of
-- ResolvedArtifact objects that represents the secondary build
-- artifacts for the build group.
newBuildSummary :: BuildSummary
-- | Information about CloudWatch Logs for a build project.
--
-- See: newCloudWatchLogsConfig smart constructor.
data CloudWatchLogsConfig
CloudWatchLogsConfig' :: Maybe Text -> Maybe Text -> LogsConfigStatusType -> CloudWatchLogsConfig
-- | Create a value of CloudWatchLogsConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:groupName:CloudWatchLogsConfig',
-- cloudWatchLogsConfig_groupName - The group name of the logs in
-- CloudWatch Logs. For more information, see Working with Log Groups
-- and Log Streams.
--
-- $sel:streamName:CloudWatchLogsConfig',
-- cloudWatchLogsConfig_streamName - The prefix of the stream name
-- of the CloudWatch Logs. For more information, see Working with Log
-- Groups and Log Streams.
--
-- $sel:status:CloudWatchLogsConfig',
-- cloudWatchLogsConfig_status - The current status of the logs in
-- CloudWatch Logs for a build project. Valid values are:
--
--
-- - ENABLED: CloudWatch Logs are enabled for this build
-- project.
-- - DISABLED: CloudWatch Logs are not enabled for this build
-- project.
--
newCloudWatchLogsConfig :: LogsConfigStatusType -> CloudWatchLogsConfig
-- | Contains code coverage report information.
--
-- Line coverage measures how many statements your tests cover. A
-- statement is a single instruction, not including comments,
-- conditionals, etc.
--
-- Branch coverage determines if your tests cover every possible branch
-- of a control structure, such as an if or case
-- statement.
--
-- See: newCodeCoverage smart constructor.
data CodeCoverage
CodeCoverage' :: Maybe Double -> Maybe Natural -> Maybe Natural -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe Natural -> Maybe Natural -> Maybe Text -> CodeCoverage
-- | Create a value of CodeCoverage with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:branchCoveragePercentage:CodeCoverage',
-- codeCoverage_branchCoveragePercentage - The percentage of
-- branches that are covered by your tests.
--
-- $sel:branchesCovered:CodeCoverage',
-- codeCoverage_branchesCovered - The number of conditional
-- branches that are covered by your tests.
--
-- $sel:branchesMissed:CodeCoverage',
-- codeCoverage_branchesMissed - The number of conditional
-- branches that are not covered by your tests.
--
-- $sel:expired:CodeCoverage', codeCoverage_expired - The
-- date and time that the tests were run.
--
-- $sel:filePath:CodeCoverage', codeCoverage_filePath - The
-- path of the test report file.
--
-- $sel:id:CodeCoverage', codeCoverage_id - The identifier
-- of the code coverage report.
--
-- $sel:lineCoveragePercentage:CodeCoverage',
-- codeCoverage_lineCoveragePercentage - The percentage of lines
-- that are covered by your tests.
--
-- $sel:linesCovered:CodeCoverage',
-- codeCoverage_linesCovered - The number of lines that are
-- covered by your tests.
--
-- $sel:linesMissed:CodeCoverage', codeCoverage_linesMissed
-- - The number of lines that are not covered by your tests.
--
-- $sel:reportARN:CodeCoverage', codeCoverage_reportARN -
-- The ARN of the report.
newCodeCoverage :: CodeCoverage
-- | Contains a summary of a code coverage report.
--
-- Line coverage measures how many statements your tests cover. A
-- statement is a single instruction, not including comments,
-- conditionals, etc.
--
-- Branch coverage determines if your tests cover every possible branch
-- of a control structure, such as an if or case
-- statement.
--
-- See: newCodeCoverageReportSummary smart constructor.
data CodeCoverageReportSummary
CodeCoverageReportSummary' :: Maybe Double -> Maybe Natural -> Maybe Natural -> Maybe Double -> Maybe Natural -> Maybe Natural -> CodeCoverageReportSummary
-- | Create a value of CodeCoverageReportSummary with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:branchCoveragePercentage:CodeCoverageReportSummary',
-- codeCoverageReportSummary_branchCoveragePercentage - The
-- percentage of branches that are covered by your tests.
--
-- $sel:branchesCovered:CodeCoverageReportSummary',
-- codeCoverageReportSummary_branchesCovered - The number of
-- conditional branches that are covered by your tests.
--
-- $sel:branchesMissed:CodeCoverageReportSummary',
-- codeCoverageReportSummary_branchesMissed - The number of
-- conditional branches that are not covered by your tests.
--
-- $sel:lineCoveragePercentage:CodeCoverageReportSummary',
-- codeCoverageReportSummary_lineCoveragePercentage - The
-- percentage of lines that are covered by your tests.
--
-- $sel:linesCovered:CodeCoverageReportSummary',
-- codeCoverageReportSummary_linesCovered - The number of lines
-- that are covered by your tests.
--
-- $sel:linesMissed:CodeCoverageReportSummary',
-- codeCoverageReportSummary_linesMissed - The number of lines
-- that are not covered by your tests.
newCodeCoverageReportSummary :: CodeCoverageReportSummary
-- | Contains information about the debug session for a build. For more
-- information, see Viewing a running build in Session Manager.
--
-- See: newDebugSession smart constructor.
data DebugSession
DebugSession' :: Maybe Bool -> Maybe Text -> DebugSession
-- | Create a value of DebugSession with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:sessionEnabled:DebugSession',
-- debugSession_sessionEnabled - Specifies if session debugging is
-- enabled for this build.
--
-- $sel:sessionTarget:DebugSession',
-- debugSession_sessionTarget - Contains the identifier of the
-- Session Manager session used for the build. To work with the paused
-- build, you open this session to examine, control, and resume the
-- build.
newDebugSession :: DebugSession
-- | Information about a Docker image that is managed by CodeBuild.
--
-- See: newEnvironmentImage smart constructor.
data EnvironmentImage
EnvironmentImage' :: Maybe Text -> Maybe Text -> Maybe [Text] -> EnvironmentImage
-- | Create a value of EnvironmentImage with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:description:EnvironmentImage',
-- environmentImage_description - The description of the Docker
-- image.
--
-- $sel:name:EnvironmentImage', environmentImage_name - The
-- name of the Docker image.
--
-- $sel:versions:EnvironmentImage',
-- environmentImage_versions - A list of environment image
-- versions.
newEnvironmentImage :: EnvironmentImage
-- | A set of Docker images that are related by programming language and
-- are managed by CodeBuild.
--
-- See: newEnvironmentLanguage smart constructor.
data EnvironmentLanguage
EnvironmentLanguage' :: Maybe [EnvironmentImage] -> Maybe LanguageType -> EnvironmentLanguage
-- | Create a value of EnvironmentLanguage with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:images:EnvironmentLanguage',
-- environmentLanguage_images - The list of Docker images that are
-- related by the specified programming language.
--
-- $sel:language:EnvironmentLanguage',
-- environmentLanguage_language - The programming language for the
-- Docker images.
newEnvironmentLanguage :: EnvironmentLanguage
-- | A set of Docker images that are related by platform and are managed by
-- CodeBuild.
--
-- See: newEnvironmentPlatform smart constructor.
data EnvironmentPlatform
EnvironmentPlatform' :: Maybe [EnvironmentLanguage] -> Maybe PlatformType -> EnvironmentPlatform
-- | Create a value of EnvironmentPlatform with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:languages:EnvironmentPlatform',
-- environmentPlatform_languages - The list of programming
-- languages that are available for the specified platform.
--
-- $sel:platform:EnvironmentPlatform',
-- environmentPlatform_platform - The platform's name.
newEnvironmentPlatform :: EnvironmentPlatform
-- | Information about an environment variable for a build project or a
-- build.
--
-- See: newEnvironmentVariable smart constructor.
data EnvironmentVariable
EnvironmentVariable' :: Maybe EnvironmentVariableType -> Text -> Text -> EnvironmentVariable
-- | Create a value of EnvironmentVariable with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:type':EnvironmentVariable',
-- environmentVariable_type - The type of environment variable.
-- Valid values include:
--
--
-- - PARAMETER_STORE: An environment variable stored in
-- Systems Manager Parameter Store. To learn how to specify a parameter
-- store environment variable, see env/parameter-store in the
-- CodeBuild User Guide.
-- - PLAINTEXT: An environment variable in plain text format.
-- This is the default value.
-- - SECRETS_MANAGER: An environment variable stored in
-- Secrets Manager. To learn how to specify a secrets manager environment
-- variable, see env/secrets-manager in the CodeBuild User
-- Guide.
--
--
-- $sel:name:EnvironmentVariable', environmentVariable_name
-- - The name or key of the environment variable.
--
-- $sel:value:EnvironmentVariable',
-- environmentVariable_value - The value of the environment
-- variable.
--
-- We strongly discourage the use of PLAINTEXT environment
-- variables to store sensitive values, especially Amazon Web Services
-- secret key IDs and secret access keys. PLAINTEXT environment
-- variables can be displayed in plain text using the CodeBuild console
-- and the CLI. For sensitive values, we recommend you use an environment
-- variable of type PARAMETER_STORE or SECRETS_MANAGER.
newEnvironmentVariable :: Text -> Text -> EnvironmentVariable
-- | Contains information about an exported environment variable.
--
-- Exported environment variables are used in conjunction with
-- CodePipeline to export environment variables from the current build
-- stage to subsequent stages in the pipeline. For more information, see
-- Working with variables in the CodePipeline User Guide.
--
-- During a build, the value of a variable is available starting with the
-- install phase. It can be updated between the start of the
-- install phase and the end of the post_build phase.
-- After the post_build phase ends, the value of exported
-- variables cannot change.
--
-- See: newExportedEnvironmentVariable smart constructor.
data ExportedEnvironmentVariable
ExportedEnvironmentVariable' :: Maybe Text -> Maybe Text -> ExportedEnvironmentVariable
-- | Create a value of ExportedEnvironmentVariable with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:name:ExportedEnvironmentVariable',
-- exportedEnvironmentVariable_name - The name of the exported
-- environment variable.
--
-- $sel:value:ExportedEnvironmentVariable',
-- exportedEnvironmentVariable_value - The value assigned to the
-- exported environment variable.
newExportedEnvironmentVariable :: ExportedEnvironmentVariable
-- | Information about the Git submodules configuration for an CodeBuild
-- build project.
--
-- See: newGitSubmodulesConfig smart constructor.
data GitSubmodulesConfig
GitSubmodulesConfig' :: Bool -> GitSubmodulesConfig
-- | Create a value of GitSubmodulesConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:fetchSubmodules:GitSubmodulesConfig',
-- gitSubmodulesConfig_fetchSubmodules - Set to true to fetch Git
-- submodules for your CodeBuild build project.
newGitSubmodulesConfig :: Bool -> GitSubmodulesConfig
-- | Information about logs for a build project. These can be logs in
-- CloudWatch Logs, built in a specified S3 bucket, or both.
--
-- See: newLogsConfig smart constructor.
data LogsConfig
LogsConfig' :: Maybe CloudWatchLogsConfig -> Maybe S3LogsConfig -> LogsConfig
-- | Create a value of LogsConfig with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudWatchLogs:LogsConfig',
-- logsConfig_cloudWatchLogs - Information about CloudWatch Logs
-- for a build project. CloudWatch Logs are enabled by default.
--
-- $sel:s3Logs:LogsConfig', logsConfig_s3Logs - Information
-- about logs built to an S3 bucket for a build project. S3 logs are not
-- enabled by default.
newLogsConfig :: LogsConfig
-- | Information about build logs in CloudWatch Logs.
--
-- See: newLogsLocation smart constructor.
data LogsLocation
LogsLocation' :: Maybe CloudWatchLogsConfig -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe S3LogsConfig -> Maybe Text -> Maybe Text -> LogsLocation
-- | Create a value of LogsLocation with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudWatchLogs:LogsLocation',
-- logsLocation_cloudWatchLogs - Information about CloudWatch Logs
-- for a build project.
--
-- $sel:cloudWatchLogsArn:LogsLocation',
-- logsLocation_cloudWatchLogsArn - The ARN of CloudWatch Logs for
-- a build project. Its format is
-- arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}.
-- For more information, see Resources Defined by CloudWatch Logs.
--
-- $sel:deepLink:LogsLocation', logsLocation_deepLink - The
-- URL to an individual build log in CloudWatch Logs.
--
-- LogsLocation, logsLocation_groupName - The name of the
-- CloudWatch Logs group for the build logs.
--
-- $sel:s3DeepLink:LogsLocation', logsLocation_s3DeepLink -
-- The URL to a build log in an S3 bucket.
--
-- $sel:s3Logs:LogsLocation', logsLocation_s3Logs -
-- Information about S3 logs for a build project.
--
-- $sel:s3LogsArn:LogsLocation', logsLocation_s3LogsArn -
-- The ARN of S3 logs for a build project. Its format is
-- arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more
-- information, see Resources Defined by Amazon S3.
--
-- LogsLocation, logsLocation_streamName - The name of the
-- CloudWatch Logs stream for the build logs.
newLogsLocation :: LogsLocation
-- | Describes a network interface.
--
-- See: newNetworkInterface smart constructor.
data NetworkInterface
NetworkInterface' :: Maybe Text -> Maybe Text -> NetworkInterface
-- | Create a value of NetworkInterface with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:networkInterfaceId:NetworkInterface',
-- networkInterface_networkInterfaceId - The ID of the network
-- interface.
--
-- $sel:subnetId:NetworkInterface',
-- networkInterface_subnetId - The ID of the subnet.
newNetworkInterface :: NetworkInterface
-- | Additional information about a build phase that has an error. You can
-- use this information for troubleshooting.
--
-- See: newPhaseContext smart constructor.
data PhaseContext
PhaseContext' :: Maybe Text -> Maybe Text -> PhaseContext
-- | Create a value of PhaseContext with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:message:PhaseContext', phaseContext_message - An
-- explanation of the build phase's context. This might include a command
-- ID and an exit code.
--
-- $sel:statusCode:PhaseContext', phaseContext_statusCode -
-- The status code for the context of the build phase.
newPhaseContext :: PhaseContext
-- | Information about a build project.
--
-- See: newProject smart constructor.
data Project
Project' :: Maybe Text -> Maybe ProjectArtifacts -> Maybe ProjectBadge -> Maybe ProjectBuildBatchConfig -> Maybe ProjectCache -> Maybe Int -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe ProjectEnvironment -> Maybe [ProjectFileSystemLocation] -> Maybe POSIX -> Maybe LogsConfig -> Maybe Text -> Maybe ProjectVisibilityType -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe [ProjectArtifacts] -> Maybe [ProjectSourceVersion] -> Maybe [ProjectSource] -> Maybe Text -> Maybe ProjectSource -> Maybe Text -> Maybe [Tag] -> Maybe Natural -> Maybe VpcConfig -> Maybe Webhook -> Project
-- | Create a value of Project with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:Project', project_arn - The Amazon Resource
-- Name (ARN) of the build project.
--
-- $sel:artifacts:Project', project_artifacts - Information
-- about the build output artifacts for the build project.
--
-- $sel:badge:Project', project_badge - Information about
-- the build badge for the build project.
--
-- $sel:buildBatchConfig:Project', project_buildBatchConfig
-- - A ProjectBuildBatchConfig object that defines the batch build
-- options for the project.
--
-- $sel:cache:Project', project_cache - Information about
-- the cache for the build project.
--
-- $sel:concurrentBuildLimit:Project',
-- project_concurrentBuildLimit - The maximum number of concurrent
-- builds that are allowed for this project.
--
-- New builds are only started if the current number of builds is less
-- than or equal to this limit. If the current build count meets this
-- limit, new builds are throttled and are not run.
--
-- $sel:created:Project', project_created - When the build
-- project was created, expressed in Unix time format.
--
-- $sel:description:Project', project_description - A
-- description that makes the build project easy to identify.
--
-- $sel:encryptionKey:Project', project_encryptionKey - The
-- Key Management Service customer master key (CMK) to be used for
-- encrypting the build output artifacts.
--
-- You can use a cross-account KMS key to encrypt the build output
-- artifacts if your service role has permission to that key.
--
-- You can specify either the Amazon Resource Name (ARN) of the CMK or,
-- if available, the CMK's alias (using the format
-- alias/<alias-name>). If you don't specify a value,
-- CodeBuild uses the managed CMK for Amazon Simple Storage Service
-- (Amazon S3).
--
-- $sel:environment:Project', project_environment -
-- Information about the build environment for this build project.
--
-- $sel:fileSystemLocations:Project',
-- project_fileSystemLocations - An array of
-- ProjectFileSystemLocation objects for a CodeBuild build
-- project. A ProjectFileSystemLocation object specifies the
-- identifier, location, mountOptions,
-- mountPoint, and type of a file system created using
-- Amazon Elastic File System.
--
-- $sel:lastModified:Project', project_lastModified - When
-- the build project's settings were last modified, expressed in Unix
-- time format.
--
-- $sel:logsConfig:Project', project_logsConfig -
-- Information about logs for the build project. A project can create
-- logs in CloudWatch Logs, an S3 bucket, or both.
--
-- Project, project_name - The name of the build project.
--
-- $sel:projectVisibility:Project',
-- project_projectVisibility - Undocumented member.
--
-- $sel:publicProjectAlias:Project',
-- project_publicProjectAlias - Contains the project identifier
-- used with the public build APIs.
--
-- $sel:queuedTimeoutInMinutes:Project',
-- project_queuedTimeoutInMinutes - The number of minutes a build
-- is allowed to be queued before it times out.
--
-- $sel:resourceAccessRole:Project',
-- project_resourceAccessRole - The ARN of the IAM role that
-- enables CodeBuild to access the CloudWatch Logs and Amazon S3
-- artifacts for the project's builds.
--
-- $sel:secondaryArtifacts:Project',
-- project_secondaryArtifacts - An array of
-- ProjectArtifacts objects.
--
-- $sel:secondarySourceVersions:Project',
-- project_secondarySourceVersions - An array of
-- ProjectSourceVersion objects. If
-- secondarySourceVersions is specified at the build level, then
-- they take over these secondarySourceVersions (at the project
-- level).
--
-- $sel:secondarySources:Project', project_secondarySources
-- - An array of ProjectSource objects.
--
-- Project, project_serviceRole - The ARN of the IAM role
-- that enables CodeBuild to interact with dependent Amazon Web Services
-- services on behalf of the Amazon Web Services account.
--
-- $sel:source:Project', project_source - Information about
-- the build input source code for this build project.
--
-- Project, project_sourceVersion - A version of the build
-- input to be built for this project. If not specified, the latest
-- version is used. If specified, it must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- If sourceVersion is specified at the build level, then that
-- version takes precedence over this sourceVersion (at the
-- project level).
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
--
-- $sel:tags:Project', project_tags - A list of tag key and
-- value pairs associated with this build project.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild build project tags.
--
-- $sel:timeoutInMinutes:Project', project_timeoutInMinutes
-- - How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
-- before timing out any related build that did not get marked as
-- completed. The default is 60 minutes.
--
-- $sel:vpcConfig:Project', project_vpcConfig - Information
-- about the VPC configuration that CodeBuild accesses.
--
-- $sel:webhook:Project', project_webhook - Information
-- about a webhook that connects repository events to a build project in
-- CodeBuild.
newProject :: Project
-- | Information about the build output artifacts for the build project.
--
-- See: newProjectArtifacts smart constructor.
data ProjectArtifacts
ProjectArtifacts' :: Maybe Text -> Maybe BucketOwnerAccess -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe ArtifactNamespace -> Maybe Bool -> Maybe ArtifactPackaging -> Maybe Text -> ArtifactsType -> ProjectArtifacts
-- | Create a value of ProjectArtifacts with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:artifactIdentifier:ProjectArtifacts',
-- projectArtifacts_artifactIdentifier - An identifier for this
-- artifact definition.
--
-- $sel:bucketOwnerAccess:ProjectArtifacts',
-- projectArtifacts_bucketOwnerAccess - Undocumented member.
--
-- $sel:encryptionDisabled:ProjectArtifacts',
-- projectArtifacts_encryptionDisabled - Set to true if you do not
-- want your output artifacts encrypted. This option is valid only if
-- your artifacts type is Amazon S3. If this is set with another
-- artifacts type, an invalidInputException is thrown.
--
-- $sel:location:ProjectArtifacts',
-- projectArtifacts_location - Information about the build output
-- artifact location:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output locations instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output bucket.
--
--
-- $sel:name:ProjectArtifacts', projectArtifacts_name -
-- Along with path and namespaceType, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the name of the
-- output artifact object. If you set the name to be a forward slash
-- ("/"), the artifact is stored in the root of the output bucket.
--
--
-- 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 is stored
-- in MyArtifacts/<build-ID>/MyArtifact.zip.
-- - If path is empty, namespaceType is set to
-- NONE, and name is set to "/", the output
-- artifact is stored in the root of the output bucket.
-- - If path is set to MyArtifacts,
-- namespaceType is set to BUILD_ID, and name
-- is set to "/", the output artifact is stored in
-- MyArtifacts/<build-ID>.
--
--
-- $sel:namespaceType:ProjectArtifacts',
-- projectArtifacts_namespaceType - Along with path and
-- name, the pattern that CodeBuild uses to determine the name
-- and location to store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, 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, the output artifact is stored in
-- MyArtifacts/<build-ID>/MyArtifact.zip.
--
-- $sel:overrideArtifactName:ProjectArtifacts',
-- projectArtifacts_overrideArtifactName - If this flag is set, a
-- name specified in the buildspec file overrides the artifact name. The
-- name specified in a buildspec file is calculated at build time and
-- uses the Shell Command Language. For example, you can append a date
-- and time to your artifact name so that it is always unique.
--
-- $sel:packaging:ProjectArtifacts',
-- projectArtifacts_packaging - The type of build output artifact
-- to create:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output artifacts instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, valid values
-- include:
- NONE: CodeBuild creates in the output bucket
-- a folder that contains the build output. This is the default if
-- packaging is not specified.
- ZIP: CodeBuild
-- creates in the output bucket a ZIP file that contains the build
-- output.
--
--
-- $sel:path:ProjectArtifacts', projectArtifacts_path -
-- Along with namespaceType and name, the pattern that
-- CodeBuild uses to name and store the output artifact:
--
--
-- - If type is set to CODEPIPELINE, CodePipeline
-- ignores this value if specified. This is because CodePipeline manages
-- its build output names instead of CodeBuild.
-- - If type is set to NO_ARTIFACTS, this value is
-- ignored if specified, because no build output is produced.
-- - If type is set to S3, this is the path to the
-- output artifact. If path is not specified, path is
-- not used.
--
--
-- For example, if path is set to MyArtifacts,
-- namespaceType is set to NONE, and name is
-- set to MyArtifact.zip, the output artifact is stored in the
-- output bucket at MyArtifacts/MyArtifact.zip.
--
-- $sel:type':ProjectArtifacts', projectArtifacts_type -
-- The type of build output artifact. Valid values include:
--
--
-- - CODEPIPELINE: The build project has build output
-- generated through CodePipeline.The CODEPIPELINE type is not
-- supported for secondaryArtifacts.
-- - NO_ARTIFACTS: The build project does not produce any
-- build output.
-- - S3: The build project stores build output in Amazon
-- S3.
--
newProjectArtifacts :: ArtifactsType -> ProjectArtifacts
-- | Information about the build badge for the build project.
--
-- See: newProjectBadge smart constructor.
data ProjectBadge
ProjectBadge' :: Maybe Bool -> Maybe Text -> ProjectBadge
-- | Create a value of ProjectBadge with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:badgeEnabled:ProjectBadge',
-- projectBadge_badgeEnabled - Set this to true to generate a
-- publicly accessible URL for your project's build badge.
--
-- $sel:badgeRequestUrl:ProjectBadge',
-- projectBadge_badgeRequestUrl - The publicly-accessible URL
-- through which you can access the build badge for your project.
newProjectBadge :: ProjectBadge
-- | Contains configuration information about a batch build project.
--
-- See: newProjectBuildBatchConfig smart constructor.
data ProjectBuildBatchConfig
ProjectBuildBatchConfig' :: Maybe BatchReportModeType -> Maybe Bool -> Maybe BatchRestrictions -> Maybe Text -> Maybe Int -> ProjectBuildBatchConfig
-- | Create a value of ProjectBuildBatchConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:batchReportMode:ProjectBuildBatchConfig',
-- projectBuildBatchConfig_batchReportMode - Specifies how build
-- status reports are sent to the source provider for the batch build.
-- This property is only used when the source provider for your project
-- is Bitbucket, GitHub, or GitHub Enterprise, and your project is
-- configured to report build statuses to the source provider.
--
-- REPORT_AGGREGATED_BATCH Aggregate all of the build statuses
-- into a single status report.
--
--
-- - REPORT_INDIVIDUAL_BUILDS Send a separate status report for
-- each individual build.
--
--
-- $sel:combineArtifacts:ProjectBuildBatchConfig',
-- projectBuildBatchConfig_combineArtifacts - Specifies if the
-- build artifacts for the batch build should be combined into a single
-- artifact location.
--
-- $sel:restrictions:ProjectBuildBatchConfig',
-- projectBuildBatchConfig_restrictions - A
-- BatchRestrictions object that specifies the restrictions for
-- the batch build.
--
-- $sel:serviceRole:ProjectBuildBatchConfig',
-- projectBuildBatchConfig_serviceRole - Specifies the service
-- role ARN for the batch build project.
--
-- $sel:timeoutInMins:ProjectBuildBatchConfig',
-- projectBuildBatchConfig_timeoutInMins - Specifies the maximum
-- amount of time, in minutes, that the batch build must be completed in.
newProjectBuildBatchConfig :: ProjectBuildBatchConfig
-- | Information about the cache for the build project.
--
-- See: newProjectCache smart constructor.
data ProjectCache
ProjectCache' :: Maybe Text -> Maybe [CacheMode] -> CacheType -> ProjectCache
-- | Create a value of ProjectCache with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:location:ProjectCache', projectCache_location -
-- Information about the cache location:
--
--
-- - NO_CACHE or LOCAL: This value is ignored.
-- - S3: This is the S3 bucket name/prefix.
--
--
-- $sel:modes:ProjectCache', projectCache_modes - An array
-- of strings that specify the local cache modes. You can use one or more
-- local cache modes at the same time. This is only used for
-- LOCAL cache types.
--
-- Possible values are:
--
--
-- - LOCAL_SOURCE_CACHE Caches Git metadata for primary and
-- secondary sources. After the cache is created, subsequent builds pull
-- only the change between commits. This mode is a good choice for
-- projects with a clean working directory and a source that is a large
-- Git repository. If you choose this option and your project does not
-- use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the
-- option is ignored.
-- - LOCAL_DOCKER_LAYER_CACHE Caches existing Docker layers.
-- This mode is a good choice for projects that build or pull large
-- Docker images. It can prevent the performance issues caused by pulling
-- large Docker images down from the network.
- You can use a Docker
-- layer cache in the Linux environment only.
- The
-- privileged flag must be set so that your project has the
-- required Docker permissions.
- You should consider the security
-- implications before you use a Docker layer cache.
-- - LOCAL_CUSTOM_CACHE Caches directories you specify in the
-- buildspec file. This mode is a good choice if your build scenario is
-- not suited to one of the other three local cache modes. If you use a
-- custom cache:
- Only directories can be specified for caching.
-- You cannot specify individual files.
- Symlinks are used to
-- reference cached directories.
- Cached directories are linked to
-- your build before it downloads its project sources. Cached items are
-- overridden if a source item has the same name. Directories are
-- specified using cache paths in the buildspec file.
--
--
-- $sel:type':ProjectCache', projectCache_type - The type
-- of cache used by the build project. Valid values include:
--
--
-- - NO_CACHE: The build project does not use any cache.
-- - S3: The build project reads and writes from and to
-- S3.
-- - LOCAL: The build project stores a cache locally on a
-- build host that is only available to that build host.
--
newProjectCache :: CacheType -> ProjectCache
-- | Information about the build environment of the build project.
--
-- See: newProjectEnvironment smart constructor.
data ProjectEnvironment
ProjectEnvironment' :: Maybe Text -> Maybe [EnvironmentVariable] -> Maybe ImagePullCredentialsType -> Maybe Bool -> Maybe RegistryCredential -> EnvironmentType -> Text -> ComputeType -> ProjectEnvironment
-- | Create a value of ProjectEnvironment with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:certificate:ProjectEnvironment',
-- projectEnvironment_certificate - The ARN of the Amazon S3
-- bucket, path prefix, and object key that contains the PEM-encoded
-- certificate for the build project. For more information, see
-- certificate in the CodeBuild User Guide.
--
-- $sel:environmentVariables:ProjectEnvironment',
-- projectEnvironment_environmentVariables - A set of environment
-- variables to make available to builds for this build project.
--
-- $sel:imagePullCredentialsType:ProjectEnvironment',
-- projectEnvironment_imagePullCredentialsType - The type of
-- credentials CodeBuild uses to pull images in your build. There are two
-- valid values:
--
--
-- - CODEBUILD specifies that CodeBuild uses its own
-- credentials. This requires that you modify your ECR repository policy
-- to trust CodeBuild service principal.
-- - SERVICE_ROLE specifies that CodeBuild uses your build
-- project's service role.
--
--
-- When you use a cross-account or private registry image, you must use
-- SERVICE_ROLE credentials. When you use an CodeBuild curated image, you
-- must use CODEBUILD credentials.
--
-- $sel:privilegedMode:ProjectEnvironment',
-- projectEnvironment_privilegedMode - Enables running the Docker
-- daemon inside a Docker container. Set to true only if the build
-- project is used to build Docker images. Otherwise, a build that
-- attempts to interact with the Docker daemon fails. The default setting
-- is false.
--
-- You can initialize the Docker daemon during the install phase of your
-- build by adding one of the following sets of commands to the install
-- phase of your buildspec file:
--
-- If the operating system's base image is Ubuntu Linux:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
--
--
-- If the operating system's base image is Alpine Linux and the previous
-- command does not work, add the -t argument to
-- timeout:
--
--
-- - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
--
--
--
-- - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"
--
--
-- $sel:registryCredential:ProjectEnvironment',
-- projectEnvironment_registryCredential - The credentials for
-- access to a private registry.
--
-- ProjectEnvironment, projectEnvironment_type - The type
-- of build environment to use for related builds.
--
--
-- - The environment type ARM_CONTAINER is available only in
-- regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU
-- (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific
-- (Sydney), and EU (Frankfurt).
-- - The environment type LINUX_CONTAINER with compute type
-- build.general1.2xlarge is available only in regions US East
-- (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU
-- (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
-- Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney),
-- China (Beijing), and China (Ningxia).
-- - The environment type LINUX_GPU_CONTAINER is available
-- only in regions US East (N. Virginia), US East (Ohio), US West
-- (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt),
-- Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
-- Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
-- - The environment types WINDOWS_CONTAINER and
-- WINDOWS_SERVER_2019_CONTAINER are available only in regions
-- US East (N. Virginia), US East (Ohio), US West (Oregon), and EU
-- (Ireland).
--
--
-- For more information, see Build environment compute types in
-- the CodeBuild user guide.
--
-- $sel:image:ProjectEnvironment', projectEnvironment_image
-- - The image tag or image digest that identifies the Docker image to
-- use for this build project. Use the following formats:
--
--
-- - For an image tag:
-- <registry>/<repository>:<tag>. For example,
-- in the Docker repository that CodeBuild uses to manage its Docker
-- images, this would be aws/codebuild/standard:4.0.
-- - For an image digest:
-- <registry>/<repository>@<digest>. For
-- example, to specify an image with the digest
-- "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,"
-- use
-- <registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
--
--
-- For more information, see Docker images provided by CodeBuild
-- in the CodeBuild user guide.
--
-- $sel:computeType:ProjectEnvironment',
-- projectEnvironment_computeType - Information about the compute
-- resources the build project uses. 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 16 GB memory and 8 vCPUs
-- for builds, depending on your environment type.
-- - BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72
-- vCPUs, and 824 GB of SSD storage for builds. This compute type
-- supports Docker images up to 100 GB uncompressed.
--
--
-- If you use BUILD_GENERAL1_LARGE:
--
--
-- - For environment type LINUX_CONTAINER, you can use up to
-- 15 GB memory and 8 vCPUs for builds.
-- - For environment type LINUX_GPU_CONTAINER, you can use up
-- to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for
-- builds.
-- - For environment type ARM_CONTAINER, you can use up to 16
-- GB memory and 8 vCPUs on ARM-based processors for builds.
--
--
-- For more information, see Build Environment Compute Types in
-- the CodeBuild User Guide.
newProjectEnvironment :: EnvironmentType -> Text -> ComputeType -> ProjectEnvironment
-- | Information about a file system created by Amazon Elastic File System
-- (EFS). For more information, see What Is Amazon Elastic File
-- System?
--
-- See: newProjectFileSystemLocation smart constructor.
data ProjectFileSystemLocation
ProjectFileSystemLocation' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe FileSystemType -> ProjectFileSystemLocation
-- | Create a value of ProjectFileSystemLocation with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:identifier:ProjectFileSystemLocation',
-- projectFileSystemLocation_identifier - The name used to access
-- a file system created by Amazon EFS. CodeBuild creates an environment
-- variable by appending the identifier in all capital letters
-- to CODEBUILD_. For example, if you specify my_efs
-- for identifier, a new environment variable is create named
-- CODEBUILD_MY_EFS.
--
-- The identifier is used to mount your file system.
--
-- $sel:location:ProjectFileSystemLocation',
-- projectFileSystemLocation_location - A string that specifies
-- the location of the file system created by Amazon EFS. Its format is
-- efs-dns-name:/directory-path. You can find the DNS name of
-- file system when you view it in the Amazon EFS console. The directory
-- path is a path to a directory in the file system that CodeBuild
-- mounts. For example, if the DNS name of a file system is
-- fs-abcd1234.efs.us-west-2.amazonaws.com, and its mount
-- directory is my-efs-mount-directory, then the
-- location is
-- fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.
--
-- The directory path in the format efs-dns-name:/directory-path
-- is optional. If you do not specify a directory path, the location is
-- only the DNS name and CodeBuild mounts the entire file system.
--
-- $sel:mountOptions:ProjectFileSystemLocation',
-- projectFileSystemLocation_mountOptions - The mount options for
-- a file system created by Amazon EFS. The default mount options used by
-- CodeBuild are
-- nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2.
-- For more information, see Recommended NFS Mount Options.
--
-- $sel:mountPoint:ProjectFileSystemLocation',
-- projectFileSystemLocation_mountPoint - The location in the
-- container where you mount the file system.
--
-- $sel:type':ProjectFileSystemLocation',
-- projectFileSystemLocation_type - The type of the file system.
-- The one supported type is EFS.
newProjectFileSystemLocation :: ProjectFileSystemLocation
-- | Information about the build input source code for the build project.
--
-- See: newProjectSource smart constructor.
data ProjectSource
ProjectSource' :: Maybe SourceAuth -> Maybe BuildStatusConfig -> Maybe Text -> Maybe Natural -> Maybe GitSubmodulesConfig -> Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Text -> SourceType -> ProjectSource
-- | Create a value of ProjectSource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:auth:ProjectSource', projectSource_auth -
-- Information about the authorization settings for CodeBuild to access
-- the source code to be built.
--
-- This information is for the CodeBuild console's use only. Your code
-- should not get or set this information directly.
--
-- $sel:buildStatusConfig:ProjectSource',
-- projectSource_buildStatusConfig - Contains information that
-- defines how the build project reports the build status to the source
-- provider. This option is only used when the source provider is
-- GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
--
-- $sel:buildspec:ProjectSource', projectSource_buildspec -
-- The buildspec file declaration to use for the builds in this build
-- project.
--
-- If this value is set, it can be either an inline buildspec definition,
-- the path to an alternate buildspec file relative to the value of the
-- built-in CODEBUILD_SRC_DIR environment variable, or the path
-- to an S3 bucket. The bucket must be in the same Amazon Web Services
-- Region as the build project. Specify the buildspec file using its ARN
-- (for example,
-- arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this
-- value is not provided or is set to an empty string, the source code
-- must contain a buildspec file in its root directory. For more
-- information, see Buildspec File Name and Storage Location.
--
-- $sel:gitCloneDepth:ProjectSource',
-- projectSource_gitCloneDepth - Information about the Git clone
-- depth for the build project.
--
-- $sel:gitSubmodulesConfig:ProjectSource',
-- projectSource_gitSubmodulesConfig - Information about the Git
-- submodules configuration for the build project.
--
-- $sel:insecureSsl:ProjectSource',
-- projectSource_insecureSsl - Enable this flag to ignore SSL
-- warnings while connecting to the project source code.
--
-- $sel:location:ProjectSource', projectSource_location -
-- 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 CodePipeline, location should not be
-- specified. If it is specified, CodePipeline ignores it. This is
-- because CodePipeline uses the settings in a pipeline's source action
-- instead of this value.
-- - For source code in an CodeCommit repository, the HTTPS clone URL
-- to the repository that contains the source code and the buildspec file
-- (for example,
-- https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>).
-- - For source code in an Amazon S3 input bucket, one of the
-- following.
- The path to the ZIP file that contains the source
-- code (for example,
-- <bucket-name>/<path>/<object-name>.zip).
- The
-- path to the folder that contains the source code (for example,
-- <bucket-name>/<path-to-source-code>/<folder>/).
-- - For source code in a GitHub repository, the HTTPS clone URL to the
-- repository that contains the source and the buildspec file. You must
-- connect your Amazon Web Services account to your GitHub account. Use
-- the CodeBuild console to start creating a build project. When you use
-- the console to connect (or reconnect) with GitHub, on the GitHub
-- Authorize application page, for Organization access,
-- choose Request access next to each repository you want to allow
-- CodeBuild to have access to, and then choose __Authorize
-- application__. (After you have connected to your GitHub account, you
-- do not need to finish creating the build project. You can leave the
-- CodeBuild console.) To instruct CodeBuild to 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 buildspec file. You
-- must connect your Amazon Web Services account to your Bitbucket
-- account. Use the CodeBuild console to start creating a build project.
-- When you use the console to connect (or reconnect) with Bitbucket, on
-- the Bitbucket Confirm access to your account page, choose
-- Grant access. (After you have connected to your Bitbucket
-- account, you do not need to finish creating the build project. You can
-- leave the CodeBuild console.) To instruct CodeBuild to use this
-- connection, in the source object, set the auth
-- object's type value to OAUTH.
--
--
-- If you specify CODEPIPELINE for the Type property,
-- don't specify this property. For all of the other types, you must
-- specify Location.
--
-- $sel:reportBuildStatus:ProjectSource',
-- projectSource_reportBuildStatus - Set to true to report the
-- status of a build's start and finish to your source provider. This
-- option is valid only when your source provider is GitHub, GitHub
-- Enterprise, or Bitbucket. If this is set and you use a different
-- source provider, an invalidInputException is thrown.
--
-- To be able to report the build status to the source provider, the user
-- associated with the source provider must have write access to the
-- repo. If the user does not have write access, the build status cannot
-- be updated. For more information, see Source provider access in
-- the CodeBuild User Guide.
--
-- The status of a build triggered by a webhook is always reported to
-- your source provider.
--
-- If your project's builds are triggered by a webhook, you must push a
-- new commit to the repo for a change to this property to take effect.
--
-- $sel:sourceIdentifier:ProjectSource',
-- projectSource_sourceIdentifier - An identifier for this project
-- source. The identifier can only contain alphanumeric characters and
-- underscores, and must be less than 128 characters in length.
--
-- ProjectSource, projectSource_type - 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 CodeCommit
-- repository.
-- - CODEPIPELINE: The source code settings are specified in
-- the source action of a pipeline in CodePipeline.
-- - GITHUB: The source code is in a GitHub or GitHub
-- Enterprise Cloud repository.
-- - GITHUB_ENTERPRISE: The source code is in a GitHub
-- Enterprise Server repository.
-- - NO_SOURCE: The project does not have input source
-- code.
-- - S3: The source code is in an Amazon S3 bucket.
--
newProjectSource :: SourceType -> ProjectSource
-- | A source identifier and its corresponding version.
--
-- See: newProjectSourceVersion smart constructor.
data ProjectSourceVersion
ProjectSourceVersion' :: Text -> Text -> ProjectSourceVersion
-- | Create a value of ProjectSourceVersion with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:sourceIdentifier:ProjectSourceVersion',
-- projectSourceVersion_sourceIdentifier - An identifier for a
-- source in the build project. The identifier can only contain
-- alphanumeric characters and underscores, and must be less than 128
-- characters in length.
--
-- $sel:sourceVersion:ProjectSourceVersion',
-- projectSourceVersion_sourceVersion - The source version for the
-- corresponding source identifier. If specified, must be one of:
--
--
-- - For CodeCommit: the commit ID, branch, or Git tag 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 is used. If not
-- specified, the default branch's HEAD commit ID is 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 is used. If not
-- specified, the default branch's HEAD commit ID is used.
-- - For Amazon S3: the version ID of the object that represents the
-- build input ZIP file to use.
--
--
-- For more information, see Source Version Sample with CodeBuild
-- in the CodeBuild User Guide.
newProjectSourceVersion :: Text -> Text -> ProjectSourceVersion
-- | Information about credentials that provide access to a private Docker
-- registry. When this is set:
--
--
-- - imagePullCredentialsType must be set to
-- SERVICE_ROLE.
-- - images cannot be curated or an Amazon ECR image.
--
--
-- For more information, see Private Registry with Secrets Manager
-- Sample for CodeBuild.
--
-- See: newRegistryCredential smart constructor.
data RegistryCredential
RegistryCredential' :: Text -> CredentialProviderType -> RegistryCredential
-- | Create a value of RegistryCredential with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:credential:RegistryCredential',
-- registryCredential_credential - The Amazon Resource Name (ARN)
-- or name of credentials created using Secrets Manager.
--
-- The credential can use the name of the credentials only if
-- they exist in your current Amazon Web Services Region.
--
-- $sel:credentialProvider:RegistryCredential',
-- registryCredential_credentialProvider - The service that
-- created the credentials to access a private Docker registry. The valid
-- value, SECRETS_MANAGER, is for Secrets Manager.
newRegistryCredential :: Text -> CredentialProviderType -> RegistryCredential
-- | Information about the results from running a series of test cases
-- during the run of a build project. The test cases are specified in the
-- buildspec for the build project using one or more paths to the test
-- case files. You can specify any type of tests you want, such as unit
-- tests, integration tests, and functional tests.
--
-- See: newReport smart constructor.
data Report
Report' :: Maybe Text -> Maybe CodeCoverageReportSummary -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe ReportExportConfig -> Maybe Text -> Maybe Text -> Maybe ReportStatusType -> Maybe TestReportSummary -> Maybe Bool -> Maybe ReportType -> Report
-- | Create a value of Report with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:Report', report_arn - The ARN of the report
-- run.
--
-- $sel:codeCoverageSummary:Report',
-- report_codeCoverageSummary - A
-- CodeCoverageReportSummary object that contains a code
-- coverage summary for this report.
--
-- $sel:created:Report', report_created - The date and time
-- this report run occurred.
--
-- $sel:executionId:Report', report_executionId - The ARN
-- of the build run that generated this report.
--
-- $sel:expired:Report', report_expired - The date and time
-- a report expires. A report expires 30 days after it is created. An
-- expired report is not available to view in CodeBuild.
--
-- $sel:exportConfig:Report', report_exportConfig -
-- Information about where the raw data used to generate this report was
-- exported.
--
-- $sel:name:Report', report_name - The name of the report
-- that was run.
--
-- $sel:reportGroupArn:Report', report_reportGroupArn - The
-- ARN of the report group associated with this report.
--
-- $sel:status:Report', report_status - The status of this
-- report.
--
-- $sel:testSummary:Report', report_testSummary - A
-- TestReportSummary object that contains information about this
-- test report.
--
-- $sel:truncated:Report', report_truncated - A boolean
-- that specifies if this report run is truncated. The list of test cases
-- is truncated after the maximum number of test cases is reached.
--
-- $sel:type':Report', report_type - The type of the report
-- that was run.
--
--
-- - CODE_COVERAGE A code coverage report.
-- - TEST A test report.
--
newReport :: Report
-- | Information about the location where the run of a report is exported.
--
-- See: newReportExportConfig smart constructor.
data ReportExportConfig
ReportExportConfig' :: Maybe ReportExportConfigType -> Maybe S3ReportExportConfig -> ReportExportConfig
-- | Create a value of ReportExportConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:exportConfigType:ReportExportConfig',
-- reportExportConfig_exportConfigType - The export configuration
-- type. Valid values are:
--
--
-- - S3: The report results are exported to an S3 bucket.
-- - NO_EXPORT: The report results are not exported.
--
--
-- $sel:s3Destination:ReportExportConfig',
-- reportExportConfig_s3Destination - A
-- S3ReportExportConfig object that contains information about
-- the S3 bucket where the run of a report is exported.
newReportExportConfig :: ReportExportConfig
-- | A filter used to return reports with the status specified by the input
-- status parameter.
--
-- See: newReportFilter smart constructor.
data ReportFilter
ReportFilter' :: Maybe ReportStatusType -> ReportFilter
-- | Create a value of ReportFilter with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:status:ReportFilter', reportFilter_status - The
-- status used to filter reports. You can filter using one status only.
newReportFilter :: ReportFilter
-- | A series of reports. Each report contains information about the
-- results from running a series of test cases. You specify the test
-- cases for a report group in the buildspec for a build project using
-- one or more paths to the test case files.
--
-- See: newReportGroup smart constructor.
data ReportGroup
ReportGroup' :: Maybe Text -> Maybe POSIX -> Maybe ReportExportConfig -> Maybe POSIX -> Maybe Text -> Maybe ReportGroupStatusType -> Maybe [Tag] -> Maybe ReportType -> ReportGroup
-- | Create a value of ReportGroup with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:ReportGroup', reportGroup_arn - The ARN of the
-- ReportGroup.
--
-- $sel:created:ReportGroup', reportGroup_created - The
-- date and time this ReportGroup was created.
--
-- $sel:exportConfig:ReportGroup', reportGroup_exportConfig
-- - Information about the destination where the raw data of this
-- ReportGroup is exported.
--
-- $sel:lastModified:ReportGroup', reportGroup_lastModified
-- - The date and time this ReportGroup was last modified.
--
-- $sel:name:ReportGroup', reportGroup_name - The name of
-- the ReportGroup.
--
-- $sel:status:ReportGroup', reportGroup_status - The
-- status of the report group. This property is read-only.
--
-- This can be one of the following values:
--
--
-- - ACTIVE The report group is active.
-- - DELETING The report group is in the process of being
-- deleted.
--
--
-- $sel:tags:ReportGroup', reportGroup_tags - A list of tag
-- key and value pairs associated with this report group.
--
-- These tags are available for use by Amazon Web Services services that
-- support CodeBuild report group tags.
--
-- $sel:type':ReportGroup', reportGroup_type - The type of
-- the ReportGroup. This can be one of the following values:
--
--
-- - CODE_COVERAGE The report group contains code coverage
-- reports.
-- - TEST The report group contains test reports.
--
newReportGroup :: ReportGroup
-- | Contains trend statistics for a set of reports. The actual values
-- depend on the type of trend being collected. For more information, see
-- .
--
-- See: newReportGroupTrendStats smart constructor.
data ReportGroupTrendStats
ReportGroupTrendStats' :: Maybe Text -> Maybe Text -> Maybe Text -> ReportGroupTrendStats
-- | Create a value of ReportGroupTrendStats with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:average:ReportGroupTrendStats',
-- reportGroupTrendStats_average - Contains the average of all
-- values analyzed.
--
-- $sel:max:ReportGroupTrendStats',
-- reportGroupTrendStats_max - Contains the maximum value
-- analyzed.
--
-- $sel:min:ReportGroupTrendStats',
-- reportGroupTrendStats_min - Contains the minimum value
-- analyzed.
newReportGroupTrendStats :: ReportGroupTrendStats
-- | Contains the unmodified data for the report. For more information, see
-- .
--
-- See: newReportWithRawData smart constructor.
data ReportWithRawData
ReportWithRawData' :: Maybe Text -> Maybe Text -> ReportWithRawData
-- | Create a value of ReportWithRawData with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:data':ReportWithRawData', reportWithRawData_data -
-- The value of the requested data field from the report.
--
-- $sel:reportArn:ReportWithRawData',
-- reportWithRawData_reportArn - The ARN of the report.
newReportWithRawData :: ReportWithRawData
-- | Represents a resolved build artifact. A resolved artifact is an
-- artifact that is built and deployed to the destination, such as Amazon
-- S3.
--
-- See: newResolvedArtifact smart constructor.
data ResolvedArtifact
ResolvedArtifact' :: Maybe Text -> Maybe Text -> Maybe ArtifactsType -> ResolvedArtifact
-- | Create a value of ResolvedArtifact with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:identifier:ResolvedArtifact',
-- resolvedArtifact_identifier - The identifier of the artifact.
--
-- $sel:location:ResolvedArtifact',
-- resolvedArtifact_location - The location of the artifact.
--
-- $sel:type':ResolvedArtifact', resolvedArtifact_type -
-- Specifies the type of artifact.
newResolvedArtifact :: ResolvedArtifact
-- | Information about S3 logs for a build project.
--
-- See: newS3LogsConfig smart constructor.
data S3LogsConfig
S3LogsConfig' :: Maybe BucketOwnerAccess -> Maybe Bool -> Maybe Text -> LogsConfigStatusType -> S3LogsConfig
-- | Create a value of S3LogsConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:bucketOwnerAccess:S3LogsConfig',
-- s3LogsConfig_bucketOwnerAccess - Undocumented member.
--
-- $sel:encryptionDisabled:S3LogsConfig',
-- s3LogsConfig_encryptionDisabled - Set to true if you do not
-- want your S3 build log output encrypted. By default S3 build logs are
-- encrypted.
--
-- $sel:location:S3LogsConfig', s3LogsConfig_location - The
-- ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3
-- bucket name is my-bucket, and your path prefix is
-- build-log, then acceptable formats are
-- my-bucket/build-log or
-- arn:aws:s3:::my-bucket/build-log.
--
-- $sel:status:S3LogsConfig', s3LogsConfig_status - The
-- current status of the S3 build logs. Valid values are:
--
--
-- - ENABLED: S3 build logs are enabled for this build
-- project.
-- - DISABLED: S3 build logs are not enabled for this build
-- project.
--
newS3LogsConfig :: LogsConfigStatusType -> S3LogsConfig
-- | Information about the S3 bucket where the raw data of a report are
-- exported.
--
-- See: newS3ReportExportConfig smart constructor.
data S3ReportExportConfig
S3ReportExportConfig' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe ReportPackagingType -> Maybe Text -> S3ReportExportConfig
-- | Create a value of S3ReportExportConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:bucket:S3ReportExportConfig',
-- s3ReportExportConfig_bucket - The name of the S3 bucket where
-- the raw data of a report are exported.
--
-- $sel:bucketOwner:S3ReportExportConfig',
-- s3ReportExportConfig_bucketOwner - The Amazon Web Services
-- account identifier of the owner of the Amazon S3 bucket. This allows
-- report data to be exported to an Amazon S3 bucket that is owned by an
-- account other than the account running the build.
--
-- $sel:encryptionDisabled:S3ReportExportConfig',
-- s3ReportExportConfig_encryptionDisabled - A boolean value that
-- specifies if the results of a report are encrypted.
--
-- $sel:encryptionKey:S3ReportExportConfig',
-- s3ReportExportConfig_encryptionKey - The encryption key for the
-- report's encrypted raw data.
--
-- $sel:packaging:S3ReportExportConfig',
-- s3ReportExportConfig_packaging - The type of build output
-- artifact to create. Valid values include:
--
--
-- - NONE: CodeBuild creates the raw data in the output
-- bucket. This is the default if packaging is not specified.
-- - ZIP: CodeBuild creates a ZIP file with the raw data in
-- the output bucket.
--
--
-- $sel:path:S3ReportExportConfig',
-- s3ReportExportConfig_path - The path to the exported report's
-- raw data results.
newS3ReportExportConfig :: S3ReportExportConfig
-- | Information about the authorization settings for CodeBuild to access
-- the source code to be built.
--
-- This information is for the CodeBuild console's use only. Your code
-- should not get or set this information directly.
--
-- See: newSourceAuth smart constructor.
data SourceAuth
SourceAuth' :: Maybe Text -> SourceAuthType -> SourceAuth
-- | Create a value of SourceAuth with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resource:SourceAuth', sourceAuth_resource - The
-- resource value that applies to the specified authorization type.
--
-- $sel:type':SourceAuth', sourceAuth_type - This data type
-- is deprecated and is no longer accurate or used.
--
-- The authorization type to use. The only valid value is OAUTH,
-- which represents the OAuth authorization type.
newSourceAuth :: SourceAuthType -> SourceAuth
-- | Information about the credentials for a GitHub, GitHub Enterprise, or
-- Bitbucket repository.
--
-- See: newSourceCredentialsInfo smart constructor.
data SourceCredentialsInfo
SourceCredentialsInfo' :: Maybe Text -> Maybe AuthType -> Maybe ServerType -> SourceCredentialsInfo
-- | Create a value of SourceCredentialsInfo with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:arn:SourceCredentialsInfo',
-- sourceCredentialsInfo_arn - The Amazon Resource Name (ARN) of
-- the token.
--
-- $sel:authType:SourceCredentialsInfo',
-- sourceCredentialsInfo_authType - The type of authentication
-- used by the credentials. Valid options are OAUTH, BASIC_AUTH, or
-- PERSONAL_ACCESS_TOKEN.
--
-- $sel:serverType:SourceCredentialsInfo',
-- sourceCredentialsInfo_serverType - The type of source provider.
-- The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
newSourceCredentialsInfo :: SourceCredentialsInfo
-- | A tag, consisting of a key and a value.
--
-- This tag is available for use by Amazon Web Services services that
-- support tags in CodeBuild.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Maybe Text -> Tag
-- | Create a value of Tag with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:key:Tag', tag_key - The tag's key.
--
-- $sel:value:Tag', tag_value - The tag's value.
newTag :: Tag
-- | Information about a test case created using a framework such as NUnit
-- or Cucumber. A test case might be a unit test or a configuration test.
--
-- See: newTestCase smart constructor.
data TestCase
TestCase' :: Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> TestCase
-- | Create a value of TestCase with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:durationInNanoSeconds:TestCase',
-- testCase_durationInNanoSeconds - The number of nanoseconds it
-- took to run this test case.
--
-- $sel:expired:TestCase', testCase_expired - The date and
-- time a test case expires. A test case expires 30 days after it is
-- created. An expired test case is not available to view in CodeBuild.
--
-- $sel:message:TestCase', testCase_message - A message
-- associated with a test case. For example, an error message or stack
-- trace.
--
-- $sel:name:TestCase', testCase_name - The name of the
-- test case.
--
-- $sel:prefix:TestCase', testCase_prefix - A string that
-- is applied to a series of related test cases. CodeBuild generates the
-- prefix. The prefix depends on the framework used to generate the
-- tests.
--
-- $sel:reportArn:TestCase', testCase_reportArn - The ARN
-- of the report to which the test case belongs.
--
-- $sel:status:TestCase', testCase_status - The status
-- returned by the test case after it was run. Valid statuses are
-- SUCCEEDED, FAILED, ERROR, SKIPPED,
-- and UNKNOWN.
--
-- $sel:testRawDataPath:TestCase', testCase_testRawDataPath
-- - The path to the raw data file that contains the test result.
newTestCase :: TestCase
-- | A filter used to return specific types of test cases. In order to pass
-- the filter, the report must meet all of the filter properties.
--
-- See: newTestCaseFilter smart constructor.
data TestCaseFilter
TestCaseFilter' :: Maybe Text -> Maybe Text -> TestCaseFilter
-- | Create a value of TestCaseFilter with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:keyword:TestCaseFilter', testCaseFilter_keyword - A
-- keyword that is used to filter on the name or the
-- prefix of the test cases. Only test cases where the keyword
-- is a substring of the name or the prefix will be
-- returned.
--
-- $sel:status:TestCaseFilter', testCaseFilter_status - The
-- status used to filter test cases. A TestCaseFilter can have
-- one status. Valid values are:
--
--
-- SUCCEEDED
-- FAILED
-- ERROR
-- SKIPPED
-- UNKNOWN
--
newTestCaseFilter :: TestCaseFilter
-- | Information about a test report.
--
-- See: newTestReportSummary smart constructor.
data TestReportSummary
TestReportSummary' :: Int -> HashMap Text Int -> Integer -> TestReportSummary
-- | Create a value of TestReportSummary with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:total:TestReportSummary', testReportSummary_total -
-- The number of test cases in this TestReportSummary. The total
-- includes truncated test cases.
--
-- $sel:statusCounts:TestReportSummary',
-- testReportSummary_statusCounts - A map that contains the number
-- of each type of status returned by the test results in this
-- TestReportSummary.
--
-- $sel:durationInNanoSeconds:TestReportSummary',
-- testReportSummary_durationInNanoSeconds - The number of
-- nanoseconds it took to run all of the test cases in this report.
newTestReportSummary :: Int -> Integer -> TestReportSummary
-- | Information about the VPC configuration that CodeBuild accesses.
--
-- See: newVpcConfig smart constructor.
data VpcConfig
VpcConfig' :: Maybe [Text] -> Maybe [Text] -> Maybe Text -> VpcConfig
-- | Create a value of VpcConfig with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:securityGroupIds:VpcConfig',
-- vpcConfig_securityGroupIds - A list of one or more security
-- groups IDs in your Amazon VPC.
--
-- $sel:subnets:VpcConfig', vpcConfig_subnets - A list of
-- one or more subnet IDs in your Amazon VPC.
--
-- $sel:vpcId:VpcConfig', vpcConfig_vpcId - The ID of the
-- Amazon VPC.
newVpcConfig :: VpcConfig
-- | Information about a webhook that connects repository events to a build
-- project in CodeBuild.
--
-- See: newWebhook smart constructor.
data Webhook
Webhook' :: Maybe Text -> Maybe WebhookBuildType -> Maybe [[WebhookFilter]] -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Webhook
-- | Create a value of Webhook with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:branchFilter:Webhook', webhook_branchFilter - A
-- regular expression used to determine which repository branches are
-- built when a webhook is triggered. If the name of a branch matches the
-- regular expression, then it is built. If branchFilter is
-- empty, then all branches are built.
--
-- It is recommended that you use filterGroups instead of
-- branchFilter.
--
-- $sel:buildType:Webhook', webhook_buildType - Specifies
-- the type of build this webhook will trigger.
--
-- $sel:filterGroups:Webhook', webhook_filterGroups - An
-- array of arrays of WebhookFilter objects used to determine
-- which webhooks are triggered. At least one WebhookFilter in
-- the array must specify EVENT as its type.
--
-- For a build to be triggered, at least one filter group in the
-- filterGroups array must pass. For a filter group to pass,
-- each of its filters must pass.
--
-- $sel:lastModifiedSecret:Webhook',
-- webhook_lastModifiedSecret - A timestamp that indicates the
-- last time a repository's secret token was modified.
--
-- $sel:payloadUrl:Webhook', webhook_payloadUrl - The
-- CodeBuild endpoint where webhook events are sent.
--
-- $sel:secret:Webhook', webhook_secret - The secret token
-- of the associated repository.
--
-- A Bitbucket webhook does not support secret.
--
-- $sel:url:Webhook', webhook_url - The URL to the webhook.
newWebhook :: Webhook
-- | A filter used to determine which webhooks trigger a build.
--
-- See: newWebhookFilter smart constructor.
data WebhookFilter
WebhookFilter' :: Maybe Bool -> WebhookFilterType -> Text -> WebhookFilter
-- | Create a value of WebhookFilter with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:excludeMatchedPattern:WebhookFilter',
-- webhookFilter_excludeMatchedPattern - Used to indicate that the
-- pattern determines which webhook events do not trigger a
-- build. If true, then a webhook event that does not match the
-- pattern triggers a build. If false, then a webhook event that
-- matches the pattern triggers a build.
--
-- $sel:type':WebhookFilter', webhookFilter_type - The type
-- of webhook filter. There are six webhook filter types: EVENT,
-- ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF,
-- FILE_PATH, and COMMIT_MESSAGE.
--
--
-- - EVENT A webhook event triggers a build when the provided
-- pattern matches one of five event types: PUSH,
-- PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED,
-- PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The
-- EVENT patterns are specified as a comma-separated string. For
-- example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED
-- filters all push, pull request created, and pull request updated
-- events.The PULL_REQUEST_REOPENED works with GitHub and GitHub
-- Enterprise only.
-- - ACTOR_ACCOUNT_ID A webhook event triggers a build when a
-- GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular
-- expression pattern.
-- - HEAD_REF A webhook event triggers a build when the head
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name and
-- refs/tags/tag-name.Works with GitHub and GitHub Enterprise
-- push, GitHub and GitHub Enterprise pull request, Bitbucket push, and
-- Bitbucket pull request events.
-- - BASE_REF A webhook event triggers a build when the base
-- reference matches the regular expression pattern. For
-- example, refs/heads/branch-name.Works with pull request
-- events only.
-- - FILE_PATH A webhook triggers a build when the path of a
-- changed file matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
-- - COMMIT_MESSAGE A webhook triggers a build when the head
-- commit message matches the regular expression pattern.Works
-- with GitHub and Bitbucket events push and pull requests events. Also
-- works with GitHub Enterprise push events, but does not work with
-- GitHub Enterprise pull request events.
--
--
-- $sel:pattern':WebhookFilter', webhookFilter_pattern -
-- For a WebHookFilter that uses EVENT type, a
-- comma-separated string that specifies one or more events. For example,
-- the webhook filter PUSH, PULL_REQUEST_CREATED,
-- PULL_REQUEST_UPDATED allows all push, pull request created, and
-- pull request updated events to trigger a build.
--
-- For a WebHookFilter that uses any of the other filter types,
-- a regular expression pattern. For example, a WebHookFilter
-- that uses HEAD_REF for its type and the pattern
-- ^refs/heads/ triggers a build when the head reference is a
-- branch with a reference name refs/heads/branch-name.
newWebhookFilter :: WebhookFilterType -> Text -> WebhookFilter