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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codegurureviewer/types.rb

Overview

Information about the summary of the code review.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#code_review_arnString

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

[1]: docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html

Returns:

  • (String)


378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 378

class CodeReviewSummary < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :metrics_summary,
  :source_code_type)
  SENSITIVE = []
  include Aws::Structure
end

#created_time_stampTime

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

Returns:

  • (Time)


378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 378

class CodeReviewSummary < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :metrics_summary,
  :source_code_type)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_time_stampTime

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

Returns:

  • (Time)


378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 378

class CodeReviewSummary < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :metrics_summary,
  :source_code_type)
  SENSITIVE = []
  include Aws::Structure
end

#metrics_summaryTypes::MetricsSummary

The statistics from the code review.



378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 378

class CodeReviewSummary < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :metrics_summary,
  :source_code_type)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the code review.

Returns:

  • (String)


378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 378

class CodeReviewSummary < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :metrics_summary,
  :source_code_type)
  SENSITIVE = []
  include Aws::Structure
end

#ownerString

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.

Returns:

  • (String)


378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 378

class CodeReviewSummary < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :metrics_summary,
  :source_code_type)
  SENSITIVE = []
  include Aws::Structure
end

#provider_typeString

The provider type of the repository association.

Returns:

  • (String)


378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 378

class CodeReviewSummary < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :metrics_summary,
  :source_code_type)
  SENSITIVE = []
  include Aws::Structure
end

#pull_request_idString

The pull request ID for the code review.

Returns:

  • (String)


378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 378

class CodeReviewSummary < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :metrics_summary,
  :source_code_type)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

The name of the repository.

Returns:

  • (String)


378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 378

class CodeReviewSummary < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :metrics_summary,
  :source_code_type)
  SENSITIVE = []
  include Aws::Structure
end

#source_code_typeTypes::SourceCodeType

Specifies the source code that is analyzed in a code review.



378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 378

class CodeReviewSummary < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :metrics_summary,
  :source_code_type)
  SENSITIVE = []
  include Aws::Structure
end

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

Returns:

  • (String)


378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 378

class CodeReviewSummary < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :metrics_summary,
  :source_code_type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of the code review.

Returns:

  • (String)


378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 378

class CodeReviewSummary < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :metrics_summary,
  :source_code_type)
  SENSITIVE = []
  include Aws::Structure
end