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

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

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

Overview

Note:

When passing CreateCodeReviewRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "CodeReviewName", # required
  repository_association_arn: "AssociationArn", # required
  type: { # required
    repository_analysis: { # required
      repository_head: { # required
        branch_name: "BranchName", # required
      },
    },
  },
  client_request_token: "ClientRequestToken",
}

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.

Returns:

  • (String)

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

#nameString

The name of the code review. The name of each code review in your AWS account must be unique.

Returns:

  • (String)

    The name of the code review.

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

Returns:

  • (String)

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

#typeTypes::CodeReviewType

The type of code review to create. This is specified using a CodeReviewType object. You can create a code review only of type RepositoryAnalysis.

Returns: