AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the AssociateRepository operation. Use to associate an Amazon Web Services CodeCommit repository or a repository managed by Amazon Web Services CodeStar Connections with Amazon CodeGuru Reviewer. When you associate a repository, CodeGuru Reviewer reviews source code changes in the repository's pull requests and provides automatic recommendations. You can view recommendations using the CodeGuru Reviewer console. For more information, see Recommendations in Amazon CodeGuru Reviewer in the Amazon CodeGuru Reviewer User Guide.
If you associate a CodeCommit or S3 repository, it must be in the same Amazon Web Services Region and Amazon Web Services account where its CodeGuru Reviewer code reviews are configured.
Bitbucket and GitHub Enterprise Server repositories are managed by Amazon Web Services CodeStar Connections to connect to CodeGuru Reviewer. For more information, see Associate a repository in the Amazon CodeGuru Reviewer User Guide.
You cannot use the CodeGuru Reviewer SDK or the Amazon Web Services CLI to associate a GitHub repository with Amazon CodeGuru Reviewer. To associate a GitHub repository, use the console. For more information, see Getting started with CodeGuru Reviewer in the CodeGuru Reviewer User Guide.
Namespace: Amazon.CodeGuruReviewer.Model
Assembly: AWSSDK.CodeGuruReviewer.dll
Version: 3.x.y.z
public class AssociateRepositoryRequest : AmazonCodeGuruReviewerRequest IAmazonWebServiceRequest
The AssociateRepositoryRequest type exposes the following members
Name | Description | |
---|---|---|
AssociateRepositoryRequest() |
Name | Type | Description | |
---|---|---|---|
ClientRequestToken | System.String |
Gets and sets the property ClientRequestToken. Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations if there are failures and retries. |
|
KMSKeyDetails | Amazon.CodeGuruReviewer.Model.KMSKeyDetails |
Gets and sets the property KMSKeyDetails.
A
|
|
Repository | Amazon.CodeGuruReviewer.Model.Repository |
Gets and sets the property Repository. The repository to associate. |
|
Tags | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Tags. An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
|
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5