@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonCodeGuruReviewerAsync extends AmazonCodeGuruReviewer
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonCodeGuruReviewerAsync
instead.
This section provides documentation for the Amazon CodeGuru Reviewer API operations. Amazon CodeGuru Reviewer is a service that uses program analysis and machine learning to detect potential defects that are difficult for developers to find and recommends fixes in your Java code.
By proactively detecting and providing recommendations for addressing code defects and implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of your code base during the code review stage. For more information about CodeGuru Reviewer, see the Amazon CodeGuru Reviewer User Guide.
ENDPOINT_PREFIX
associateRepository, describeCodeReview, describeRecommendationFeedback, describeRepositoryAssociation, disassociateRepository, getCachedResponseMetadata, listCodeReviews, listRecommendationFeedback, listRecommendations, listRepositoryAssociations, putRecommendationFeedback, shutdown
Future<AssociateRepositoryResult> associateRepositoryAsync(AssociateRepositoryRequest associateRepositoryRequest)
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.
associateRepositoryRequest
- Future<AssociateRepositoryResult> associateRepositoryAsync(AssociateRepositoryRequest associateRepositoryRequest, AsyncHandler<AssociateRepositoryRequest,AssociateRepositoryResult> asyncHandler)
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.
associateRepositoryRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeCodeReviewResult> describeCodeReviewAsync(DescribeCodeReviewRequest describeCodeReviewRequest)
Returns the metadaata associated with the code review along with its status.
describeCodeReviewRequest
- Future<DescribeCodeReviewResult> describeCodeReviewAsync(DescribeCodeReviewRequest describeCodeReviewRequest, AsyncHandler<DescribeCodeReviewRequest,DescribeCodeReviewResult> asyncHandler)
Returns the metadaata associated with the code review along with its status.
describeCodeReviewRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeRecommendationFeedbackResult> describeRecommendationFeedbackAsync(DescribeRecommendationFeedbackRequest describeRecommendationFeedbackRequest)
Describes the customer feedback for a CodeGuru Reviewer recommendation.
describeRecommendationFeedbackRequest
- Future<DescribeRecommendationFeedbackResult> describeRecommendationFeedbackAsync(DescribeRecommendationFeedbackRequest describeRecommendationFeedbackRequest, AsyncHandler<DescribeRecommendationFeedbackRequest,DescribeRecommendationFeedbackResult> asyncHandler)
Describes the customer feedback for a CodeGuru Reviewer recommendation.
describeRecommendationFeedbackRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeRepositoryAssociationResult> describeRepositoryAssociationAsync(DescribeRepositoryAssociationRequest describeRepositoryAssociationRequest)
Describes a repository association.
describeRepositoryAssociationRequest
- Future<DescribeRepositoryAssociationResult> describeRepositoryAssociationAsync(DescribeRepositoryAssociationRequest describeRepositoryAssociationRequest, AsyncHandler<DescribeRepositoryAssociationRequest,DescribeRepositoryAssociationResult> asyncHandler)
Describes a repository association.
describeRepositoryAssociationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DisassociateRepositoryResult> disassociateRepositoryAsync(DisassociateRepositoryRequest disassociateRepositoryRequest)
Removes the association between Amazon CodeGuru Reviewer and a repository.
disassociateRepositoryRequest
- Future<DisassociateRepositoryResult> disassociateRepositoryAsync(DisassociateRepositoryRequest disassociateRepositoryRequest, AsyncHandler<DisassociateRepositoryRequest,DisassociateRepositoryResult> asyncHandler)
Removes the association between Amazon CodeGuru Reviewer and a repository.
disassociateRepositoryRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListCodeReviewsResult> listCodeReviewsAsync(ListCodeReviewsRequest listCodeReviewsRequest)
Lists all the code reviews that the customer has created in the past 90 days.
listCodeReviewsRequest
- Future<ListCodeReviewsResult> listCodeReviewsAsync(ListCodeReviewsRequest listCodeReviewsRequest, AsyncHandler<ListCodeReviewsRequest,ListCodeReviewsResult> asyncHandler)
Lists all the code reviews that the customer has created in the past 90 days.
listCodeReviewsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListRecommendationFeedbackResult> listRecommendationFeedbackAsync(ListRecommendationFeedbackRequest listRecommendationFeedbackRequest)
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.
listRecommendationFeedbackRequest
- Future<ListRecommendationFeedbackResult> listRecommendationFeedbackAsync(ListRecommendationFeedbackRequest listRecommendationFeedbackRequest, AsyncHandler<ListRecommendationFeedbackRequest,ListRecommendationFeedbackResult> asyncHandler)
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.
listRecommendationFeedbackRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListRecommendationsResult> listRecommendationsAsync(ListRecommendationsRequest listRecommendationsRequest)
Returns the list of all recommendations for a completed code review.
listRecommendationsRequest
- Future<ListRecommendationsResult> listRecommendationsAsync(ListRecommendationsRequest listRecommendationsRequest, AsyncHandler<ListRecommendationsRequest,ListRecommendationsResult> asyncHandler)
Returns the list of all recommendations for a completed code review.
listRecommendationsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListRepositoryAssociationsResult> listRepositoryAssociationsAsync(ListRepositoryAssociationsRequest listRepositoryAssociationsRequest)
Lists repository associations. You can optionally filter on one or more of the following recommendation properties: provider types, states, names, and owners.
listRepositoryAssociationsRequest
- Future<ListRepositoryAssociationsResult> listRepositoryAssociationsAsync(ListRepositoryAssociationsRequest listRepositoryAssociationsRequest, AsyncHandler<ListRepositoryAssociationsRequest,ListRepositoryAssociationsResult> asyncHandler)
Lists repository associations. You can optionally filter on one or more of the following recommendation properties: provider types, states, names, and owners.
listRepositoryAssociationsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<PutRecommendationFeedbackResult> putRecommendationFeedbackAsync(PutRecommendationFeedbackRequest putRecommendationFeedbackRequest)
Stores customer feedback for a CodeGuru-Reviewer recommendation. When this API is called again with different reactions the previous feedback is overwritten.
putRecommendationFeedbackRequest
- Future<PutRecommendationFeedbackResult> putRecommendationFeedbackAsync(PutRecommendationFeedbackRequest putRecommendationFeedbackRequest, AsyncHandler<PutRecommendationFeedbackRequest,PutRecommendationFeedbackResult> asyncHandler)
Stores customer feedback for a CodeGuru-Reviewer recommendation. When this API is called again with different reactions the previous feedback is overwritten.
putRecommendationFeedbackRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.