The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::CodeGuruReviewer::CodeReviewType

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::CodeReviewType object:

$service_obj->Method(Att1 => { AnalysisTypes => $value, ..., RepositoryAnalysis => $value  });

Results returned from an API call

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

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

DESCRIPTION

The type of a code review. There are two code review types:

  • PullRequest - A code review that is automatically triggered by a pull request on an associated repository.

  • RepositoryAnalysis - A code review that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN in CreateCodeReview (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CreateCodeReview).

ATTRIBUTES

AnalysisTypes => ArrayRef[Str|Undef]

They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.

REQUIRED RepositoryAnalysis => Paws::CodeGuruReviewer::RepositoryAnalysis

A code review that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN in CreateCodeReview (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CreateCodeReview).

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