Values.BuildBatchSourceContains information about a batch build.
type nonrec t = {id : NonEmptyString.t option;The identifier of the batch build.
*)arn : NonEmptyString.t option;The ARN of the batch build.
*)startTime : Timestamp.t option;The date and time that the batch build started.
*)endTime : Timestamp.t option;The date and time that the batch build ended.
*)currentPhase : String_.t option;The current phase of the batch build.
*)buildBatchStatus : StatusType.t option;The status of the batch build.
*)sourceVersion : NonEmptyString.t option;The identifier of the version of the source code to be built.
*)resolvedSourceVersion : NonEmptyString.t option;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.
*)projectName : NonEmptyString.t option;The name of the batch build project.
*)phases : BuildBatchPhases.t option;An array of BuildBatchPhase objects the specify the phases of the batch build.
*)source : ProjectSource.t option;secondarySources : ProjectSources.t option;An array of ProjectSource objects that define the sources for the batch build.
*)secondarySourceVersions : ProjectSecondarySourceVersions.t option;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.
*)artifacts : BuildArtifacts.t option;A BuildArtifacts object the defines the build artifacts for this batch build.
*)secondaryArtifacts : BuildArtifactsList.t option;An array of BuildArtifacts objects the define the build artifacts for this batch build.
*)cache : ProjectCache.t option;environment : ProjectEnvironment.t option;serviceRole : NonEmptyString.t option;The name of a service role used for builds in the batch.
*)logConfig : LogsConfig.t option;buildTimeoutInMinutes : WrapperInt.t option;Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.
*)queuedTimeoutInMinutes : WrapperInt.t option;Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.
*)complete : Boolean.t option;Indicates if the batch build is complete.
*)initiator : String_.t option;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 a user started the build, the user's name. If the Jenkins plugin for CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.
*)vpcConfig : VpcConfig.t option;encryptionKey : NonEmptyString.t option;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>).
*)buildBatchNumber : WrapperLong.t option;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.
*)fileSystemLocations : ProjectFileSystemLocations.t option;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.
*)buildBatchConfig : ProjectBuildBatchConfig.t option;buildGroups : BuildGroups.t option;An array of BuildGroup objects that define the build groups for the batch build.
*)debugSessionEnabled : WrapperBoolean.t option;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.
*)reportArns : BuildReportArns.t option;An array that contains the ARNs of reports created by merging reports from builds associated with this batch build.
*)}val make :
?id:??? ->
?arn:??? ->
?startTime:??? ->
?endTime:??? ->
?currentPhase:??? ->
?buildBatchStatus:??? ->
?sourceVersion:??? ->
?resolvedSourceVersion:??? ->
?projectName:??? ->
?phases:??? ->
?source:??? ->
?secondarySources:??? ->
?secondarySourceVersions:??? ->
?artifacts:??? ->
?secondaryArtifacts:??? ->
?cache:??? ->
?environment:??? ->
?serviceRole:??? ->
?logConfig:??? ->
?buildTimeoutInMinutes:??? ->
?queuedTimeoutInMinutes:??? ->
?complete:??? ->
?initiator:??? ->
?vpcConfig:??? ->
?encryptionKey:??? ->
?buildBatchNumber:??? ->
?fileSystemLocations:??? ->
?buildBatchConfig:??? ->
?buildGroups:??? ->
?debugSessionEnabled:??? ->
?reportArns:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Integer of WrapperInt.t
| `List of
[> `String of String_.t
| `Structure of
(string
* [> `Boolean of WrapperBoolean.t
| `Enum of string
| `Integer of GitCloneDepth.t
| `List of
[> `String of NonEmptyString.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string | `String of String_.t ])
list ]
list
| `String of String_.t
| `Structure of
(string * [> `Enum of string | `String of String_.t ])
list
| `Timestamp of Timestamp.t ])
list ]
list
| `Long of WrapperLong.t
| `String of String_.t
| `Structure of
(string
* [> `Boolean of WrapperBoolean.t
| `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string | `String of String_.t ])
list ]
list
| `String of String_.t
| `Structure of
(string * [> `Enum of string | `String of String_.t ])
list
| `Timestamp of Timestamp.t ])
list
| `Timestamp of Timestamp.t ])
list ]
list
| `Long of WrapperLong.t
| `String of NonEmptyString.t
| `Structure of
(string
* [> `Boolean of WrapperBoolean.t
| `Enum of string
| `Integer of GitCloneDepth.t
| `List of
[> `Enum of string
| `String of NonEmptyString.t
| `Structure of
(string * [> `Enum of string | `String of NonEmptyString.t ])
list ]
list
| `String of String_.t
| `Structure of
(string
* [> `Boolean of WrapperBoolean.t
| `Enum of string
| `Integer of WrapperInt.t
| `List of [> `String of NonEmptyString.t ] list
| `Long of WrapperLong.t
| `String of String_.t
| `Structure of (string * [> `String of String_.t ]) list ])
list ])
list
| `Timestamp of Timestamp.t ])
list ]