@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonCodeGuruReviewer extends Object implements AmazonCodeGuruReviewer
AmazonCodeGuruReviewer
. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
AssociateRepositoryResult |
associateRepository(AssociateRepositoryRequest request)
Use to associate an AWS CodeCommit repository or a repostory managed by AWS CodeStar Connections with Amazon
CodeGuru Reviewer.
|
CreateCodeReviewResult |
createCodeReview(CreateCodeReviewRequest request)
Use to create a code review for a repository analysis.
|
DescribeCodeReviewResult |
describeCodeReview(DescribeCodeReviewRequest request)
Returns the metadata 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)
Returns a
RepositoryAssociation object that contains information about the requested 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)
Returns a list of
RecommendationFeedbackSummary objects that contain customer recommendation feedback for all
CodeGuru Reviewer users. |
ListRecommendationsResult |
listRecommendations(ListRecommendationsRequest request)
Returns the list of all recommendations for a completed code review.
|
ListRepositoryAssociationsResult |
listRepositoryAssociations(ListRepositoryAssociationsRequest request)
Returns a list of
RepositoryAssociationSummary objects that contain summary information about a repository
association. |
PutRecommendationFeedbackResult |
putRecommendationFeedback(PutRecommendationFeedbackRequest request)
Stores customer feedback for a CodeGuru Reviewer recommendation.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
public AssociateRepositoryResult associateRepository(AssociateRepositoryRequest request)
AmazonCodeGuruReviewer
Use to associate an AWS CodeCommit repository or a repostory 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 in the Amazon CodeGuru Reviewer User Guide.
If you associate a CodeCommit 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 Connect to a repository source provider in the Amazon CodeGuru Reviewer User Guide.
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 in the CodeGuru Reviewer User Guide.
associateRepository
in interface AmazonCodeGuruReviewer
public CreateCodeReviewResult createCodeReview(CreateCodeReviewRequest request)
AmazonCodeGuruReviewer
Use to create a code review for a repository analysis.
createCodeReview
in interface AmazonCodeGuruReviewer
public DescribeCodeReviewResult describeCodeReview(DescribeCodeReviewRequest request)
AmazonCodeGuruReviewer
Returns the metadata associated with the code review along with its status.
describeCodeReview
in interface AmazonCodeGuruReviewer
public DescribeRecommendationFeedbackResult describeRecommendationFeedback(DescribeRecommendationFeedbackRequest request)
AmazonCodeGuruReviewer
Describes the customer feedback for a CodeGuru Reviewer recommendation.
describeRecommendationFeedback
in interface AmazonCodeGuruReviewer
public DescribeRepositoryAssociationResult describeRepositoryAssociation(DescribeRepositoryAssociationRequest request)
AmazonCodeGuruReviewer
Returns a
RepositoryAssociation
object that contains information about the requested repository
association.
describeRepositoryAssociation
in interface AmazonCodeGuruReviewer
public DisassociateRepositoryResult disassociateRepository(DisassociateRepositoryRequest request)
AmazonCodeGuruReviewer
Removes the association between Amazon CodeGuru Reviewer and a repository.
disassociateRepository
in interface AmazonCodeGuruReviewer
public ListCodeReviewsResult listCodeReviews(ListCodeReviewsRequest request)
AmazonCodeGuruReviewer
Lists all the code reviews that the customer has created in the past 90 days.
listCodeReviews
in interface AmazonCodeGuruReviewer
public ListRecommendationFeedbackResult listRecommendationFeedback(ListRecommendationFeedbackRequest request)
AmazonCodeGuruReviewer
Returns a list of
RecommendationFeedbackSummary
objects that contain customer recommendation feedback for all
CodeGuru Reviewer users.
listRecommendationFeedback
in interface AmazonCodeGuruReviewer
public ListRecommendationsResult listRecommendations(ListRecommendationsRequest request)
AmazonCodeGuruReviewer
Returns the list of all recommendations for a completed code review.
listRecommendations
in interface AmazonCodeGuruReviewer
public ListRepositoryAssociationsResult listRepositoryAssociations(ListRepositoryAssociationsRequest request)
AmazonCodeGuruReviewer
Returns a list of
RepositoryAssociationSummary
objects that contain summary information about a repository
association. You can filter the returned list by ProviderType
, Name
, State
, and Owner
.
listRepositoryAssociations
in interface AmazonCodeGuruReviewer
public PutRecommendationFeedbackResult putRecommendationFeedback(PutRecommendationFeedbackRequest request)
AmazonCodeGuruReviewer
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
public void shutdown()
AmazonCodeGuruReviewer
shutdown
in interface AmazonCodeGuruReviewer
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonCodeGuruReviewer
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 a request.
getCachedResponseMetadata
in interface AmazonCodeGuruReviewer
request
- The originally executed request.