@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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
associateRepository, builder, describeRepositoryAssociation, disassociateRepository, getCachedResponseMetadata, listRepositoryAssociations
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, describeRepositoryAssociation, disassociateRepository, getCachedResponseMetadata, listRepositoryAssociations
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. 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. 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<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<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 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.