ListThirdPartyRepositories
Note
Starting November 7, 2025, you will not be able to create new repository associations in Amazon CodeGuru Reviewer. If you would like to use the service, create repository associations prior to November 7, 2025. To learn about services with capabilities similar to CodeGuru Reviewer, see Amazon CodeGuru Reviewer availability change.
Lists third-party repositories that are connected to CodeGuru Reviewer for code analysis.
Request Syntax
GET /thirdPartyRepositories?ConnectionToken=ConnectionToken
&NextToken=NextToken
HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- ConnectionToken
-
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
-
The pagination token for retrieving the next set of results.
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
\S+
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"NextToken": "string",
"ThirdPartyRepositories": [
{
"ConnectionToken": "string",
"IsEnabled": boolean,
"Name": "string",
"Owner": "string"
}
]
}
Response Elements
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
-
The pagination token for retrieving additional results.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
\S+
- ThirdPartyRepositories
-
A list of third-party repositories available for code review.
Type: Array of ThirdPartyRepository objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- 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
For more information about using this API in one of the language-specific AWS SDKs, see the following: