class Aws::CodeGuruReviewer::Types::CodeReview
Information about a code review. A code review belongs to the associated repository that contains the reviewed code.
@!attribute [rw] name
The name of the code review. @return [String]
@!attribute [rw] code_review_arn
The Amazon Resource Name (ARN) of the [ `CodeReview` ][1] object. [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html @return [String]
@!attribute [rw] repository_name
The name of the repository. @return [String]
@!attribute [rw] owner
The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services 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 Amazon Web Services account ID. @return [String]
@!attribute [rw] provider_type
The type of repository that contains the reviewed code (for example, GitHub or Bitbucket). @return [String]
@!attribute [rw] state
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. @return [String]
@!attribute [rw] state_reason
The reason for the state of the code review. @return [String]
@!attribute [rw] created_time_stamp
The time, in milliseconds since the epoch, when the code review was created. @return [Time]
@!attribute [rw] last_updated_time_stamp
The time, in milliseconds since the epoch, when the code review was last updated. @return [Time]
@!attribute [rw] type
The type of code review. @return [String]
@!attribute [rw] pull_request_id
The pull request ID for the code review. @return [String]
@!attribute [rw] source_code_type
The type of the source code for the code review. @return [Types::SourceCodeType]
@!attribute [rw] association_arn
The Amazon Resource Name (ARN) of the [ `RepositoryAssociation` ][1] that contains the reviewed source code. You can retrieve associated repository ARNs by calling [ `ListRepositoryAssociations` ][2]. [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html @return [String]
@!attribute [rw] metrics
The statistics from the code review. @return [Types::Metrics]
@!attribute [rw] analysis_types
They types of analysis performed during a repository analysis or a pull request review. You can specify either `Security`, `CodeQuality`, or both. @return [Array<String>]
@see docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/CodeReview AWS API Documentation
Constants
- SENSITIVE