@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonCodeGuruReviewerAsync extends AbstractAmazonCodeGuruReviewer implements AmazonCodeGuruReviewerAsync
AmazonCodeGuruReviewerAsync
. Convenient method forms pass through to the
corresponding overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
associateRepository, createCodeReview, describeCodeReview, describeRecommendationFeedback, describeRepositoryAssociation, disassociateRepository, getCachedResponseMetadata, listCodeReviews, listRecommendationFeedback, listRecommendations, listRepositoryAssociations, putRecommendationFeedback, shutdown
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateRepository, createCodeReview, describeCodeReview, describeRecommendationFeedback, describeRepositoryAssociation, disassociateRepository, getCachedResponseMetadata, listCodeReviews, listRecommendationFeedback, listRecommendations, listRepositoryAssociations, putRecommendationFeedback, shutdown
public Future<AssociateRepositoryResult> associateRepositoryAsync(AssociateRepositoryRequest request)
AmazonCodeGuruReviewerAsync
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.
associateRepositoryAsync
in interface AmazonCodeGuruReviewerAsync
public Future<AssociateRepositoryResult> associateRepositoryAsync(AssociateRepositoryRequest request, AsyncHandler<AssociateRepositoryRequest,AssociateRepositoryResult> asyncHandler)
AmazonCodeGuruReviewerAsync
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.
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<CreateCodeReviewResult> createCodeReviewAsync(CreateCodeReviewRequest request)
AmazonCodeGuruReviewerAsync
Use to create a code review for a repository analysis.
createCodeReviewAsync
in interface AmazonCodeGuruReviewerAsync
public Future<CreateCodeReviewResult> createCodeReviewAsync(CreateCodeReviewRequest request, AsyncHandler<CreateCodeReviewRequest,CreateCodeReviewResult> asyncHandler)
AmazonCodeGuruReviewerAsync
Use to create a code review for a repository analysis.
createCodeReviewAsync
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 metadata 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 metadata 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
Returns a
RepositoryAssociation
object that contains information about the requested repository
association.
describeRepositoryAssociationAsync
in interface AmazonCodeGuruReviewerAsync
public Future<DescribeRepositoryAssociationResult> describeRepositoryAssociationAsync(DescribeRepositoryAssociationRequest request, AsyncHandler<DescribeRepositoryAssociationRequest,DescribeRepositoryAssociationResult> asyncHandler)
AmazonCodeGuruReviewerAsync
Returns a
RepositoryAssociation
object that contains information about the requested 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
Returns a list of
RecommendationFeedbackSummary
objects that contain customer recommendation feedback for all
CodeGuru Reviewer users.
listRecommendationFeedbackAsync
in interface AmazonCodeGuruReviewerAsync
public Future<ListRecommendationFeedbackResult> listRecommendationFeedbackAsync(ListRecommendationFeedbackRequest request, AsyncHandler<ListRecommendationFeedbackRequest,ListRecommendationFeedbackResult> asyncHandler)
AmazonCodeGuruReviewerAsync
Returns a list of
RecommendationFeedbackSummary
objects that contain customer recommendation feedback for all
CodeGuru Reviewer users.
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
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
.
listRepositoryAssociationsAsync
in interface AmazonCodeGuruReviewerAsync
public Future<ListRepositoryAssociationsResult> listRepositoryAssociationsAsync(ListRepositoryAssociationsRequest request, AsyncHandler<ListRepositoryAssociationsRequest,ListRepositoryAssociationsResult> asyncHandler)
AmazonCodeGuruReviewerAsync
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
.
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.