Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data SourceCodeType = SourceCodeType' {}
- newSourceCodeType :: SourceCodeType
- sourceCodeType_s3BucketRepository :: Lens' SourceCodeType (Maybe S3BucketRepository)
- sourceCodeType_requestMetadata :: Lens' SourceCodeType (Maybe RequestMetadata)
- sourceCodeType_repositoryHead :: Lens' SourceCodeType (Maybe RepositoryHeadSourceCodeType)
- sourceCodeType_commitDiff :: Lens' SourceCodeType (Maybe CommitDiffSourceCodeType)
- sourceCodeType_branchDiff :: Lens' SourceCodeType (Maybe BranchDiffSourceCodeType)
Documentation
data SourceCodeType Source #
Specifies the source code that is analyzed in a code review.
See: newSourceCodeType
smart constructor.
SourceCodeType' | |
|
Instances
newSourceCodeType :: SourceCodeType Source #
Create a value of SourceCodeType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3BucketRepository:SourceCodeType'
, sourceCodeType_s3BucketRepository
- Information about an associated repository in an S3 bucket that includes
its name and an S3RepositoryDetails
object. The S3RepositoryDetails
object includes the name of an S3 bucket, an S3 key for a source code
.zip file, and an S3 key for a build artifacts .zip file.
S3BucketRepository
is required in
SourceCodeType
for S3BucketRepository
based code reviews.
$sel:requestMetadata:SourceCodeType'
, sourceCodeType_requestMetadata
- Metadata that is associated with a code review. This applies to any type
of code review supported by CodeGuru Reviewer. The RequestMetadaa
field captures any event metadata. For example, it might capture
metadata associated with an event trigger, such as a push or a pull
request.
$sel:repositoryHead:SourceCodeType'
, sourceCodeType_repositoryHead
- Undocumented member.
$sel:commitDiff:SourceCodeType'
, sourceCodeType_commitDiff
- A
SourceCodeType
that specifies a commit diff created by a pull request on an associated
repository.
$sel:branchDiff:SourceCodeType'
, sourceCodeType_branchDiff
- A type of
SourceCodeType
that specifies a source branch name and a destination branch name in an
associated repository.
sourceCodeType_s3BucketRepository :: Lens' SourceCodeType (Maybe S3BucketRepository) Source #
Information about an associated repository in an S3 bucket that includes
its name and an S3RepositoryDetails
object. The S3RepositoryDetails
object includes the name of an S3 bucket, an S3 key for a source code
.zip file, and an S3 key for a build artifacts .zip file.
S3BucketRepository
is required in
SourceCodeType
for S3BucketRepository
based code reviews.
sourceCodeType_requestMetadata :: Lens' SourceCodeType (Maybe RequestMetadata) Source #
Metadata that is associated with a code review. This applies to any type
of code review supported by CodeGuru Reviewer. The RequestMetadaa
field captures any event metadata. For example, it might capture
metadata associated with an event trigger, such as a push or a pull
request.
sourceCodeType_repositoryHead :: Lens' SourceCodeType (Maybe RepositoryHeadSourceCodeType) Source #
Undocumented member.
sourceCodeType_commitDiff :: Lens' SourceCodeType (Maybe CommitDiffSourceCodeType) Source #
A SourceCodeType that specifies a commit diff created by a pull request on an associated repository.
sourceCodeType_branchDiff :: Lens' SourceCodeType (Maybe BranchDiffSourceCodeType) Source #
A type of SourceCodeType that specifies a source branch name and a destination branch name in an associated repository.