All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.codegurureviewer.CodeGuruReviewerAsyncClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for CodeGuru Reviewer module holds the client classes that are used for communicating with CodeGuru Reviewer.

There is a newer version: 2.29.39
Show newest version
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.codegurureviewer;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.codegurureviewer.model.AssociateRepositoryRequest;
import software.amazon.awssdk.services.codegurureviewer.model.AssociateRepositoryResponse;
import software.amazon.awssdk.services.codegurureviewer.model.CreateCodeReviewRequest;
import software.amazon.awssdk.services.codegurureviewer.model.CreateCodeReviewResponse;
import software.amazon.awssdk.services.codegurureviewer.model.DescribeCodeReviewRequest;
import software.amazon.awssdk.services.codegurureviewer.model.DescribeCodeReviewResponse;
import software.amazon.awssdk.services.codegurureviewer.model.DescribeRecommendationFeedbackRequest;
import software.amazon.awssdk.services.codegurureviewer.model.DescribeRecommendationFeedbackResponse;
import software.amazon.awssdk.services.codegurureviewer.model.DescribeRepositoryAssociationRequest;
import software.amazon.awssdk.services.codegurureviewer.model.DescribeRepositoryAssociationResponse;
import software.amazon.awssdk.services.codegurureviewer.model.DisassociateRepositoryRequest;
import software.amazon.awssdk.services.codegurureviewer.model.DisassociateRepositoryResponse;
import software.amazon.awssdk.services.codegurureviewer.model.ListCodeReviewsRequest;
import software.amazon.awssdk.services.codegurureviewer.model.ListCodeReviewsResponse;
import software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationFeedbackRequest;
import software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationFeedbackResponse;
import software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationsRequest;
import software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationsResponse;
import software.amazon.awssdk.services.codegurureviewer.model.ListRepositoryAssociationsRequest;
import software.amazon.awssdk.services.codegurureviewer.model.ListRepositoryAssociationsResponse;
import software.amazon.awssdk.services.codegurureviewer.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.codegurureviewer.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.codegurureviewer.model.PutRecommendationFeedbackRequest;
import software.amazon.awssdk.services.codegurureviewer.model.PutRecommendationFeedbackResponse;
import software.amazon.awssdk.services.codegurureviewer.model.TagResourceRequest;
import software.amazon.awssdk.services.codegurureviewer.model.TagResourceResponse;
import software.amazon.awssdk.services.codegurureviewer.model.UntagResourceRequest;
import software.amazon.awssdk.services.codegurureviewer.model.UntagResourceResponse;
import software.amazon.awssdk.services.codegurureviewer.paginators.ListCodeReviewsPublisher;
import software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationFeedbackPublisher;
import software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationsPublisher;
import software.amazon.awssdk.services.codegurureviewer.paginators.ListRepositoryAssociationsPublisher;
import software.amazon.awssdk.services.codegurureviewer.waiters.CodeGuruReviewerAsyncWaiter;

/**
 * Service client for accessing CodeGuruReviewer asynchronously. This can be created using the static {@link #builder()}
 * method.
 *
 * 

* This section provides documentation for the Amazon CodeGuru Reviewer API operations. 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 and Python 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. *

*

* To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection between your VPC * and CodeGuru Reviewer by creating an interface VPC endpoint. For more information, see CodeGuru Reviewer and * interface VPC endpoints (Amazon Web Services PrivateLink) in the Amazon CodeGuru Reviewer User Guide. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface CodeGuruReviewerAsyncClient extends AwsClient { String SERVICE_NAME = "codeguru-reviewer"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "codeguru-reviewer"; /** *

* 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. *

*
* * @param associateRepositoryRequest * @return A Java Future containing the result of the AssociateRepository operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ConflictException The requested operation would cause a conflict with the current state of a service * resource associated with the request. Resolve the conflict before retrying this request.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.AssociateRepository * @see AWS API Documentation */ default CompletableFuture associateRepository( AssociateRepositoryRequest associateRepositoryRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*

* This is a convenience which creates an instance of the {@link AssociateRepositoryRequest.Builder} avoiding the * need to create one manually via {@link AssociateRepositoryRequest#builder()} *

* * @param associateRepositoryRequest * A {@link Consumer} that will call methods on {@link AssociateRepositoryRequest.Builder} to create a * request. * @return A Java Future containing the result of the AssociateRepository operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ConflictException The requested operation would cause a conflict with the current state of a service * resource associated with the request. Resolve the conflict before retrying this request.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.AssociateRepository * @see AWS API Documentation */ default CompletableFuture associateRepository( Consumer associateRepositoryRequest) { return associateRepository(AssociateRepositoryRequest.builder().applyMutation(associateRepositoryRequest).build()); } /** *

* 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. *

* * @param createCodeReviewRequest * @return A Java Future containing the result of the CreateCodeReview operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ConflictException The requested operation would cause a conflict with the current state of a service * resource associated with the request. Resolve the conflict before retrying this request.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.CreateCodeReview * @see AWS API Documentation */ default CompletableFuture createCodeReview(CreateCodeReviewRequest createCodeReviewRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CreateCodeReviewRequest.Builder} avoiding the need * to create one manually via {@link CreateCodeReviewRequest#builder()} *

* * @param createCodeReviewRequest * A {@link Consumer} that will call methods on {@link CreateCodeReviewRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateCodeReview operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ConflictException The requested operation would cause a conflict with the current state of a service * resource associated with the request. Resolve the conflict before retrying this request.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.CreateCodeReview * @see AWS API Documentation */ default CompletableFuture createCodeReview( Consumer createCodeReviewRequest) { return createCodeReview(CreateCodeReviewRequest.builder().applyMutation(createCodeReviewRequest).build()); } /** *

* Returns the metadata associated with the code review along with its status. *

* * @param describeCodeReviewRequest * @return A Java Future containing the result of the DescribeCodeReview operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.DescribeCodeReview * @see AWS API Documentation */ default CompletableFuture describeCodeReview(DescribeCodeReviewRequest describeCodeReviewRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the metadata associated with the code review along with its status. *

*
*

* This is a convenience which creates an instance of the {@link DescribeCodeReviewRequest.Builder} avoiding the * need to create one manually via {@link DescribeCodeReviewRequest#builder()} *

* * @param describeCodeReviewRequest * A {@link Consumer} that will call methods on {@link DescribeCodeReviewRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeCodeReview operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.DescribeCodeReview * @see AWS API Documentation */ default CompletableFuture describeCodeReview( Consumer describeCodeReviewRequest) { return describeCodeReview(DescribeCodeReviewRequest.builder().applyMutation(describeCodeReviewRequest).build()); } /** *

* Describes the customer feedback for a CodeGuru Reviewer recommendation. *

* * @param describeRecommendationFeedbackRequest * @return A Java Future containing the result of the DescribeRecommendationFeedback operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.DescribeRecommendationFeedback * @see AWS API Documentation */ default CompletableFuture describeRecommendationFeedback( DescribeRecommendationFeedbackRequest describeRecommendationFeedbackRequest) { throw new UnsupportedOperationException(); } /** *

* Describes the customer feedback for a CodeGuru Reviewer recommendation. *

*
*

* This is a convenience which creates an instance of the {@link DescribeRecommendationFeedbackRequest.Builder} * avoiding the need to create one manually via {@link DescribeRecommendationFeedbackRequest#builder()} *

* * @param describeRecommendationFeedbackRequest * A {@link Consumer} that will call methods on {@link DescribeRecommendationFeedbackRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeRecommendationFeedback operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.DescribeRecommendationFeedback * @see AWS API Documentation */ default CompletableFuture describeRecommendationFeedback( Consumer describeRecommendationFeedbackRequest) { return describeRecommendationFeedback(DescribeRecommendationFeedbackRequest.builder() .applyMutation(describeRecommendationFeedbackRequest).build()); } /** *

* Returns a * RepositoryAssociation object that contains information about the requested repository association. *

* * @param describeRepositoryAssociationRequest * @return A Java Future containing the result of the DescribeRepositoryAssociation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.DescribeRepositoryAssociation * @see AWS API Documentation */ default CompletableFuture describeRepositoryAssociation( DescribeRepositoryAssociationRequest describeRepositoryAssociationRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a * RepositoryAssociation object that contains information about the requested repository association. *

*
*

* This is a convenience which creates an instance of the {@link DescribeRepositoryAssociationRequest.Builder} * avoiding the need to create one manually via {@link DescribeRepositoryAssociationRequest#builder()} *

* * @param describeRepositoryAssociationRequest * A {@link Consumer} that will call methods on {@link DescribeRepositoryAssociationRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeRepositoryAssociation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.DescribeRepositoryAssociation * @see AWS API Documentation */ default CompletableFuture describeRepositoryAssociation( Consumer describeRepositoryAssociationRequest) { return describeRepositoryAssociation(DescribeRepositoryAssociationRequest.builder() .applyMutation(describeRepositoryAssociationRequest).build()); } /** *

* Removes the association between Amazon CodeGuru Reviewer and a repository. *

* * @param disassociateRepositoryRequest * @return A Java Future containing the result of the DisassociateRepository operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ConflictException The requested operation would cause a conflict with the current state of a service * resource associated with the request. Resolve the conflict before retrying this request.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.DisassociateRepository * @see AWS API Documentation */ default CompletableFuture disassociateRepository( DisassociateRepositoryRequest disassociateRepositoryRequest) { throw new UnsupportedOperationException(); } /** *

* Removes the association between Amazon CodeGuru Reviewer and a repository. *

*
*

* This is a convenience which creates an instance of the {@link DisassociateRepositoryRequest.Builder} avoiding the * need to create one manually via {@link DisassociateRepositoryRequest#builder()} *

* * @param disassociateRepositoryRequest * A {@link Consumer} that will call methods on {@link DisassociateRepositoryRequest.Builder} to create a * request. * @return A Java Future containing the result of the DisassociateRepository operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ConflictException The requested operation would cause a conflict with the current state of a service * resource associated with the request. Resolve the conflict before retrying this request.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.DisassociateRepository * @see AWS API Documentation */ default CompletableFuture disassociateRepository( Consumer disassociateRepositoryRequest) { return disassociateRepository(DisassociateRepositoryRequest.builder().applyMutation(disassociateRepositoryRequest) .build()); } /** *

* Lists all the code reviews that the customer has created in the past 90 days. *

* * @param listCodeReviewsRequest * @return A Java Future containing the result of the ListCodeReviews operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListCodeReviews * @see AWS API Documentation */ default CompletableFuture listCodeReviews(ListCodeReviewsRequest listCodeReviewsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists all the code reviews that the customer has created in the past 90 days. *

*
*

* This is a convenience which creates an instance of the {@link ListCodeReviewsRequest.Builder} avoiding the need * to create one manually via {@link ListCodeReviewsRequest#builder()} *

* * @param listCodeReviewsRequest * A {@link Consumer} that will call methods on {@link ListCodeReviewsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListCodeReviews operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListCodeReviews * @see AWS API Documentation */ default CompletableFuture listCodeReviews( Consumer listCodeReviewsRequest) { return listCodeReviews(ListCodeReviewsRequest.builder().applyMutation(listCodeReviewsRequest).build()); } /** *

* Lists all the code reviews that the customer has created in the past 90 days. *

*
*

* This is a variant of * {@link #listCodeReviews(software.amazon.awssdk.services.codegurureviewer.model.ListCodeReviewsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListCodeReviewsPublisher publisher = client.listCodeReviewsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListCodeReviewsPublisher publisher = client.listCodeReviewsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codegurureviewer.model.ListCodeReviewsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listCodeReviews(software.amazon.awssdk.services.codegurureviewer.model.ListCodeReviewsRequest)} * operation. *

* * @param listCodeReviewsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListCodeReviews * @see AWS API Documentation */ default ListCodeReviewsPublisher listCodeReviewsPaginator(ListCodeReviewsRequest listCodeReviewsRequest) { return new ListCodeReviewsPublisher(this, listCodeReviewsRequest); } /** *

* Lists all the code reviews that the customer has created in the past 90 days. *

*
*

* This is a variant of * {@link #listCodeReviews(software.amazon.awssdk.services.codegurureviewer.model.ListCodeReviewsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListCodeReviewsPublisher publisher = client.listCodeReviewsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListCodeReviewsPublisher publisher = client.listCodeReviewsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codegurureviewer.model.ListCodeReviewsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listCodeReviews(software.amazon.awssdk.services.codegurureviewer.model.ListCodeReviewsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListCodeReviewsRequest.Builder} avoiding the need * to create one manually via {@link ListCodeReviewsRequest#builder()} *

* * @param listCodeReviewsRequest * A {@link Consumer} that will call methods on {@link ListCodeReviewsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListCodeReviews * @see AWS API Documentation */ default ListCodeReviewsPublisher listCodeReviewsPaginator(Consumer listCodeReviewsRequest) { return listCodeReviewsPaginator(ListCodeReviewsRequest.builder().applyMutation(listCodeReviewsRequest).build()); } /** *

* Returns a list of RecommendationFeedbackSummary objects that contain customer recommendation feedback for all CodeGuru * Reviewer users. *

* * @param listRecommendationFeedbackRequest * @return A Java Future containing the result of the ListRecommendationFeedback operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListRecommendationFeedback * @see AWS API Documentation */ default CompletableFuture listRecommendationFeedback( ListRecommendationFeedbackRequest listRecommendationFeedbackRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of RecommendationFeedbackSummary objects that contain customer recommendation feedback for all CodeGuru * Reviewer users. *

*
*

* This is a convenience which creates an instance of the {@link ListRecommendationFeedbackRequest.Builder} avoiding * the need to create one manually via {@link ListRecommendationFeedbackRequest#builder()} *

* * @param listRecommendationFeedbackRequest * A {@link Consumer} that will call methods on {@link ListRecommendationFeedbackRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListRecommendationFeedback operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListRecommendationFeedback * @see AWS API Documentation */ default CompletableFuture listRecommendationFeedback( Consumer listRecommendationFeedbackRequest) { return listRecommendationFeedback(ListRecommendationFeedbackRequest.builder() .applyMutation(listRecommendationFeedbackRequest).build()); } /** *

* Returns a list of RecommendationFeedbackSummary objects that contain customer recommendation feedback for all CodeGuru * Reviewer users. *

*
*

* This is a variant of * {@link #listRecommendationFeedback(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationFeedbackRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationFeedbackPublisher publisher = client.listRecommendationFeedbackPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationFeedbackPublisher publisher = client.listRecommendationFeedbackPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationFeedbackResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRecommendationFeedback(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationFeedbackRequest)} * operation. *

* * @param listRecommendationFeedbackRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListRecommendationFeedback * @see AWS API Documentation */ default ListRecommendationFeedbackPublisher listRecommendationFeedbackPaginator( ListRecommendationFeedbackRequest listRecommendationFeedbackRequest) { return new ListRecommendationFeedbackPublisher(this, listRecommendationFeedbackRequest); } /** *

* Returns a list of RecommendationFeedbackSummary objects that contain customer recommendation feedback for all CodeGuru * Reviewer users. *

*
*

* This is a variant of * {@link #listRecommendationFeedback(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationFeedbackRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationFeedbackPublisher publisher = client.listRecommendationFeedbackPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationFeedbackPublisher publisher = client.listRecommendationFeedbackPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationFeedbackResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRecommendationFeedback(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationFeedbackRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListRecommendationFeedbackRequest.Builder} avoiding * the need to create one manually via {@link ListRecommendationFeedbackRequest#builder()} *

* * @param listRecommendationFeedbackRequest * A {@link Consumer} that will call methods on {@link ListRecommendationFeedbackRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListRecommendationFeedback * @see AWS API Documentation */ default ListRecommendationFeedbackPublisher listRecommendationFeedbackPaginator( Consumer listRecommendationFeedbackRequest) { return listRecommendationFeedbackPaginator(ListRecommendationFeedbackRequest.builder() .applyMutation(listRecommendationFeedbackRequest).build()); } /** *

* Returns the list of all recommendations for a completed code review. *

* * @param listRecommendationsRequest * @return A Java Future containing the result of the ListRecommendations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListRecommendations * @see AWS API Documentation */ default CompletableFuture listRecommendations( ListRecommendationsRequest listRecommendationsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the list of all recommendations for a completed code review. *

*
*

* This is a convenience which creates an instance of the {@link ListRecommendationsRequest.Builder} avoiding the * need to create one manually via {@link ListRecommendationsRequest#builder()} *

* * @param listRecommendationsRequest * A {@link Consumer} that will call methods on {@link ListRecommendationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListRecommendations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListRecommendations * @see AWS API Documentation */ default CompletableFuture listRecommendations( Consumer listRecommendationsRequest) { return listRecommendations(ListRecommendationsRequest.builder().applyMutation(listRecommendationsRequest).build()); } /** *

* Returns the list of all recommendations for a completed code review. *

*
*

* This is a variant of * {@link #listRecommendations(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRecommendations(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationsRequest)} * operation. *

* * @param listRecommendationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListRecommendations * @see AWS API Documentation */ default ListRecommendationsPublisher listRecommendationsPaginator(ListRecommendationsRequest listRecommendationsRequest) { return new ListRecommendationsPublisher(this, listRecommendationsRequest); } /** *

* Returns the list of all recommendations for a completed code review. *

*
*

* This is a variant of * {@link #listRecommendations(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRecommendations(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListRecommendationsRequest.Builder} avoiding the * need to create one manually via {@link ListRecommendationsRequest#builder()} *

* * @param listRecommendationsRequest * A {@link Consumer} that will call methods on {@link ListRecommendationsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListRecommendations * @see AWS API Documentation */ default ListRecommendationsPublisher listRecommendationsPaginator( Consumer listRecommendationsRequest) { return listRecommendationsPaginator(ListRecommendationsRequest.builder().applyMutation(listRecommendationsRequest) .build()); } /** *

* 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. *

* * @param listRepositoryAssociationsRequest * @return A Java Future containing the result of the ListRepositoryAssociations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListRepositoryAssociations * @see AWS API Documentation */ default CompletableFuture listRepositoryAssociations( ListRepositoryAssociationsRequest listRepositoryAssociationsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link ListRepositoryAssociationsRequest.Builder} avoiding * the need to create one manually via {@link ListRepositoryAssociationsRequest#builder()} *

* * @param listRepositoryAssociationsRequest * A {@link Consumer} that will call methods on {@link ListRepositoryAssociationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListRepositoryAssociations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListRepositoryAssociations * @see AWS API Documentation */ default CompletableFuture listRepositoryAssociations( Consumer listRepositoryAssociationsRequest) { return listRepositoryAssociations(ListRepositoryAssociationsRequest.builder() .applyMutation(listRepositoryAssociationsRequest).build()); } /** *

* 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. *

*
*

* This is a variant of * {@link #listRepositoryAssociations(software.amazon.awssdk.services.codegurureviewer.model.ListRepositoryAssociationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRepositoryAssociationsPublisher publisher = client.listRepositoryAssociationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRepositoryAssociationsPublisher publisher = client.listRepositoryAssociationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codegurureviewer.model.ListRepositoryAssociationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRepositoryAssociations(software.amazon.awssdk.services.codegurureviewer.model.ListRepositoryAssociationsRequest)} * operation. *

* * @param listRepositoryAssociationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListRepositoryAssociations * @see AWS API Documentation */ default ListRepositoryAssociationsPublisher listRepositoryAssociationsPaginator( ListRepositoryAssociationsRequest listRepositoryAssociationsRequest) { return new ListRepositoryAssociationsPublisher(this, listRepositoryAssociationsRequest); } /** *

* 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. *

*
*

* This is a variant of * {@link #listRepositoryAssociations(software.amazon.awssdk.services.codegurureviewer.model.ListRepositoryAssociationsRequest)} * operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. * SDK will internally handle making service calls for you. *

*

* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet * and so there is no guarantee that the request is valid. If there are errors in your request, you will see the * failures only after you start streaming the data. The subscribe method should be called as a request to start * streaming data. For more info, see * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the * starting request. *

* *

* The following are few ways to use the response class: *

* 1) Using the subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRepositoryAssociationsPublisher publisher = client.listRepositoryAssociationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRepositoryAssociationsPublisher publisher = client.listRepositoryAssociationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.codegurureviewer.model.ListRepositoryAssociationsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of MaxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRepositoryAssociations(software.amazon.awssdk.services.codegurureviewer.model.ListRepositoryAssociationsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListRepositoryAssociationsRequest.Builder} avoiding * the need to create one manually via {@link ListRepositoryAssociationsRequest#builder()} *

* * @param listRepositoryAssociationsRequest * A {@link Consumer} that will call methods on {@link ListRepositoryAssociationsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListRepositoryAssociations * @see AWS API Documentation */ default ListRepositoryAssociationsPublisher listRepositoryAssociationsPaginator( Consumer listRepositoryAssociationsRequest) { return listRepositoryAssociationsPaginator(ListRepositoryAssociationsRequest.builder() .applyMutation(listRepositoryAssociationsRequest).build()); } /** *

* Returns the list of tags associated with an associated repository resource. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( ListTagsForResourceRequest listTagsForResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the list of tags associated with an associated repository resource. *

*
*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on {@link ListTagsForResourceRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( Consumer listTagsForResourceRequest) { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* Stores customer feedback for a CodeGuru Reviewer recommendation. When this API is called again with different * reactions the previous feedback is overwritten. *

* * @param putRecommendationFeedbackRequest * @return A Java Future containing the result of the PutRecommendationFeedback operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.PutRecommendationFeedback * @see AWS API Documentation */ default CompletableFuture putRecommendationFeedback( PutRecommendationFeedbackRequest putRecommendationFeedbackRequest) { throw new UnsupportedOperationException(); } /** *

* Stores customer feedback for a CodeGuru Reviewer recommendation. When this API is called again with different * reactions the previous feedback is overwritten. *

*
*

* This is a convenience which creates an instance of the {@link PutRecommendationFeedbackRequest.Builder} avoiding * the need to create one manually via {@link PutRecommendationFeedbackRequest#builder()} *

* * @param putRecommendationFeedbackRequest * A {@link Consumer} that will call methods on {@link PutRecommendationFeedbackRequest.Builder} to create a * request. * @return A Java Future containing the result of the PutRecommendationFeedback operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • AccessDeniedException You do not have sufficient access to perform this action.
  • *
  • ThrottlingException The request was denied due to request throttling.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.PutRecommendationFeedback * @see AWS API Documentation */ default CompletableFuture putRecommendationFeedback( Consumer putRecommendationFeedbackRequest) { return putRecommendationFeedback(PutRecommendationFeedbackRequest.builder() .applyMutation(putRecommendationFeedbackRequest).build()); } /** *

* Adds one or more tags to an associated repository. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.TagResource * @see AWS * API Documentation */ default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Adds one or more tags to an associated repository. *

*
*

* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on {@link TagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.TagResource * @see AWS * API Documentation */ default CompletableFuture tagResource(Consumer tagResourceRequest) { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Removes a tag from an associated repository. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.UntagResource * @see AWS API Documentation */ default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Removes a tag from an associated repository. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on {@link UntagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalServerException The server encountered an internal error and is unable to complete the * request.
  • *
  • ValidationException The input fails to satisfy the specified constraints.
  • *
  • ResourceNotFoundException The resource specified in the request was not found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • CodeGuruReviewerException Base class for all service exceptions. Unknown exceptions will be thrown as * an instance of this type.
  • *
* @sample CodeGuruReviewerAsyncClient.UntagResource * @see AWS API Documentation */ default CompletableFuture untagResource(Consumer untagResourceRequest) { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** * Create an instance of {@link CodeGuruReviewerAsyncWaiter} using this client. *

* Waiters created via this method are managed by the SDK and resources will be released when the service client is * closed. * * @return an instance of {@link CodeGuruReviewerAsyncWaiter} */ default CodeGuruReviewerAsyncWaiter waiter() { throw new UnsupportedOperationException(); } @Override default CodeGuruReviewerServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } /** * Create a {@link CodeGuruReviewerAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static CodeGuruReviewerAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link CodeGuruReviewerAsyncClient}. */ static CodeGuruReviewerAsyncClientBuilder builder() { return new DefaultCodeGuruReviewerAsyncClientBuilder(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy