@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 Amazon Web Services CodeCommit repository or a repository managed by Amazon Web Services
CodeStar Connections with Amazon CodeGuru Reviewer.
|
CreateCodeReviewResult |
createCodeReview(CreateCodeReviewRequest request)
Use to create a code review with a CodeReviewType of
RepositoryAnalysis . |
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.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Returns the list of tags associated with an associated repository resource.
|
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.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds one or more tags to an associated repository.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes a tag from an associated repository.
|
AmazonCodeGuruReviewerWaiters |
waiters() |
public AssociateRepositoryResult associateRepository(AssociateRepositoryRequest request)
AmazonCodeGuruReviewer
Use to associate an Amazon Web Services CodeCommit repository or a repository managed by Amazon Web Services CodeStar Connections with Amazon CodeGuru Reviewer. When you associate a repository, CodeGuru Reviewer reviews source code changes in the repository's pull requests and provides automatic recommendations. You can view recommendations using the CodeGuru Reviewer console. For more information, see Recommendations in Amazon CodeGuru Reviewer in the Amazon CodeGuru Reviewer User Guide.
If you associate a CodeCommit or S3 repository, it must be in the same Amazon Web Services Region and Amazon Web Services account where its CodeGuru Reviewer code reviews are configured.
Bitbucket and GitHub Enterprise Server repositories are managed by Amazon Web Services CodeStar Connections to connect to CodeGuru Reviewer. For more information, see Associate a repository in the Amazon CodeGuru Reviewer User Guide.
You cannot use the CodeGuru Reviewer SDK or the Amazon Web Services CLI to associate a GitHub repository with Amazon CodeGuru Reviewer. To associate a GitHub repository, use the console. For more information, see Getting started with CodeGuru Reviewer in the CodeGuru Reviewer User Guide.
associateRepository
in interface AmazonCodeGuruReviewer
public CreateCodeReviewResult createCodeReview(CreateCodeReviewRequest request)
AmazonCodeGuruReviewer
Use to create a code review with a CodeReviewType 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.
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 ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonCodeGuruReviewer
Returns the list of tags associated with an associated repository resource.
listTagsForResource
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 TagResourceResult tagResource(TagResourceRequest request)
AmazonCodeGuruReviewer
Adds one or more tags to an associated repository.
tagResource
in interface AmazonCodeGuruReviewer
public UntagResourceResult untagResource(UntagResourceRequest request)
AmazonCodeGuruReviewer
Removes a tag from an associated repository.
untagResource
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.public AmazonCodeGuruReviewerWaiters waiters()
waiters
in interface AmazonCodeGuruReviewer