

# Actions
<a name="API_Operations"></a>

The following actions are supported:
+  [AssociateRepository](API_AssociateRepository.md) 
+  [CreateCodeReview](API_CreateCodeReview.md) 
+  [CreateCodeReviewInternal](API_CreateCodeReviewInternal.md) 
+  [CreateConnectionToken](API_CreateConnectionToken.md) 
+  [DescribeCodeReview](API_DescribeCodeReview.md) 
+  [DescribeRecommendationFeedback](API_DescribeRecommendationFeedback.md) 
+  [DescribeRepositoryAssociation](API_DescribeRepositoryAssociation.md) 
+  [DisassociateRepository](API_DisassociateRepository.md) 
+  [GetMetricsData](API_GetMetricsData.md) 
+  [ListCodeReviews](API_ListCodeReviews.md) 
+  [ListRecommendationFeedback](API_ListRecommendationFeedback.md) 
+  [ListRecommendations](API_ListRecommendations.md) 
+  [ListRepositoryAssociations](API_ListRepositoryAssociations.md) 
+  [ListTagsForResource](API_ListTagsForResource.md) 
+  [ListThirdPartyRepositories](API_ListThirdPartyRepositories.md) 
+  [PutRecommendationFeedback](API_PutRecommendationFeedback.md) 
+  [TagResource](API_TagResource.md) 
+  [UntagResource](API_UntagResource.md) 

# AssociateRepository
<a name="API_AssociateRepository"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Use to associate an AWS CodeCommit repository or a repository managed by AWS 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](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/recommendations.html) in the *Amazon CodeGuru Reviewer User Guide.* 

If you associate a CodeCommit or S3 repository, it must be in the same AWS Region and AWS account where its CodeGuru Reviewer code reviews are configured.

Bitbucket and GitHub Enterprise Server repositories are managed by AWS CodeStar Connections to connect to CodeGuru Reviewer. For more information, see [Associate a repository](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-associate-repository.html) in the *Amazon CodeGuru Reviewer User Guide.* 

**Note**  
You cannot use the CodeGuru Reviewer SDK or the AWS 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](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-with-guru.html) in the *CodeGuru Reviewer User Guide.* 

## Request Syntax
<a name="API_AssociateRepository_RequestSyntax"></a>

```
POST /associations HTTP/1.1
Content-type: application/json

{
   "ClientRequestToken": "string",
   "KMSKeyDetails": { 
      "EncryptionOption": "string",
      "KMSKeyId": "string"
   },
   "Repository": { 
      "Bitbucket": { 
         "ConnectionArn": "string",
         "Name": "string",
         "Owner": "string"
      },
      "CodeCommit": { 
         "Name": "string"
      },
      "GitHub": { 
         "AccessToken": "string",
         "Name": "string",
         "Owner": "string"
      },
      "GitHubEnterpriseServer": { 
         "ConnectionArn": "string",
         "Name": "string",
         "Owner": "string"
      },
      "S3Bucket": { 
         "BucketName": "string",
         "Name": "string"
      }
   },
   "Tags": { 
      "string" : "string" 
   }
}
```

## URI Request Parameters
<a name="API_AssociateRepository_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_AssociateRepository_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [ClientRequestToken](#API_AssociateRepository_RequestSyntax) **   <a name="reviewer-AssociateRepository-request-ClientRequestToken"></a>
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations if there are failures and retries.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[\w-]+$`   
Required: No

 ** [KMSKeyDetails](#API_AssociateRepository_RequestSyntax) **   <a name="reviewer-AssociateRepository-request-KMSKeyDetails"></a>
A `KMSKeyDetails` object that contains:  
+ The encryption option for this repository association. It is either owned by AWS Key Management Service (KMS) (`AWS_OWNED_CMK`) or customer managed (`CUSTOMER_MANAGED_CMK`).
+ The ID of the AWS KMS key that is associated with this repository association.
Type: [KMSKeyDetails](API_KMSKeyDetails.md) object  
Required: No

 ** [Repository](#API_AssociateRepository_RequestSyntax) **   <a name="reviewer-AssociateRepository-request-Repository"></a>
The repository to associate.  
Type: [Repository](API_Repository.md) object  
Required: Yes

 ** [Tags](#API_AssociateRepository_RequestSyntax) **   <a name="reviewer-AssociateRepository-request-Tags"></a>
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:  
+ A *tag key* (for example, `CostCenter`, `Environment`, `Project`, or `Secret`). Tag keys are case sensitive.
+ An optional field known as a *tag value* (for example, `111122223333`, `Production`, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Value Length Constraints: Maximum length of 256.  
Required: No

## Response Syntax
<a name="API_AssociateRepository_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "RepositoryAssociation": { 
      "AssociationArn": "string",
      "AssociationId": "string",
      "ConnectionArn": "string",
      "CreatedTimeStamp": number,
      "KMSKeyDetails": { 
         "EncryptionOption": "string",
         "KMSKeyId": "string"
      },
      "LastUpdatedTimeStamp": number,
      "Name": "string",
      "Owner": "string",
      "ProviderType": "string",
      "S3RepositoryDetails": { 
         "BucketName": "string",
         "CodeArtifacts": { 
            "BuildArtifactsObjectKey": "string",
            "SourceCodeArtifactsObjectKey": "string"
         }
      },
      "State": "string",
      "StateReason": "string"
   },
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_AssociateRepository_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [RepositoryAssociation](#API_AssociateRepository_ResponseSyntax) **   <a name="reviewer-AssociateRepository-response-RepositoryAssociation"></a>
Information about the repository association.  
Type: [RepositoryAssociation](API_RepositoryAssociation.md) object

 ** [Tags](#API_AssociateRepository_ResponseSyntax) **   <a name="reviewer-AssociateRepository-response-Tags"></a>
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:  
+ A *tag key* (for example, `CostCenter`, `Environment`, `Project`, or `Secret`). Tag keys are case sensitive.
+ An optional field known as a *tag value* (for example, `111122223333`, `Production`, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_AssociateRepository_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** ConflictException **   
The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.   
HTTP Status Code: 409

 ** FeatureNoLongerAvailableException **   
  
HTTP Status Code: 410

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ThrottlingException **   
The request was denied due to request throttling.  
HTTP Status Code: 429

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_AssociateRepository_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/AssociateRepository) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/AssociateRepository) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/AssociateRepository) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/AssociateRepository) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/AssociateRepository) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/AssociateRepository) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/AssociateRepository) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/AssociateRepository) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/AssociateRepository) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/AssociateRepository) 

# CreateCodeReview
<a name="API_CreateCodeReview"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Use to create a code review with a [CodeReviewType](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReviewType.html) of `RepositoryAnalysis`. This type of code review analyzes all code under a specified branch in an associated repository. `PullRequest` code reviews are automatically triggered by a pull request.

## Request Syntax
<a name="API_CreateCodeReview_RequestSyntax"></a>

```
POST /codereviews HTTP/1.1
Content-type: application/json

{
   "ClientRequestToken": "string",
   "Name": "string",
   "RepositoryAssociationArn": "string",
   "Type": { 
      "AnalysisTypes": [ "string" ],
      "RepositoryAnalysis": { 
         "RepositoryHead": { 
            "BranchName": "string"
         },
         "S3BucketRepository": { 
            "Details": { 
               "BucketName": "string",
               "CodeArtifacts": { 
                  "BuildArtifactsObjectKey": "string",
                  "SourceCodeArtifactsObjectKey": "string"
               }
            },
            "Name": "string"
         },
         "SourceCodeType": { 
            "BranchDiff": { 
               "DestinationBranchName": "string",
               "SourceBranchName": "string"
            },
            "CommitDiff": { 
               "DestinationCommit": "string",
               "MergeBaseCommit": "string",
               "SourceCommit": "string"
            },
            "RepositoryHead": { 
               "BranchName": "string"
            },
            "RequestMetadata": { 
               "EventInfo": { 
                  "Name": "string",
                  "State": "string"
               },
               "Requester": "string",
               "RequestId": "string",
               "VendorName": "string"
            },
            "S3BucketRepository": { 
               "Details": { 
                  "BucketName": "string",
                  "CodeArtifacts": { 
                     "BuildArtifactsObjectKey": "string",
                     "SourceCodeArtifactsObjectKey": "string"
                  }
               },
               "Name": "string"
            }
         }
      }
   }
}
```

## URI Request Parameters
<a name="API_CreateCodeReview_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateCodeReview_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [ClientRequestToken](#API_CreateCodeReview_RequestSyntax) **   <a name="reviewer-CreateCodeReview-request-ClientRequestToken"></a>
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[\w-]+$`   
Required: No

 ** [Name](#API_CreateCodeReview_RequestSyntax) **   <a name="reviewer-CreateCodeReview-request-Name"></a>
The name of the code review. The name of each code review in your AWS account must be unique.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 200.  
Pattern: `[a-zA-Z0-9-_]*`   
Required: Yes

 ** [RepositoryAssociationArn](#API_CreateCodeReview_RequestSyntax) **   <a name="reviewer-CreateCodeReview-request-RepositoryAssociationArn"></a>
The Amazon Resource Name (ARN) of the [RepositoryAssociation](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) object. You can retrieve this ARN by calling [ListRepositoryAssociations](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html).  
A code review can only be created on an associated repository. This is the ARN of the associated repository.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1600.  
Pattern: `^arn:aws:codeguru-reviewer:[^:\s]+:[\d]{12}:association:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`   
Required: Yes

 ** [Type](#API_CreateCodeReview_RequestSyntax) **   <a name="reviewer-CreateCodeReview-request-Type"></a>
The type of code review to create. This is specified using a [CodeReviewType](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReviewType.html) object. You can create a code review only of type `RepositoryAnalysis`.  
Type: [CodeReviewType](API_CodeReviewType.md) object  
Required: Yes

## Response Syntax
<a name="API_CreateCodeReview_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CodeReview": { 
      "AnalysisTypes": [ "string" ],
      "AssociationArn": "string",
      "CodeReviewArn": "string",
      "ConfigFileState": "string",
      "CreatedTimeStamp": number,
      "LastUpdatedTimeStamp": number,
      "Metrics": { 
         "FindingsCount": number,
         "MeteredLinesOfCodeCount": number,
         "SuppressedLinesOfCodeCount": number
      },
      "Name": "string",
      "Owner": "string",
      "ProviderType": "string",
      "PullRequestId": "string",
      "RepositoryName": "string",
      "SourceCodeType": { 
         "BranchDiff": { 
            "DestinationBranchName": "string",
            "SourceBranchName": "string"
         },
         "CommitDiff": { 
            "DestinationCommit": "string",
            "MergeBaseCommit": "string",
            "SourceCommit": "string"
         },
         "RepositoryHead": { 
            "BranchName": "string"
         },
         "RequestMetadata": { 
            "EventInfo": { 
               "Name": "string",
               "State": "string"
            },
            "Requester": "string",
            "RequestId": "string",
            "VendorName": "string"
         },
         "S3BucketRepository": { 
            "Details": { 
               "BucketName": "string",
               "CodeArtifacts": { 
                  "BuildArtifactsObjectKey": "string",
                  "SourceCodeArtifactsObjectKey": "string"
               }
            },
            "Name": "string"
         }
      },
      "State": "string",
      "StateReason": "string",
      "Type": "string"
   }
}
```

## Response Elements
<a name="API_CreateCodeReview_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CodeReview](#API_CreateCodeReview_ResponseSyntax) **   <a name="reviewer-CreateCodeReview-response-CodeReview"></a>
Information about a code review. A code review belongs to the associated repository that contains the reviewed code.  
Type: [CodeReview](API_CodeReview.md) object

## Errors
<a name="API_CreateCodeReview_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** ConflictException **   
The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.   
HTTP Status Code: 409

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
 The resource specified in the request was not found.   
HTTP Status Code: 404

 ** ThrottlingException **   
The request was denied due to request throttling.  
HTTP Status Code: 429

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_CreateCodeReview_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/CreateCodeReview) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/CreateCodeReview) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/CreateCodeReview) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/CreateCodeReview) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/CreateCodeReview) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/CreateCodeReview) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/CreateCodeReview) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/CreateCodeReview) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/CreateCodeReview) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/CreateCodeReview) 

# CreateCodeReviewInternal
<a name="API_CreateCodeReviewInternal"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Creates an internal code review for CodeGuru Reviewer analysis.

## Request Syntax
<a name="API_CreateCodeReviewInternal_RequestSyntax"></a>

```
POST /createCodeReviewInternal HTTP/1.1
Content-type: application/json

{
   "ClientRequestToken": "string",
   "Name": "string",
   "RepositoryAssociationArn": "string",
   "Type": { 
      "AnalysisTypes": [ "string" ],
      "RepositoryAnalysis": { 
         "RepositoryHead": { 
            "BranchName": "string"
         },
         "S3BucketRepository": { 
            "Details": { 
               "BucketName": "string",
               "CodeArtifacts": { 
                  "BuildArtifactsObjectKey": "string",
                  "SourceCodeArtifactsObjectKey": "string"
               }
            },
            "Name": "string"
         },
         "SourceCodeType": { 
            "BranchDiff": { 
               "DestinationBranchName": "string",
               "SourceBranchName": "string"
            },
            "CommitDiff": { 
               "DestinationCommit": "string",
               "MergeBaseCommit": "string",
               "SourceCommit": "string"
            },
            "RepositoryHead": { 
               "BranchName": "string"
            },
            "RequestMetadata": { 
               "EventInfo": { 
                  "Name": "string",
                  "State": "string"
               },
               "Requester": "string",
               "RequestId": "string",
               "VendorName": "string"
            },
            "S3BucketRepository": { 
               "Details": { 
                  "BucketName": "string",
                  "CodeArtifacts": { 
                     "BuildArtifactsObjectKey": "string",
                     "SourceCodeArtifactsObjectKey": "string"
                  }
               },
               "Name": "string"
            }
         }
      }
   }
}
```

## URI Request Parameters
<a name="API_CreateCodeReviewInternal_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateCodeReviewInternal_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [ClientRequestToken](#API_CreateCodeReviewInternal_RequestSyntax) **   <a name="reviewer-CreateCodeReviewInternal-request-ClientRequestToken"></a>
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `^[\w-]+$`   
Required: No

 ** [Name](#API_CreateCodeReviewInternal_RequestSyntax) **   <a name="reviewer-CreateCodeReviewInternal-request-Name"></a>
The name of the code review. The name of each code review in your AWS account must be unique.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 200.  
Pattern: `[a-zA-Z0-9-_]*`   
Required: Yes

 ** [RepositoryAssociationArn](#API_CreateCodeReviewInternal_RequestSyntax) **   <a name="reviewer-CreateCodeReviewInternal-request-RepositoryAssociationArn"></a>
The Amazon Resource Name (ARN) of the [RepositoryAssociation](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) object. You can retrieve this ARN by calling [ListRepositoryAssociations](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html).  
A code review can only be created on an associated repository. This is the ARN of the associated repository.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1600.  
Pattern: `^arn:aws:codeguru-reviewer:[^:\s]+:[\d]{12}:association:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`   
Required: Yes

 ** [Type](#API_CreateCodeReviewInternal_RequestSyntax) **   <a name="reviewer-CreateCodeReviewInternal-request-Type"></a>
The type of code review to create. This is specified using a [CodeReviewType](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReviewType.html) object. You can create a code review only of type `RepositoryAnalysis`.  
Type: [CodeReviewType](API_CodeReviewType.md) object  
Required: Yes

## Response Syntax
<a name="API_CreateCodeReviewInternal_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CodeReview": { 
      "AnalysisTypes": [ "string" ],
      "AssociationArn": "string",
      "CodeReviewArn": "string",
      "ConfigFileState": "string",
      "CreatedTimeStamp": number,
      "LastUpdatedTimeStamp": number,
      "Metrics": { 
         "FindingsCount": number,
         "MeteredLinesOfCodeCount": number,
         "SuppressedLinesOfCodeCount": number
      },
      "Name": "string",
      "Owner": "string",
      "ProviderType": "string",
      "PullRequestId": "string",
      "RepositoryName": "string",
      "SourceCodeType": { 
         "BranchDiff": { 
            "DestinationBranchName": "string",
            "SourceBranchName": "string"
         },
         "CommitDiff": { 
            "DestinationCommit": "string",
            "MergeBaseCommit": "string",
            "SourceCommit": "string"
         },
         "RepositoryHead": { 
            "BranchName": "string"
         },
         "RequestMetadata": { 
            "EventInfo": { 
               "Name": "string",
               "State": "string"
            },
            "Requester": "string",
            "RequestId": "string",
            "VendorName": "string"
         },
         "S3BucketRepository": { 
            "Details": { 
               "BucketName": "string",
               "CodeArtifacts": { 
                  "BuildArtifactsObjectKey": "string",
                  "SourceCodeArtifactsObjectKey": "string"
               }
            },
            "Name": "string"
         }
      },
      "State": "string",
      "StateReason": "string",
      "Type": "string"
   }
}
```

## Response Elements
<a name="API_CreateCodeReviewInternal_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CodeReview](#API_CreateCodeReviewInternal_ResponseSyntax) **   <a name="reviewer-CreateCodeReviewInternal-response-CodeReview"></a>
Information about a code review. A code review belongs to the associated repository that contains the reviewed code.  
Type: [CodeReview](API_CodeReview.md) object

## Errors
<a name="API_CreateCodeReviewInternal_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** ConflictException **   
The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.   
HTTP Status Code: 409

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
 The resource specified in the request was not found.   
HTTP Status Code: 404

 ** ThrottlingException **   
The request was denied due to request throttling.  
HTTP Status Code: 429

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_CreateCodeReviewInternal_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/CreateCodeReviewInternal) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/CreateCodeReviewInternal) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/CreateCodeReviewInternal) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/CreateCodeReviewInternal) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/CreateCodeReviewInternal) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/CreateCodeReviewInternal) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/CreateCodeReviewInternal) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/CreateCodeReviewInternal) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/CreateCodeReviewInternal) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/CreateCodeReviewInternal) 

# CreateConnectionToken
<a name="API_CreateConnectionToken"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Creates a connection token for third-party repository integration with CodeGuru Reviewer.

## Request Syntax
<a name="API_CreateConnectionToken_RequestSyntax"></a>

```
POST /token HTTP/1.1
Content-type: application/json

{
   "AuthCode": "string",
   "AuthToken": { 
      "CreationTime": number,
      "Scopes": [ "string" ],
      "Token": "string",
      "User": "string"
   },
   "ProviderType": "string",
   "State": "string"
}
```

## URI Request Parameters
<a name="API_CreateConnectionToken_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateConnectionToken_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [AuthCode](#API_CreateConnectionToken_RequestSyntax) **   <a name="reviewer-CreateConnectionToken-request-AuthCode"></a>
The authorization code used for establishing the connection.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Pattern: `\S+`   
Required: No

 ** [AuthToken](#API_CreateConnectionToken_RequestSyntax) **   <a name="reviewer-CreateConnectionToken-request-AuthToken"></a>
The authentication token used for establishing the connection.  
Type: [AuthorizationToken](API_AuthorizationToken.md) object  
Required: No

 ** [ProviderType](#API_CreateConnectionToken_RequestSyntax) **   <a name="reviewer-CreateConnectionToken-request-ProviderType"></a>
The type of third-party provider for the connection.  
Type: String  
Valid Values: `CodeCommit | GitHub | Bitbucket | GitHubEnterpriseServer | S3Bucket`   
Required: Yes

 ** [State](#API_CreateConnectionToken_RequestSyntax) **   <a name="reviewer-CreateConnectionToken-request-State"></a>
The state parameter used for OAuth flow security.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: No

## Response Syntax
<a name="API_CreateConnectionToken_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "ConnectionToken": "string"
}
```

## Response Elements
<a name="API_CreateConnectionToken_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [ConnectionToken](#API_CreateConnectionToken_ResponseSyntax) **   <a name="reviewer-CreateConnectionToken-response-ConnectionToken"></a>
The generated connection token for third-party repository access.  
Type: String  
Length Constraints: Minimum length of 8. Maximum length of 2048.  
Pattern: `\S+` 

## Errors
<a name="API_CreateConnectionToken_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ThrottlingException **   
The request was denied due to request throttling.  
HTTP Status Code: 429

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_CreateConnectionToken_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/CreateConnectionToken) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/CreateConnectionToken) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/CreateConnectionToken) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/CreateConnectionToken) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/CreateConnectionToken) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/CreateConnectionToken) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/CreateConnectionToken) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/CreateConnectionToken) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/CreateConnectionToken) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/CreateConnectionToken) 

# DescribeCodeReview
<a name="API_DescribeCodeReview"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Returns the metadata associated with the code review along with its status.

## Request Syntax
<a name="API_DescribeCodeReview_RequestSyntax"></a>

```
GET /codereviews/CodeReviewArn HTTP/1.1
```

## URI Request Parameters
<a name="API_DescribeCodeReview_RequestParameters"></a>

The request uses the following URI parameters.

 ** [CodeReviewArn](#API_DescribeCodeReview_RequestSyntax) **   <a name="reviewer-DescribeCodeReview-request-uri-CodeReviewArn"></a>
The Amazon Resource Name (ARN) of the [CodeReview](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html) object.   
Length Constraints: Minimum length of 1. Maximum length of 1600.  
Pattern: `^arn:aws:codeguru-reviewer:[^:\s]+:[\d]{12}:([a-z-]+|[a-z-]+:[\w-]+:[a-z-]+):[\w-]+$`   
Required: Yes

## Request Body
<a name="API_DescribeCodeReview_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DescribeCodeReview_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CodeReview": { 
      "AnalysisTypes": [ "string" ],
      "AssociationArn": "string",
      "CodeReviewArn": "string",
      "ConfigFileState": "string",
      "CreatedTimeStamp": number,
      "LastUpdatedTimeStamp": number,
      "Metrics": { 
         "FindingsCount": number,
         "MeteredLinesOfCodeCount": number,
         "SuppressedLinesOfCodeCount": number
      },
      "Name": "string",
      "Owner": "string",
      "ProviderType": "string",
      "PullRequestId": "string",
      "RepositoryName": "string",
      "SourceCodeType": { 
         "BranchDiff": { 
            "DestinationBranchName": "string",
            "SourceBranchName": "string"
         },
         "CommitDiff": { 
            "DestinationCommit": "string",
            "MergeBaseCommit": "string",
            "SourceCommit": "string"
         },
         "RepositoryHead": { 
            "BranchName": "string"
         },
         "RequestMetadata": { 
            "EventInfo": { 
               "Name": "string",
               "State": "string"
            },
            "Requester": "string",
            "RequestId": "string",
            "VendorName": "string"
         },
         "S3BucketRepository": { 
            "Details": { 
               "BucketName": "string",
               "CodeArtifacts": { 
                  "BuildArtifactsObjectKey": "string",
                  "SourceCodeArtifactsObjectKey": "string"
               }
            },
            "Name": "string"
         }
      },
      "State": "string",
      "StateReason": "string",
      "Type": "string"
   }
}
```

## Response Elements
<a name="API_DescribeCodeReview_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CodeReview](#API_DescribeCodeReview_ResponseSyntax) **   <a name="reviewer-DescribeCodeReview-response-CodeReview"></a>
Information about the code review.  
Type: [CodeReview](API_CodeReview.md) object

## Errors
<a name="API_DescribeCodeReview_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
 The resource specified in the request was not found.   
HTTP Status Code: 404

 ** ThrottlingException **   
The request was denied due to request throttling.  
HTTP Status Code: 429

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_DescribeCodeReview_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/DescribeCodeReview) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/DescribeCodeReview) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/DescribeCodeReview) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/DescribeCodeReview) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/DescribeCodeReview) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/DescribeCodeReview) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/DescribeCodeReview) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/DescribeCodeReview) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/DescribeCodeReview) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/DescribeCodeReview) 

# DescribeRecommendationFeedback
<a name="API_DescribeRecommendationFeedback"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Describes the customer feedback for a CodeGuru Reviewer recommendation.

## Request Syntax
<a name="API_DescribeRecommendationFeedback_RequestSyntax"></a>

```
GET /feedback/CodeReviewArn?RecommendationId=RecommendationId&UserId=UserId HTTP/1.1
```

## URI Request Parameters
<a name="API_DescribeRecommendationFeedback_RequestParameters"></a>

The request uses the following URI parameters.

 ** [CodeReviewArn](#API_DescribeRecommendationFeedback_RequestSyntax) **   <a name="reviewer-DescribeRecommendationFeedback-request-uri-CodeReviewArn"></a>
The Amazon Resource Name (ARN) of the [CodeReview](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html) object.   
Length Constraints: Minimum length of 1. Maximum length of 1600.  
Pattern: `^arn:aws:codeguru-reviewer:[^:\s]+:[\d]{12}:([a-z-]+|[a-z-]+:[\w-]+:[a-z-]+):[\w-]+$`   
Required: Yes

 ** [RecommendationId](#API_DescribeRecommendationFeedback_RequestSyntax) **   <a name="reviewer-DescribeRecommendationFeedback-request-uri-RecommendationId"></a>
The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** [UserId](#API_DescribeRecommendationFeedback_RequestSyntax) **   <a name="reviewer-DescribeRecommendationFeedback-request-uri-UserId"></a>
Optional parameter to describe the feedback for a given user. If this is not supplied, it defaults to the user making the request.  
 The `UserId` is an IAM principal that can be specified as an AWS account ID or an Amazon Resource Name (ARN). For more information, see [ Specifying a Principal](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying) in the * AWS Identity and Access Management User Guide*.  
Length Constraints: Minimum length of 1. Maximum length of 256.

## Request Body
<a name="API_DescribeRecommendationFeedback_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DescribeRecommendationFeedback_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "RecommendationFeedback": { 
      "CodeReviewArn": "string",
      "CreatedTimeStamp": number,
      "LastUpdatedTimeStamp": number,
      "Reactions": [ "string" ],
      "RecommendationId": "string",
      "UserId": "string"
   }
}
```

## Response Elements
<a name="API_DescribeRecommendationFeedback_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [RecommendationFeedback](#API_DescribeRecommendationFeedback_ResponseSyntax) **   <a name="reviewer-DescribeRecommendationFeedback-response-RecommendationFeedback"></a>
The recommendation feedback given by the user.  
Type: [RecommendationFeedback](API_RecommendationFeedback.md) object

## Errors
<a name="API_DescribeRecommendationFeedback_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
 The resource specified in the request was not found.   
HTTP Status Code: 404

 ** ThrottlingException **   
The request was denied due to request throttling.  
HTTP Status Code: 429

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_DescribeRecommendationFeedback_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedback) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedback) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedback) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedback) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedback) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedback) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedback) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedback) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedback) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedback) 

# DescribeRepositoryAssociation
<a name="API_DescribeRepositoryAssociation"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Returns a [RepositoryAssociation](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) object that contains information about the requested repository association.

## Request Syntax
<a name="API_DescribeRepositoryAssociation_RequestSyntax"></a>

```
GET /associations/AssociationArn?showDeletedRepository=ShowDeletedRepository HTTP/1.1
```

## URI Request Parameters
<a name="API_DescribeRepositoryAssociation_RequestParameters"></a>

The request uses the following URI parameters.

 ** [AssociationArn](#API_DescribeRepositoryAssociation_RequestSyntax) **   <a name="reviewer-DescribeRepositoryAssociation-request-uri-AssociationArn"></a>
The Amazon Resource Name (ARN) of the [RepositoryAssociation](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) object. You can retrieve this ARN by calling [ListRepositoryAssociations](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html).  
Length Constraints: Minimum length of 1. Maximum length of 1600.  
Pattern: `^arn:aws:codeguru-reviewer:[^:\s]+:[\d]{12}:association:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`   
Required: Yes

 ** [ShowDeletedRepository](#API_DescribeRepositoryAssociation_RequestSyntax) **   <a name="reviewer-DescribeRepositoryAssociation-request-uri-ShowDeletedRepository"></a>
Specifies whether to include information about deleted repositories in the response.

## Request Body
<a name="API_DescribeRepositoryAssociation_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DescribeRepositoryAssociation_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "RepositoryAssociation": { 
      "AssociationArn": "string",
      "AssociationId": "string",
      "ConnectionArn": "string",
      "CreatedTimeStamp": number,
      "KMSKeyDetails": { 
         "EncryptionOption": "string",
         "KMSKeyId": "string"
      },
      "LastUpdatedTimeStamp": number,
      "Name": "string",
      "Owner": "string",
      "ProviderType": "string",
      "S3RepositoryDetails": { 
         "BucketName": "string",
         "CodeArtifacts": { 
            "BuildArtifactsObjectKey": "string",
            "SourceCodeArtifactsObjectKey": "string"
         }
      },
      "State": "string",
      "StateReason": "string"
   },
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_DescribeRepositoryAssociation_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [RepositoryAssociation](#API_DescribeRepositoryAssociation_ResponseSyntax) **   <a name="reviewer-DescribeRepositoryAssociation-response-RepositoryAssociation"></a>
Information about the repository association.  
Type: [RepositoryAssociation](API_RepositoryAssociation.md) object

 ** [Tags](#API_DescribeRepositoryAssociation_ResponseSyntax) **   <a name="reviewer-DescribeRepositoryAssociation-response-Tags"></a>
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:  
+ A *tag key* (for example, `CostCenter`, `Environment`, `Project`, or `Secret`). Tag keys are case sensitive.
+ An optional field known as a *tag value* (for example, `111122223333`, `Production`, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_DescribeRepositoryAssociation_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** NotFoundException **   
The resource specified in the request was not found.  
HTTP Status Code: 404

 ** ThrottlingException **   
The request was denied due to request throttling.  
HTTP Status Code: 429

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_DescribeRepositoryAssociation_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation) 

# DisassociateRepository
<a name="API_DisassociateRepository"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Removes the association between Amazon CodeGuru Reviewer and a repository.

## Request Syntax
<a name="API_DisassociateRepository_RequestSyntax"></a>

```
DELETE /associations/AssociationArn HTTP/1.1
```

## URI Request Parameters
<a name="API_DisassociateRepository_RequestParameters"></a>

The request uses the following URI parameters.

 ** [AssociationArn](#API_DisassociateRepository_RequestSyntax) **   <a name="reviewer-DisassociateRepository-request-uri-AssociationArn"></a>
The Amazon Resource Name (ARN) of the [RepositoryAssociation](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) object. You can retrieve this ARN by calling [ListRepositoryAssociations](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html).  
Length Constraints: Minimum length of 1. Maximum length of 1600.  
Pattern: `^arn:aws:codeguru-reviewer:[^:\s]+:[\d]{12}:association:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`   
Required: Yes

## Request Body
<a name="API_DisassociateRepository_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_DisassociateRepository_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "RepositoryAssociation": { 
      "AssociationArn": "string",
      "AssociationId": "string",
      "ConnectionArn": "string",
      "CreatedTimeStamp": number,
      "KMSKeyDetails": { 
         "EncryptionOption": "string",
         "KMSKeyId": "string"
      },
      "LastUpdatedTimeStamp": number,
      "Name": "string",
      "Owner": "string",
      "ProviderType": "string",
      "S3RepositoryDetails": { 
         "BucketName": "string",
         "CodeArtifacts": { 
            "BuildArtifactsObjectKey": "string",
            "SourceCodeArtifactsObjectKey": "string"
         }
      },
      "State": "string",
      "StateReason": "string"
   },
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_DisassociateRepository_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [RepositoryAssociation](#API_DisassociateRepository_ResponseSyntax) **   <a name="reviewer-DisassociateRepository-response-RepositoryAssociation"></a>
Information about the disassociated repository.  
Type: [RepositoryAssociation](API_RepositoryAssociation.md) object

 ** [Tags](#API_DisassociateRepository_ResponseSyntax) **   <a name="reviewer-DisassociateRepository-response-Tags"></a>
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:  
+ A *tag key* (for example, `CostCenter`, `Environment`, `Project`, or `Secret`). Tag keys are case sensitive.
+ An optional field known as a *tag value* (for example, `111122223333`, `Production`, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_DisassociateRepository_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** ConflictException **   
The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.   
HTTP Status Code: 409

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** NotFoundException **   
The resource specified in the request was not found.  
HTTP Status Code: 404

 ** ThrottlingException **   
The request was denied due to request throttling.  
HTTP Status Code: 429

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_DisassociateRepository_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/DisassociateRepository) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/DisassociateRepository) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/DisassociateRepository) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/DisassociateRepository) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/DisassociateRepository) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/DisassociateRepository) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/DisassociateRepository) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/DisassociateRepository) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/DisassociateRepository) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/DisassociateRepository) 

# GetMetricsData
<a name="API_GetMetricsData"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Retrieves metrics data for CodeGuru Reviewer analysis, including findings and code analysis statistics.

## Request Syntax
<a name="API_GetMetricsData_RequestSyntax"></a>

```
GET /metrics HTTP/1.1
```

## URI Request Parameters
<a name="API_GetMetricsData_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_GetMetricsData_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetMetricsData_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "FindingsMetricsData": { 
      "AnalyzedLinesOfCodeCount": number,
      "FindingJobsCount": number,
      "FindingsCount": number
   }
}
```

## Response Elements
<a name="API_GetMetricsData_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [FindingsMetricsData](#API_GetMetricsData_ResponseSyntax) **   <a name="reviewer-GetMetricsData-response-FindingsMetricsData"></a>
The metrics data containing findings and analysis statistics.  
Type: [FindingsMetricsData](API_FindingsMetricsData.md) object

## Errors
<a name="API_GetMetricsData_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ThrottlingException **   
The request was denied due to request throttling.  
HTTP Status Code: 429

## See Also
<a name="API_GetMetricsData_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/GetMetricsData) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/GetMetricsData) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/GetMetricsData) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/GetMetricsData) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/GetMetricsData) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/GetMetricsData) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/GetMetricsData) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/GetMetricsData) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/GetMetricsData) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/GetMetricsData) 

# ListCodeReviews
<a name="API_ListCodeReviews"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Lists all the code reviews that the customer has created in the past 90 days.

## Request Syntax
<a name="API_ListCodeReviews_RequestSyntax"></a>

```
GET /codereviews?MaxResults=MaxResults&NextToken=NextToken&ProviderTypes=ProviderTypes&RepositoryNames=RepositoryNames&States=States&Type=Type HTTP/1.1
```

## URI Request Parameters
<a name="API_ListCodeReviews_RequestParameters"></a>

The request uses the following URI parameters.

 ** [MaxResults](#API_ListCodeReviews_RequestSyntax) **   <a name="reviewer-ListCodeReviews-request-uri-MaxResults"></a>
The maximum number of results that are returned per call. The default is 100.  
Valid Range: Minimum value of 1. Maximum value of 1000.

 ** [NextToken](#API_ListCodeReviews_RequestSyntax) **   <a name="reviewer-ListCodeReviews-request-uri-NextToken"></a>
If `nextToken` is returned, there are more results available. The value of `nextToken` is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Pattern: `\S+` 

 ** [ProviderTypes](#API_ListCodeReviews_RequestSyntax) **   <a name="reviewer-ListCodeReviews-request-uri-ProviderTypes"></a>
List of provider types for filtering that needs to be applied before displaying the result. For example, `providerTypes=[GitHub]` lists code reviews from GitHub.  
Array Members: Minimum number of 1 item. Maximum number of 3 items.  
Valid Values: `CodeCommit | GitHub | Bitbucket | GitHubEnterpriseServer | S3Bucket` 

 ** [RepositoryNames](#API_ListCodeReviews_RequestSyntax) **   <a name="reviewer-ListCodeReviews-request-uri-RepositoryNames"></a>
List of repository names for filtering that needs to be applied before displaying the result.  
Array Members: Minimum number of 1 item. Maximum number of 100 items.  
Length Constraints: Minimum length of 1. Maximum length of 100.  
Pattern: `^\S(.*\S)?$` 

 ** [States](#API_ListCodeReviews_RequestSyntax) **   <a name="reviewer-ListCodeReviews-request-uri-States"></a>
List of states for filtering that needs to be applied before displaying the result. For example, `states=[Pending]` lists code reviews in the Pending state.  
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.
Array Members: Minimum number of 1 item. Maximum number of 3 items.  
Valid Values: `Completed | Pending | Failed | Deleting` 

 ** [Type](#API_ListCodeReviews_RequestSyntax) **   <a name="reviewer-ListCodeReviews-request-uri-Type"></a>
The type of code reviews to list in the response.  
Valid Values: `PullRequest | RepositoryAnalysis`   
Required: Yes

## Request Body
<a name="API_ListCodeReviews_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListCodeReviews_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "CodeReviewSummaries": [ 
      { 
         "CodeReviewArn": "string",
         "CreatedTimeStamp": number,
         "LastUpdatedTimeStamp": number,
         "MetricsSummary": { 
            "FindingsCount": number,
            "MeteredLinesOfCodeCount": number,
            "SuppressedLinesOfCodeCount": number
         },
         "Name": "string",
         "Owner": "string",
         "ProviderType": "string",
         "PullRequestId": "string",
         "RepositoryName": "string",
         "SourceCodeType": { 
            "BranchDiff": { 
               "DestinationBranchName": "string",
               "SourceBranchName": "string"
            },
            "CommitDiff": { 
               "DestinationCommit": "string",
               "MergeBaseCommit": "string",
               "SourceCommit": "string"
            },
            "RepositoryHead": { 
               "BranchName": "string"
            },
            "RequestMetadata": { 
               "EventInfo": { 
                  "Name": "string",
                  "State": "string"
               },
               "Requester": "string",
               "RequestId": "string",
               "VendorName": "string"
            },
            "S3BucketRepository": { 
               "Details": { 
                  "BucketName": "string",
                  "CodeArtifacts": { 
                     "BuildArtifactsObjectKey": "string",
                     "SourceCodeArtifactsObjectKey": "string"
                  }
               },
               "Name": "string"
            }
         },
         "State": "string",
         "Type": "string"
      }
   ],
   "NextToken": "string"
}
```

## Response Elements
<a name="API_ListCodeReviews_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [CodeReviewSummaries](#API_ListCodeReviews_ResponseSyntax) **   <a name="reviewer-ListCodeReviews-response-CodeReviewSummaries"></a>
A list of code reviews that meet the criteria of the request.  
Type: Array of [CodeReviewSummary](API_CodeReviewSummary.md) objects

 ** [NextToken](#API_ListCodeReviews_ResponseSyntax) **   <a name="reviewer-ListCodeReviews-response-NextToken"></a>
Pagination token.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Pattern: `\S+` 

## Errors
<a name="API_ListCodeReviews_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ThrottlingException **   
The request was denied due to request throttling.  
HTTP Status Code: 429

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_ListCodeReviews_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/ListCodeReviews) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/ListCodeReviews) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/ListCodeReviews) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/ListCodeReviews) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/ListCodeReviews) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/ListCodeReviews) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/ListCodeReviews) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/ListCodeReviews) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/ListCodeReviews) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/ListCodeReviews) 

# ListRecommendationFeedback
<a name="API_ListRecommendationFeedback"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Returns a list of [RecommendationFeedbackSummary](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RecommendationFeedbackSummary.html) objects that contain customer recommendation feedback for all CodeGuru Reviewer users.

## Request Syntax
<a name="API_ListRecommendationFeedback_RequestSyntax"></a>

```
GET /feedback/CodeReviewArn/RecommendationFeedback?MaxResults=MaxResults&NextToken=NextToken&RecommendationIds=RecommendationIds&UserIds=UserIds HTTP/1.1
```

## URI Request Parameters
<a name="API_ListRecommendationFeedback_RequestParameters"></a>

The request uses the following URI parameters.

 ** [CodeReviewArn](#API_ListRecommendationFeedback_RequestSyntax) **   <a name="reviewer-ListRecommendationFeedback-request-uri-CodeReviewArn"></a>
The Amazon Resource Name (ARN) of the [CodeReview](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html) object.   
Length Constraints: Minimum length of 1. Maximum length of 1600.  
Pattern: `^arn:aws:codeguru-reviewer:[^:\s]+:[\d]{12}:([a-z-]+|[a-z-]+:[\w-]+:[a-z-]+):[\w-]+$`   
Required: Yes

 ** [MaxResults](#API_ListRecommendationFeedback_RequestSyntax) **   <a name="reviewer-ListRecommendationFeedback-request-uri-MaxResults"></a>
The maximum number of results that are returned per call. The default is 100.  
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [NextToken](#API_ListRecommendationFeedback_RequestSyntax) **   <a name="reviewer-ListRecommendationFeedback-request-uri-NextToken"></a>
If `nextToken` is returned, there are more results available. The value of `nextToken` is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Pattern: `\S+` 

 ** [RecommendationIds](#API_ListRecommendationFeedback_RequestSyntax) **   <a name="reviewer-ListRecommendationFeedback-request-uri-RecommendationIds"></a>
Used to query the recommendation feedback for a given recommendation.  
Array Members: Minimum number of 1 item. Maximum number of 100 items.  
Length Constraints: Minimum length of 1. Maximum length of 64.

 ** [UserIds](#API_ListRecommendationFeedback_RequestSyntax) **   <a name="reviewer-ListRecommendationFeedback-request-uri-UserIds"></a>
An AWS user's account ID or Amazon Resource Name (ARN). Use this ID to query the recommendation feedback for a code review from that user.  
 The `UserId` is an IAM principal that can be specified as an AWS account ID or an Amazon Resource Name (ARN). For more information, see [ Specifying a Principal](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying) in the * AWS Identity and Access Management User Guide*.  
Array Members: Minimum number of 1 item. Maximum number of 100 items.  
Length Constraints: Minimum length of 1. Maximum length of 256.

## Request Body
<a name="API_ListRecommendationFeedback_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListRecommendationFeedback_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "NextToken": "string",
   "RecommendationFeedbackSummaries": [ 
      { 
         "Reactions": [ "string" ],
         "RecommendationId": "string",
         "UserId": "string"
      }
   ]
}
```

## Response Elements
<a name="API_ListRecommendationFeedback_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [NextToken](#API_ListRecommendationFeedback_ResponseSyntax) **   <a name="reviewer-ListRecommendationFeedback-response-NextToken"></a>
If `nextToken` is returned, there are more results available. The value of `nextToken` is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Pattern: `\S+` 

 ** [RecommendationFeedbackSummaries](#API_ListRecommendationFeedback_ResponseSyntax) **   <a name="reviewer-ListRecommendationFeedback-response-RecommendationFeedbackSummaries"></a>
Recommendation feedback summaries corresponding to the code review ARN.  
Type: Array of [RecommendationFeedbackSummary](API_RecommendationFeedbackSummary.md) objects

## Errors
<a name="API_ListRecommendationFeedback_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
 The resource specified in the request was not found.   
HTTP Status Code: 404

 ** ThrottlingException **   
The request was denied due to request throttling.  
HTTP Status Code: 429

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_ListRecommendationFeedback_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/ListRecommendationFeedback) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/ListRecommendationFeedback) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/ListRecommendationFeedback) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/ListRecommendationFeedback) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/ListRecommendationFeedback) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/ListRecommendationFeedback) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/ListRecommendationFeedback) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/ListRecommendationFeedback) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/ListRecommendationFeedback) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/ListRecommendationFeedback) 

# ListRecommendations
<a name="API_ListRecommendations"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Returns the list of all recommendations for a completed code review.

## Request Syntax
<a name="API_ListRecommendations_RequestSyntax"></a>

```
GET /codereviews/CodeReviewArn/Recommendations?MaxResults=MaxResults&NextToken=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_ListRecommendations_RequestParameters"></a>

The request uses the following URI parameters.

 ** [CodeReviewArn](#API_ListRecommendations_RequestSyntax) **   <a name="reviewer-ListRecommendations-request-uri-CodeReviewArn"></a>
The Amazon Resource Name (ARN) of the [CodeReview](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html) object.   
Length Constraints: Minimum length of 1. Maximum length of 1600.  
Pattern: `^arn:aws:codeguru-reviewer:[^:\s]+:[\d]{12}:([a-z-]+|[a-z-]+:[\w-]+:[a-z-]+):[\w-]+$`   
Required: Yes

 ** [MaxResults](#API_ListRecommendations_RequestSyntax) **   <a name="reviewer-ListRecommendations-request-uri-MaxResults"></a>
The maximum number of results that are returned per call. The default is 100.  
Valid Range: Minimum value of 1. Maximum value of 300.

 ** [NextToken](#API_ListRecommendations_RequestSyntax) **   <a name="reviewer-ListRecommendations-request-uri-NextToken"></a>
Pagination token.  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Pattern: `\S+` 

## Request Body
<a name="API_ListRecommendations_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListRecommendations_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "NextToken": "string",
   "RecommendationSummaries": [ 
      { 
         "ConfidenceScore": number,
         "Description": "string",
         "EndLine": number,
         "FilePath": "string",
         "RecommendationCategory": "string",
         "RecommendationId": "string",
         "RecommendationType": "string",
         "RecommenderId": "string",
         "RuleMetadata": { 
            "LongDescription": "string",
            "RuleId": "string",
            "RuleName": "string",
            "RuleTags": [ "string" ],
            "ShortDescription": "string"
         },
         "Severity": "string",
         "StartLine": number
      }
   ]
}
```

## Response Elements
<a name="API_ListRecommendations_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [NextToken](#API_ListRecommendations_ResponseSyntax) **   <a name="reviewer-ListRecommendations-response-NextToken"></a>
Pagination token.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Pattern: `\S+` 

 ** [RecommendationSummaries](#API_ListRecommendations_ResponseSyntax) **   <a name="reviewer-ListRecommendations-response-RecommendationSummaries"></a>
List of recommendations for the requested code review.  
Type: Array of [RecommendationSummary](API_RecommendationSummary.md) objects

## Errors
<a name="API_ListRecommendations_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
 The resource specified in the request was not found.   
HTTP Status Code: 404

 ** ThrottlingException **   
The request was denied due to request throttling.  
HTTP Status Code: 429

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_ListRecommendations_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/ListRecommendations) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/ListRecommendations) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/ListRecommendations) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/ListRecommendations) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/ListRecommendations) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/ListRecommendations) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/ListRecommendations) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/ListRecommendations) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/ListRecommendations) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/ListRecommendations) 

# ListRepositoryAssociations
<a name="API_ListRepositoryAssociations"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Returns a list of [RepositoryAssociationSummary](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html) objects that contain summary information about a repository association. You can filter the returned list by [ProviderType](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-ProviderType), [Name](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-Name), [State](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-State), and [Owner](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-Owner).

## Request Syntax
<a name="API_ListRepositoryAssociations_RequestSyntax"></a>

```
GET /associations?MaxResults=MaxResults&Name=Names&NextToken=NextToken&Owner=Owners&ProviderType=ProviderTypes&State=States HTTP/1.1
```

## URI Request Parameters
<a name="API_ListRepositoryAssociations_RequestParameters"></a>

The request uses the following URI parameters.

 ** [MaxResults](#API_ListRepositoryAssociations_RequestSyntax) **   <a name="reviewer-ListRepositoryAssociations-request-uri-MaxResults"></a>
The maximum number of repository association results returned by `ListRepositoryAssociations` in paginated output. When this parameter is used, `ListRepositoryAssociations` only returns `maxResults` results in a single page with a `nextToken` response element. The remaining results of the initial request can be seen by sending another `ListRepositoryAssociations` request with the returned `nextToken` value. This value can be between 1 and 100. If this parameter is not used, `ListRepositoryAssociations` returns up to 100 results and a `nextToken` value if applicable.   
Valid Range: Minimum value of 1. Maximum value of 100.

 ** [Names](#API_ListRepositoryAssociations_RequestSyntax) **   <a name="reviewer-ListRepositoryAssociations-request-uri-Names"></a>
List of repository names to use as a filter.  
Array Members: Minimum number of 1 item. Maximum number of 3 items.  
Length Constraints: Minimum length of 1. Maximum length of 100.  
Pattern: `^\S(.*\S)?$` 

 ** [NextToken](#API_ListRepositoryAssociations_RequestSyntax) **   <a name="reviewer-ListRepositoryAssociations-request-uri-NextToken"></a>
The `nextToken` value returned from a previous paginated `ListRepositoryAssociations` request where `maxResults` was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the `nextToken` value.   
Treat this token as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Pattern: `\S+` 

 ** [Owners](#API_ListRepositoryAssociations_RequestSyntax) **   <a name="reviewer-ListRepositoryAssociations-request-uri-Owners"></a>
List of owners to use as a filter. For AWS CodeCommit, it is the name of the CodeCommit account that was used to associate the repository. For other repository source providers, such as Bitbucket and GitHub Enterprise Server, this is name of the account that was used to associate the repository.   
Array Members: Minimum number of 1 item. Maximum number of 3 items.  
Length Constraints: Minimum length of 1. Maximum length of 100.  
Pattern: `^\S(.*\S)?$` 

 ** [ProviderTypes](#API_ListRepositoryAssociations_RequestSyntax) **   <a name="reviewer-ListRepositoryAssociations-request-uri-ProviderTypes"></a>
List of provider types to use as a filter.  
Array Members: Minimum number of 1 item. Maximum number of 3 items.  
Valid Values: `CodeCommit | GitHub | Bitbucket | GitHubEnterpriseServer | S3Bucket` 

 ** [States](#API_ListRepositoryAssociations_RequestSyntax) **   <a name="reviewer-ListRepositoryAssociations-request-uri-States"></a>
List of repository association states to use as a filter.  
The valid repository association states are:  
+  **Associated**: The repository association is complete.
+  **Associating**: CodeGuru Reviewer is:
  + Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.
**Note**  
If your repository `ProviderType` is `GitHub`, `GitHub Enterprise Server`, or `Bitbucket`, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.
  + Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
+  **Failed**: The repository failed to associate or disassociate.
+  **Disassociating**: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
+  **Disassociated**: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in anassociated repository with tags after it has been disassociated. For more information, see [Using tags to control access to associated repositories](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/auth-and-access-control-using-tags.html) in the *Amazon CodeGuru Reviewer User Guide*.
Array Members: Minimum number of 1 item. Maximum number of 5 items.  
Valid Values: `Associated | Associating | Failed | Disassociating | Disassociated` 

## Request Body
<a name="API_ListRepositoryAssociations_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListRepositoryAssociations_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "NextToken": "string",
   "RepositoryAssociationSummaries": [ 
      { 
         "AssociationArn": "string",
         "AssociationId": "string",
         "ConnectionArn": "string",
         "LastUpdatedTimeStamp": number,
         "Name": "string",
         "Owner": "string",
         "ProviderType": "string",
         "State": "string"
      }
   ]
}
```

## Response Elements
<a name="API_ListRepositoryAssociations_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [NextToken](#API_ListRepositoryAssociations_ResponseSyntax) **   <a name="reviewer-ListRepositoryAssociations-response-NextToken"></a>
The `nextToken` value to include in a future `ListRecommendations` request. When the results of a `ListRecommendations` request exceed `maxResults`, this value can be used to retrieve the next page of results. This value is `null` when there are no more results to return.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Pattern: `\S+` 

 ** [RepositoryAssociationSummaries](#API_ListRepositoryAssociations_ResponseSyntax) **   <a name="reviewer-ListRepositoryAssociations-response-RepositoryAssociationSummaries"></a>
A list of repository associations that meet the criteria of the request.  
Type: Array of [RepositoryAssociationSummary](API_RepositoryAssociationSummary.md) objects

## Errors
<a name="API_ListRepositoryAssociations_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ThrottlingException **   
The request was denied due to request throttling.  
HTTP Status Code: 429

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_ListRepositoryAssociations_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/ListRepositoryAssociations) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/ListRepositoryAssociations) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/ListRepositoryAssociations) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/ListRepositoryAssociations) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/ListRepositoryAssociations) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/ListRepositoryAssociations) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/ListRepositoryAssociations) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/ListRepositoryAssociations) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/ListRepositoryAssociations) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/ListRepositoryAssociations) 

# ListTagsForResource
<a name="API_ListTagsForResource"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Returns the list of tags associated with an associated repository resource.

## Request Syntax
<a name="API_ListTagsForResource_RequestSyntax"></a>

```
GET /tags/resourceArn HTTP/1.1
```

## URI Request Parameters
<a name="API_ListTagsForResource_RequestParameters"></a>

The request uses the following URI parameters.

 ** [resourceArn](#API_ListTagsForResource_RequestSyntax) **   <a name="reviewer-ListTagsForResource-request-uri-resourceArn"></a>
The Amazon Resource Name (ARN) of the [RepositoryAssociation](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) object. You can retrieve this ARN by calling [ListRepositoryAssociations](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html).  
Length Constraints: Minimum length of 1. Maximum length of 1600.  
Pattern: `^arn:aws:codeguru-reviewer:[^:\s]+:[\d]{12}:association:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`   
Required: Yes

## Request Body
<a name="API_ListTagsForResource_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListTagsForResource_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Tags": { 
      "string" : "string" 
   }
}
```

## Response Elements
<a name="API_ListTagsForResource_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Tags](#API_ListTagsForResource_ResponseSyntax) **   <a name="reviewer-ListTagsForResource-response-Tags"></a>
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:  
+ A *tag key* (for example, `CostCenter`, `Environment`, `Project`, or `Secret`). Tag keys are case sensitive.
+ An optional field known as a *tag value* (for example, `111122223333`, `Production`, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Value Length Constraints: Maximum length of 256.

## Errors
<a name="API_ListTagsForResource_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
 The resource specified in the request was not found.   
HTTP Status Code: 404

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_ListTagsForResource_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/ListTagsForResource) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/ListTagsForResource) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/ListTagsForResource) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/ListTagsForResource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/ListTagsForResource) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/ListTagsForResource) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/ListTagsForResource) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/ListTagsForResource) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/ListTagsForResource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/ListTagsForResource) 

# ListThirdPartyRepositories
<a name="API_ListThirdPartyRepositories"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Lists third-party repositories that are connected to CodeGuru Reviewer for code analysis.

## Request Syntax
<a name="API_ListThirdPartyRepositories_RequestSyntax"></a>

```
GET /thirdPartyRepositories?ConnectionToken=ConnectionToken&NextToken=NextToken HTTP/1.1
```

## URI Request Parameters
<a name="API_ListThirdPartyRepositories_RequestParameters"></a>

The request uses the following URI parameters.

 ** [ConnectionToken](#API_ListThirdPartyRepositories_RequestSyntax) **   <a name="reviewer-ListThirdPartyRepositories-request-uri-ConnectionToken"></a>
The connection token used to authenticate with the third-party repository provider.  
Length Constraints: Minimum length of 8. Maximum length of 2048.  
Pattern: `\S+`   
Required: Yes

 ** [NextToken](#API_ListThirdPartyRepositories_RequestSyntax) **   <a name="reviewer-ListThirdPartyRepositories-request-uri-NextToken"></a>
The pagination token for retrieving the next set of results.  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Pattern: `\S+` 

## Request Body
<a name="API_ListThirdPartyRepositories_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_ListThirdPartyRepositories_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "NextToken": "string",
   "ThirdPartyRepositories": [ 
      { 
         "ConnectionToken": "string",
         "IsEnabled": boolean,
         "Name": "string",
         "Owner": "string"
      }
   ]
}
```

## Response Elements
<a name="API_ListThirdPartyRepositories_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [NextToken](#API_ListThirdPartyRepositories_ResponseSyntax) **   <a name="reviewer-ListThirdPartyRepositories-response-NextToken"></a>
The pagination token for retrieving additional results.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Pattern: `\S+` 

 ** [ThirdPartyRepositories](#API_ListThirdPartyRepositories_ResponseSyntax) **   <a name="reviewer-ListThirdPartyRepositories-response-ThirdPartyRepositories"></a>
A list of third-party repositories available for code review.  
Type: Array of [ThirdPartyRepository](API_ThirdPartyRepository.md) objects

## Errors
<a name="API_ListThirdPartyRepositories_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ThrottlingException **   
The request was denied due to request throttling.  
HTTP Status Code: 429

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_ListThirdPartyRepositories_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/ListThirdPartyRepositories) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/ListThirdPartyRepositories) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/ListThirdPartyRepositories) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/ListThirdPartyRepositories) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/ListThirdPartyRepositories) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/ListThirdPartyRepositories) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/ListThirdPartyRepositories) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/ListThirdPartyRepositories) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/ListThirdPartyRepositories) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/ListThirdPartyRepositories) 

# PutRecommendationFeedback
<a name="API_PutRecommendationFeedback"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Stores customer feedback for a CodeGuru Reviewer recommendation. When this API is called again with different reactions the previous feedback is overwritten.

## Request Syntax
<a name="API_PutRecommendationFeedback_RequestSyntax"></a>

```
PUT /feedback HTTP/1.1
Content-type: application/json

{
   "CodeReviewArn": "string",
   "Reactions": [ "string" ],
   "RecommendationId": "string"
}
```

## URI Request Parameters
<a name="API_PutRecommendationFeedback_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_PutRecommendationFeedback_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [CodeReviewArn](#API_PutRecommendationFeedback_RequestSyntax) **   <a name="reviewer-PutRecommendationFeedback-request-CodeReviewArn"></a>
The Amazon Resource Name (ARN) of the [CodeReview](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html) object.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1600.  
Pattern: `^arn:aws:codeguru-reviewer:[^:\s]+:[\d]{12}:([a-z-]+|[a-z-]+:[\w-]+:[a-z-]+):[\w-]+$`   
Required: Yes

 ** [Reactions](#API_PutRecommendationFeedback_RequestSyntax) **   <a name="reviewer-PutRecommendationFeedback-request-Reactions"></a>
List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears all your feedback.  
Type: Array of strings  
Array Members: Minimum number of 0 items. Maximum number of 1 item.  
Valid Values: `ThumbsUp | ThumbsDown`   
Required: Yes

 ** [RecommendationId](#API_PutRecommendationFeedback_RequestSyntax) **   <a name="reviewer-PutRecommendationFeedback-request-RecommendationId"></a>
The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

## Response Syntax
<a name="API_PutRecommendationFeedback_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_PutRecommendationFeedback_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_PutRecommendationFeedback_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient access to perform this action.  
HTTP Status Code: 403

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
 The resource specified in the request was not found.   
HTTP Status Code: 404

 ** ThrottlingException **   
The request was denied due to request throttling.  
HTTP Status Code: 429

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_PutRecommendationFeedback_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/PutRecommendationFeedback) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/PutRecommendationFeedback) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/PutRecommendationFeedback) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/PutRecommendationFeedback) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/PutRecommendationFeedback) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/PutRecommendationFeedback) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/PutRecommendationFeedback) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/PutRecommendationFeedback) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/PutRecommendationFeedback) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/PutRecommendationFeedback) 

# TagResource
<a name="API_TagResource"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Adds one or more tags to an associated repository.

## Request Syntax
<a name="API_TagResource_RequestSyntax"></a>

```
POST /tags/resourceArn HTTP/1.1
Content-type: application/json

{
   "Tags": { 
      "string" : "string" 
   }
}
```

## URI Request Parameters
<a name="API_TagResource_RequestParameters"></a>

The request uses the following URI parameters.

 ** [resourceArn](#API_TagResource_RequestSyntax) **   <a name="reviewer-TagResource-request-uri-resourceArn"></a>
The Amazon Resource Name (ARN) of the [RepositoryAssociation](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) object. You can retrieve this ARN by calling [ListRepositoryAssociations](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html).  
Length Constraints: Minimum length of 1. Maximum length of 1600.  
Pattern: `^arn:aws:codeguru-reviewer:[^:\s]+:[\d]{12}:association:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`   
Required: Yes

## Request Body
<a name="API_TagResource_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [Tags](#API_TagResource_RequestSyntax) **   <a name="reviewer-TagResource-request-Tags"></a>
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:  
+ A *tag key* (for example, `CostCenter`, `Environment`, `Project`, or `Secret`). Tag keys are case sensitive.
+ An optional field known as a *tag value* (for example, `111122223333`, `Production`, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
Type: String to string map  
Map Entries: Maximum number of 50 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Value Length Constraints: Maximum length of 256.  
Required: Yes

## Response Syntax
<a name="API_TagResource_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_TagResource_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_TagResource_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
 The resource specified in the request was not found.   
HTTP Status Code: 404

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_TagResource_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/TagResource) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/TagResource) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/TagResource) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/TagResource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/TagResource) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/TagResource) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/TagResource) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/TagResource) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/TagResource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/TagResource) 

# UntagResource
<a name="API_UntagResource"></a>

**Note**  
As of November 7, 2025, you cannot create new repository associations in Amazon CodeGuru Reviewer. To learn about services with capabilities similar to CodeGuru Reviewer, see [Amazon CodeGuru Reviewer availability change](https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/codeguru-reviewer-availability-change.html).

Removes a tag from an associated repository.

## Request Syntax
<a name="API_UntagResource_RequestSyntax"></a>

```
DELETE /tags/resourceArn?tagKeys=TagKeys HTTP/1.1
```

## URI Request Parameters
<a name="API_UntagResource_RequestParameters"></a>

The request uses the following URI parameters.

 ** [resourceArn](#API_UntagResource_RequestSyntax) **   <a name="reviewer-UntagResource-request-uri-resourceArn"></a>
The Amazon Resource Name (ARN) of the [RepositoryAssociation](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) object. You can retrieve this ARN by calling [ListRepositoryAssociations](https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html).  
Length Constraints: Minimum length of 1. Maximum length of 1600.  
Pattern: `^arn:aws:codeguru-reviewer:[^:\s]+:[\d]{12}:association:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`   
Required: Yes

 ** [TagKeys](#API_UntagResource_RequestSyntax) **   <a name="reviewer-UntagResource-request-uri-TagKeys"></a>
A list of the keys for each tag you want to remove from an associated repository.  
Array Members: Minimum number of 0 items. Maximum number of 50 items.  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: Yes

## Request Body
<a name="API_UntagResource_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_UntagResource_ResponseSyntax"></a>

```
HTTP/1.1 200
```

## Response Elements
<a name="API_UntagResource_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_UntagResource_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InternalServerException **   
The server encountered an internal error and is unable to complete the request.  
HTTP Status Code: 500

 ** ResourceNotFoundException **   
 The resource specified in the request was not found.   
HTTP Status Code: 404

 ** ValidationException **   
The input fails to satisfy the specified constraints.  
HTTP Status Code: 400

## See Also
<a name="API_UntagResource_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codeguru-reviewer-2019-09-19/UntagResource) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codeguru-reviewer-2019-09-19/UntagResource) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codeguru-reviewer-2019-09-19/UntagResource) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codeguru-reviewer-2019-09-19/UntagResource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codeguru-reviewer-2019-09-19/UntagResource) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codeguru-reviewer-2019-09-19/UntagResource) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codeguru-reviewer-2019-09-19/UntagResource) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codeguru-reviewer-2019-09-19/UntagResource) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codeguru-reviewer-2019-09-19/UntagResource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codeguru-reviewer-2019-09-19/UntagResource) 