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

Class: Aws::CodeGuruReviewer::Types::CodeReviewSummary

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

Overview

Information about the summary of the code review.

Instance Attribute Summary collapse

Instance Attribute Details

#code_review_arnString

The Amazon Resource Name (ARN) of the CodeReview object.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the [ CodeReview ][1] object.

#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.

#metrics_summaryTypes::MetricsSummary

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. 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.

Returns:

  • (String)

    The owner of the repository.

#provider_typeString

The provider type of the repository association.

Possible values:

  • CodeCommit
  • GitHub
  • Bitbucket
  • GitHubEnterpriseServer

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.

#stateString

The state of the code review.

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.

    Possible values:

    • Completed
    • Pending
    • Failed
    • Deleting

Returns:

  • (String)

    The state of the code review.

#typeString

The type of the code review.

Possible values:

  • PullRequest
  • RepositoryAnalysis

Returns:

  • (String)

    The type of the code review.