CodeReview
¶
Source code in docs_src/capo_codeguru_reviewer/types/code_review.py
analysis_types
instance-attribute
¶
analysis_types: NotRequired[AnalysisTypes]
The types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.
association_arn
instance-attribute
¶
association_arn: NotRequired[AssociationArn]
The Amazon Resource Name (ARN) of the RepositoryAssociation that contains the reviewed source code. You can retrieve associated repository ARNs by calling ListRepositoryAssociations.
code_review_arn
instance-attribute
¶
code_review_arn: NotRequired[Arn]
The Amazon Resource Name (ARN) of the CodeReview object.
config_file_state
instance-attribute
¶
config_file_state: NotRequired[ConfigFileState]
The state of the aws-codeguru-reviewer.yml configuration file that allows the configuration of the CodeGuru Reviewer analysis. The file either exists, doesn't exist, or exists with errors at the root directory of your repository.
created_time_stamp
instance-attribute
¶
created_time_stamp: NotRequired[TimeStamp]
The time, in milliseconds since the epoch, when the code review was created.
last_updated_time_stamp
instance-attribute
¶
last_updated_time_stamp: NotRequired[TimeStamp]
The time, in milliseconds since the epoch, when the code review was last updated.
owner
instance-attribute
¶
owner: NotRequired[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.
provider_type
instance-attribute
¶
provider_type: NotRequired[ProviderType]
The type of repository that contains the reviewed code (for example, GitHub or Bitbucket).
pull_request_id
instance-attribute
¶
pull_request_id: NotRequired[PullRequestId]
The pull request ID for the code review.
source_code_type
instance-attribute
¶
source_code_type: NotRequired[SourceCodeType]
The type of the source code for the code review.
state
instance-attribute
¶
state: NotRequired[JobState]
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.
state_reason
instance-attribute
¶
state_reason: NotRequired[StateReason]
The reason for the state of the code review.