@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonCodeGuruReviewerClient extends AmazonWebServiceClient implements AmazonCodeGuruReviewer
This section provides documentation for the Amazon CodeGuru Reviewer API operations.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
AssociateRepositoryResult |
associateRepository(AssociateRepositoryRequest request)
Associates an AWS CodeCommit repository with Amazon CodeGuru Reviewer.
|
static AmazonCodeGuruReviewerClientBuilder |
builder() |
DescribeCodeReviewResult |
describeCodeReview(DescribeCodeReviewRequest request)
Returns the metadaata associated with the code review along with its status.
|
DescribeRecommendationFeedbackResult |
describeRecommendationFeedback(DescribeRecommendationFeedbackRequest request)
Describes the customer feedback for a CodeGuru Reviewer recommendation.
|
DescribeRepositoryAssociationResult |
describeRepositoryAssociation(DescribeRepositoryAssociationRequest request)
Describes a repository association.
|
DisassociateRepositoryResult |
disassociateRepository(DisassociateRepositoryRequest request)
Removes the association between Amazon CodeGuru Reviewer and a repository.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
ListCodeReviewsResult |
listCodeReviews(ListCodeReviewsRequest request)
Lists all the code reviews that the customer has created in the past 90 days.
|
ListRecommendationFeedbackResult |
listRecommendationFeedback(ListRecommendationFeedbackRequest request)
Lists the customer feedback for a CodeGuru Reviewer recommendation for all users.
|
ListRecommendationsResult |
listRecommendations(ListRecommendationsRequest request)
Returns the list of all recommendations for a completed code review.
|
ListRepositoryAssociationsResult |
listRepositoryAssociations(ListRepositoryAssociationsRequest request)
Lists repository associations.
|
PutRecommendationFeedbackResult |
putRecommendationFeedback(PutRecommendationFeedbackRequest request)
Stores customer feedback for a CodeGuru-Reviewer recommendation.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutdown
public static AmazonCodeGuruReviewerClientBuilder builder()
public AssociateRepositoryResult associateRepository(AssociateRepositoryRequest request)
Associates an AWS CodeCommit repository with Amazon CodeGuru Reviewer. When you associate an AWS CodeCommit repository with Amazon CodeGuru Reviewer, Amazon CodeGuru Reviewer will provide recommendations for each pull request raised within the repository. You can view recommendations in the AWS CodeCommit repository.
You can associate a GitHub repository using the Amazon CodeGuru Reviewer console.
associateRepository
in interface AmazonCodeGuruReviewer
associateRepositoryRequest
- InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The input fails to satisfy the specified constraints.AccessDeniedException
- You do not have sufficient access to perform this action.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.ThrottlingException
- The request was denied due to request throttling.public DescribeCodeReviewResult describeCodeReview(DescribeCodeReviewRequest request)
Returns the metadaata associated with the code review along with its status.
describeCodeReview
in interface AmazonCodeGuruReviewer
describeCodeReviewRequest
- ResourceNotFoundException
- The resource specified in the request was not found.InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The input fails to satisfy the specified constraints.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The request was denied due to request throttling.public DescribeRecommendationFeedbackResult describeRecommendationFeedback(DescribeRecommendationFeedbackRequest request)
Describes the customer feedback for a CodeGuru Reviewer recommendation.
describeRecommendationFeedback
in interface AmazonCodeGuruReviewer
describeRecommendationFeedbackRequest
- ResourceNotFoundException
- The resource specified in the request was not found.InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The input fails to satisfy the specified constraints.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The request was denied due to request throttling.public DescribeRepositoryAssociationResult describeRepositoryAssociation(DescribeRepositoryAssociationRequest request)
Describes a repository association.
describeRepositoryAssociation
in interface AmazonCodeGuruReviewer
describeRepositoryAssociationRequest
- NotFoundException
- The resource specified in the request was not found.InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The input fails to satisfy the specified constraints.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The request was denied due to request throttling.public DisassociateRepositoryResult disassociateRepository(DisassociateRepositoryRequest request)
Removes the association between Amazon CodeGuru Reviewer and a repository.
disassociateRepository
in interface AmazonCodeGuruReviewer
disassociateRepositoryRequest
- NotFoundException
- The resource specified in the request was not found.InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The input fails to satisfy the specified constraints.AccessDeniedException
- You do not have sufficient access to perform this action.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.ThrottlingException
- The request was denied due to request throttling.public ListCodeReviewsResult listCodeReviews(ListCodeReviewsRequest request)
Lists all the code reviews that the customer has created in the past 90 days.
listCodeReviews
in interface AmazonCodeGuruReviewer
listCodeReviewsRequest
- InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The input fails to satisfy the specified constraints.ThrottlingException
- The request was denied due to request throttling.AccessDeniedException
- You do not have sufficient access to perform this action.public ListRecommendationFeedbackResult listRecommendationFeedback(ListRecommendationFeedbackRequest request)
Lists the customer feedback for a CodeGuru Reviewer recommendation for all users. This API will be used from the console to extract the previously given feedback by the user to pre-populate the feedback emojis for all recommendations.
listRecommendationFeedback
in interface AmazonCodeGuruReviewer
listRecommendationFeedbackRequest
- ResourceNotFoundException
- The resource specified in the request was not found.InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The input fails to satisfy the specified constraints.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The request was denied due to request throttling.public ListRecommendationsResult listRecommendations(ListRecommendationsRequest request)
Returns the list of all recommendations for a completed code review.
listRecommendations
in interface AmazonCodeGuruReviewer
listRecommendationsRequest
- ResourceNotFoundException
- The resource specified in the request was not found.InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The input fails to satisfy the specified constraints.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The request was denied due to request throttling.public ListRepositoryAssociationsResult listRepositoryAssociations(ListRepositoryAssociationsRequest request)
Lists repository associations. You can optionally filter on one or more of the following recommendation properties: provider types, states, names, and owners.
listRepositoryAssociations
in interface AmazonCodeGuruReviewer
listRepositoryAssociationsRequest
- InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The input fails to satisfy the specified constraints.ThrottlingException
- The request was denied due to request throttling.public PutRecommendationFeedbackResult putRecommendationFeedback(PutRecommendationFeedbackRequest request)
Stores customer feedback for a CodeGuru-Reviewer recommendation. When this API is called again with different reactions the previous feedback is overwritten.
putRecommendationFeedback
in interface AmazonCodeGuruReviewer
putRecommendationFeedbackRequest
- ResourceNotFoundException
- The resource specified in the request was not found.InternalServerException
- The server encountered an internal error and is unable to complete the request.ValidationException
- The input fails to satisfy the specified constraints.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The request was denied due to request throttling.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AmazonCodeGuruReviewer
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.