@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonCodeGuruReviewerAsyncClient extends AmazonCodeGuruReviewerClient implements AmazonCodeGuruReviewerAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
associateRepository, builder, describeCodeReview, describeRecommendationFeedback, describeRepositoryAssociation, disassociateRepository, getCachedResponseMetadata, listCodeReviews, listRecommendationFeedback, listRecommendations, listRepositoryAssociations, putRecommendationFeedback
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateRepository, describeCodeReview, describeRecommendationFeedback, describeRepositoryAssociation, disassociateRepository, getCachedResponseMetadata, listCodeReviews, listRecommendationFeedback, listRecommendations, listRepositoryAssociations, putRecommendationFeedback
public static AmazonCodeGuruReviewerAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateRepositoryResult> associateRepositoryAsync(AssociateRepositoryRequest request)
AmazonCodeGuruReviewerAsync
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.
associateRepositoryAsync
in interface AmazonCodeGuruReviewerAsync
public Future<AssociateRepositoryResult> associateRepositoryAsync(AssociateRepositoryRequest request, AsyncHandler<AssociateRepositoryRequest,AssociateRepositoryResult> asyncHandler)
AmazonCodeGuruReviewerAsync
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.
associateRepositoryAsync
in interface AmazonCodeGuruReviewerAsync
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.public Future<DescribeCodeReviewResult> describeCodeReviewAsync(DescribeCodeReviewRequest request)
AmazonCodeGuruReviewerAsync
Returns the metadaata associated with the code review along with its status.
describeCodeReviewAsync
in interface AmazonCodeGuruReviewerAsync
public Future<DescribeCodeReviewResult> describeCodeReviewAsync(DescribeCodeReviewRequest request, AsyncHandler<DescribeCodeReviewRequest,DescribeCodeReviewResult> asyncHandler)
AmazonCodeGuruReviewerAsync
Returns the metadaata associated with the code review along with its status.
describeCodeReviewAsync
in interface AmazonCodeGuruReviewerAsync
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.public Future<DescribeRecommendationFeedbackResult> describeRecommendationFeedbackAsync(DescribeRecommendationFeedbackRequest request)
AmazonCodeGuruReviewerAsync
Describes the customer feedback for a CodeGuru Reviewer recommendation.
describeRecommendationFeedbackAsync
in interface AmazonCodeGuruReviewerAsync
public Future<DescribeRecommendationFeedbackResult> describeRecommendationFeedbackAsync(DescribeRecommendationFeedbackRequest request, AsyncHandler<DescribeRecommendationFeedbackRequest,DescribeRecommendationFeedbackResult> asyncHandler)
AmazonCodeGuruReviewerAsync
Describes the customer feedback for a CodeGuru Reviewer recommendation.
describeRecommendationFeedbackAsync
in interface AmazonCodeGuruReviewerAsync
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.public Future<DescribeRepositoryAssociationResult> describeRepositoryAssociationAsync(DescribeRepositoryAssociationRequest request)
AmazonCodeGuruReviewerAsync
Describes a repository association.
describeRepositoryAssociationAsync
in interface AmazonCodeGuruReviewerAsync
public Future<DescribeRepositoryAssociationResult> describeRepositoryAssociationAsync(DescribeRepositoryAssociationRequest request, AsyncHandler<DescribeRepositoryAssociationRequest,DescribeRepositoryAssociationResult> asyncHandler)
AmazonCodeGuruReviewerAsync
Describes a repository association.
describeRepositoryAssociationAsync
in interface AmazonCodeGuruReviewerAsync
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.public Future<DisassociateRepositoryResult> disassociateRepositoryAsync(DisassociateRepositoryRequest request)
AmazonCodeGuruReviewerAsync
Removes the association between Amazon CodeGuru Reviewer and a repository.
disassociateRepositoryAsync
in interface AmazonCodeGuruReviewerAsync
public Future<DisassociateRepositoryResult> disassociateRepositoryAsync(DisassociateRepositoryRequest request, AsyncHandler<DisassociateRepositoryRequest,DisassociateRepositoryResult> asyncHandler)
AmazonCodeGuruReviewerAsync
Removes the association between Amazon CodeGuru Reviewer and a repository.
disassociateRepositoryAsync
in interface AmazonCodeGuruReviewerAsync
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.public Future<ListCodeReviewsResult> listCodeReviewsAsync(ListCodeReviewsRequest request)
AmazonCodeGuruReviewerAsync
Lists all the code reviews that the customer has created in the past 90 days.
listCodeReviewsAsync
in interface AmazonCodeGuruReviewerAsync
public Future<ListCodeReviewsResult> listCodeReviewsAsync(ListCodeReviewsRequest request, AsyncHandler<ListCodeReviewsRequest,ListCodeReviewsResult> asyncHandler)
AmazonCodeGuruReviewerAsync
Lists all the code reviews that the customer has created in the past 90 days.
listCodeReviewsAsync
in interface AmazonCodeGuruReviewerAsync
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.public Future<ListRecommendationFeedbackResult> listRecommendationFeedbackAsync(ListRecommendationFeedbackRequest request)
AmazonCodeGuruReviewerAsync
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.
listRecommendationFeedbackAsync
in interface AmazonCodeGuruReviewerAsync
public Future<ListRecommendationFeedbackResult> listRecommendationFeedbackAsync(ListRecommendationFeedbackRequest request, AsyncHandler<ListRecommendationFeedbackRequest,ListRecommendationFeedbackResult> asyncHandler)
AmazonCodeGuruReviewerAsync
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.
listRecommendationFeedbackAsync
in interface AmazonCodeGuruReviewerAsync
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.public Future<ListRecommendationsResult> listRecommendationsAsync(ListRecommendationsRequest request)
AmazonCodeGuruReviewerAsync
Returns the list of all recommendations for a completed code review.
listRecommendationsAsync
in interface AmazonCodeGuruReviewerAsync
public Future<ListRecommendationsResult> listRecommendationsAsync(ListRecommendationsRequest request, AsyncHandler<ListRecommendationsRequest,ListRecommendationsResult> asyncHandler)
AmazonCodeGuruReviewerAsync
Returns the list of all recommendations for a completed code review.
listRecommendationsAsync
in interface AmazonCodeGuruReviewerAsync
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.public Future<ListRepositoryAssociationsResult> listRepositoryAssociationsAsync(ListRepositoryAssociationsRequest request)
AmazonCodeGuruReviewerAsync
Lists repository associations. You can optionally filter on one or more of the following recommendation properties: provider types, states, names, and owners.
listRepositoryAssociationsAsync
in interface AmazonCodeGuruReviewerAsync
public Future<ListRepositoryAssociationsResult> listRepositoryAssociationsAsync(ListRepositoryAssociationsRequest request, AsyncHandler<ListRepositoryAssociationsRequest,ListRepositoryAssociationsResult> asyncHandler)
AmazonCodeGuruReviewerAsync
Lists repository associations. You can optionally filter on one or more of the following recommendation properties: provider types, states, names, and owners.
listRepositoryAssociationsAsync
in interface AmazonCodeGuruReviewerAsync
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.public Future<PutRecommendationFeedbackResult> putRecommendationFeedbackAsync(PutRecommendationFeedbackRequest request)
AmazonCodeGuruReviewerAsync
Stores customer feedback for a CodeGuru-Reviewer recommendation. When this API is called again with different reactions the previous feedback is overwritten.
putRecommendationFeedbackAsync
in interface AmazonCodeGuruReviewerAsync
public Future<PutRecommendationFeedbackResult> putRecommendationFeedbackAsync(PutRecommendationFeedbackRequest request, AsyncHandler<PutRecommendationFeedbackRequest,PutRecommendationFeedbackResult> asyncHandler)
AmazonCodeGuruReviewerAsync
Stores customer feedback for a CodeGuru-Reviewer recommendation. When this API is called again with different reactions the previous feedback is overwritten.
putRecommendationFeedbackAsync
in interface AmazonCodeGuruReviewerAsync
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.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonCodeGuruReviewer
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.