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::CodeReview

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

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

Results returned from an API call

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

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

DESCRIPTION

Information about a code review. A code review belongs to the associated repository that contains the reviewed code.

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.

AssociationArn => Str

The Amazon Resource Name (ARN) of the RepositoryAssociation (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) that contains the reviewed source code. You can retrieve associated repository ARNs by calling ListRepositoryAssociations (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html).

CodeReviewArn => Str

The Amazon Resource Name (ARN) of the CodeReview (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html) object.

CreatedTimeStamp => Str

The time, in milliseconds since the epoch, when the code review was created.

LastUpdatedTimeStamp => Str

The time, in milliseconds since the epoch, when the code review was last updated.

Metrics => Paws::CodeGuruReviewer::Metrics

The statistics from the code review.

Name => Str

The name of the code review.

Owner => Str

The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or AWS account ID.

ProviderType => Str

The type of repository that contains the reviewed code (for example, GitHub or Bitbucket).

PullRequestId => Str

The pull request ID for the code review.

RepositoryName => Str

The name of the repository.

SourceCodeType => Paws::CodeGuruReviewer::SourceCodeType

The type of the source code for the code review.

State => Str

The valid code review states are:

  • Completed: The code review is complete.

  • Pending: The code review started and has not completed or failed.

  • Failed: The code review failed.

  • Deleting: The code review is being deleted.

StateReason => Str

The reason for the state of the code review.

Type => Str

The type of code review.

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