Class: Aws::CodeGuruReviewer::Types::CreateCodeReviewRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_request_tokenString

Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


521
522
523
524
525
526
527
528
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 521

class CreateCodeReviewRequest < Struct.new(
  :name,
  :repository_association_arn,
  :type,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the code review. The name of each code review in your Amazon Web Services account must be unique.

Returns:

  • (String)


521
522
523
524
525
526
527
528
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 521

class CreateCodeReviewRequest < Struct.new(
  :name,
  :repository_association_arn,
  :type,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#repository_association_arnString

The Amazon Resource Name (ARN) of the [RepositoryAssociation] object. You can retrieve this ARN by calling [ListRepositoryAssociations].

A code review can only be created on an associated repository. This is the ARN of the associated repository.

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

Returns:

  • (String)


521
522
523
524
525
526
527
528
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 521

class CreateCodeReviewRequest < Struct.new(
  :name,
  :repository_association_arn,
  :type,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#typeTypes::CodeReviewType

The type of code review to create. This is specified using a

CodeReviewType][1

object. You can create a code review only of

type ‘RepositoryAnalysis`.

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



521
522
523
524
525
526
527
528
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 521

class CreateCodeReviewRequest < Struct.new(
  :name,
  :repository_association_arn,
  :type,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end