NAME

Paws::CodeGuruReviewer::SourceCodeType

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::CodeGuruReviewer::SourceCodeType object:

$service_obj->Method(Att1 => { BranchDiff => $value, ..., S3BucketRepository => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CodeGuruReviewer::SourceCodeType object:

$result = $service_obj->Method(...);
$result->Att1->BranchDiff

DESCRIPTION

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

ATTRIBUTES

BranchDiff => Paws::CodeGuruReviewer::BranchDiffSourceCodeType

A type of SourceCodeType (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType) that specifies a source branch name and a destination branch name in an associated repository.

CommitDiff => Paws::CodeGuruReviewer::CommitDiffSourceCodeType

A SourceCodeType (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType) that specifies a commit diff created by a pull request on an associated repository.

RepositoryHead => Paws::CodeGuruReviewer::RepositoryHeadSourceCodeType

RequestMetadata => Paws::CodeGuruReviewer::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.

S3BucketRepository => Paws::CodeGuruReviewer::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 (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType) for S3BucketRepository based code reviews.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CodeGuruReviewer

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues