AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeGuruReviewer::Types::CodeReview

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Information about a code review.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#code_review_arnString

The Amazon Resource Name (ARN) of the code review to describe.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the code review to describe.

#created_time_stampTime

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

Returns:

  • (Time)

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

#last_updated_time_stampTime

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

Returns:

  • (Time)

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

#metricsTypes::Metrics

The statistics from the code review.

Returns:

#nameString

The name of the code review.

Returns:

  • (String)

    The name of the code review.

#ownerString

The owner of the repository.

Returns:

  • (String)

    The owner of the repository.

#provider_typeString

The provider type of the repository association.

Possible values:

  • CodeCommit
  • GitHub
  • Bitbucket

Returns:

  • (String)

    The provider type of the repository association.

#pull_request_idString

The pull request ID for the code review.

Returns:

  • (String)

    The pull request ID for the code review.

#repository_nameString

The name of the repository.

Returns:

  • (String)

    The name of the repository.

#source_code_typeTypes::SourceCodeType

The type of the source code for the code review.

Returns:

#stateString

The state of the code review.

Possible values:

  • Completed
  • Pending
  • Failed
  • Deleting

Returns:

  • (String)

    The state of the code review.

#state_reasonString

The reason for the state of the code review.

Returns:

  • (String)

    The reason for the state of the code review.

#typeString

The type of code review.

Possible values:

  • PullRequest

Returns:

  • (String)

    The type of code review.