Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SourceCodeType

import type { SourceCodeType } from "https://aws-api.deno.dev/v0.4/services/codegurureviewer.ts?docs=full";

Specifies the source code that is analyzed in a code review.

interface SourceCodeType {
BranchDiff?: BranchDiffSourceCodeType | null;
CommitDiff?: CommitDiffSourceCodeType | null;
RepositoryHead?: RepositoryHeadSourceCodeType | null;
RequestMetadata?: RequestMetadata | null;
S3BucketRepository?: S3BucketRepository | null;
}

§Properties

§
BranchDiff?: BranchDiffSourceCodeType | null
[src]

A type of SourceCodeType that specifies a source branch name and a destination branch name in an associated repository.

§
CommitDiff?: CommitDiffSourceCodeType | null
[src]

A SourceCodeType that specifies a commit diff created by a pull request on an associated repository.

§
RepositoryHead?: RepositoryHeadSourceCodeType | null
[src]
§
RequestMetadata?: RequestMetadata | null
[src]

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.

§
S3BucketRepository?: S3BucketRepository | null
[src]

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.