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

software.amazon.awssdk.services.codegurureviewer.CodeGuruReviewerClient 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.15
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.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.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.codegurureviewer.model.AccessDeniedException;
import software.amazon.awssdk.services.codegurureviewer.model.AssociateRepositoryRequest;
import software.amazon.awssdk.services.codegurureviewer.model.AssociateRepositoryResponse;
import software.amazon.awssdk.services.codegurureviewer.model.CodeGuruReviewerException;
import software.amazon.awssdk.services.codegurureviewer.model.ConflictException;
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.InternalServerException;
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.NotFoundException;
import software.amazon.awssdk.services.codegurureviewer.model.PutRecommendationFeedbackRequest;
import software.amazon.awssdk.services.codegurureviewer.model.PutRecommendationFeedbackResponse;
import software.amazon.awssdk.services.codegurureviewer.model.ResourceNotFoundException;
import software.amazon.awssdk.services.codegurureviewer.model.TagResourceRequest;
import software.amazon.awssdk.services.codegurureviewer.model.TagResourceResponse;
import software.amazon.awssdk.services.codegurureviewer.model.ThrottlingException;
import software.amazon.awssdk.services.codegurureviewer.model.UntagResourceRequest;
import software.amazon.awssdk.services.codegurureviewer.model.UntagResourceResponse;
import software.amazon.awssdk.services.codegurureviewer.model.ValidationException;
import software.amazon.awssdk.services.codegurureviewer.paginators.ListCodeReviewsIterable;
import software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationFeedbackIterable;
import software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationsIterable;
import software.amazon.awssdk.services.codegurureviewer.paginators.ListRepositoryAssociationsIterable;
import software.amazon.awssdk.services.codegurureviewer.waiters.CodeGuruReviewerWaiter;

/**
 * Service client for accessing CodeGuruReviewer. 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 CodeGuruReviewerClient 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 Result of the AssociateRepository operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws 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. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.AssociateRepository * @see AWS API Documentation */ default AssociateRepositoryResponse associateRepository(AssociateRepositoryRequest associateRepositoryRequest) throws InternalServerException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 software.amazon.awssdk.services.codegurureviewer.model.AssociateRepositoryRequest.Builder} to * create a request. * @return Result of the AssociateRepository operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws 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. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.AssociateRepository * @see AWS API Documentation */ default AssociateRepositoryResponse associateRepository( Consumer associateRepositoryRequest) throws InternalServerException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 Result of the CreateCodeReview operation returned by the service. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws 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. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.CreateCodeReview * @see AWS API Documentation */ default CreateCodeReviewResponse createCodeReview(CreateCodeReviewRequest createCodeReviewRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 software.amazon.awssdk.services.codegurureviewer.model.CreateCodeReviewRequest.Builder} to create a * request. * @return Result of the CreateCodeReview operation returned by the service. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws 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. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.CreateCodeReview * @see AWS API Documentation */ default CreateCodeReviewResponse createCodeReview(Consumer createCodeReviewRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return createCodeReview(CreateCodeReviewRequest.builder().applyMutation(createCodeReviewRequest).build()); } /** *

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

* * @param describeCodeReviewRequest * @return Result of the DescribeCodeReview operation returned by the service. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.DescribeCodeReview * @see AWS API Documentation */ default DescribeCodeReviewResponse describeCodeReview(DescribeCodeReviewRequest describeCodeReviewRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 software.amazon.awssdk.services.codegurureviewer.model.DescribeCodeReviewRequest.Builder} to create * a request. * @return Result of the DescribeCodeReview operation returned by the service. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.DescribeCodeReview * @see AWS API Documentation */ default DescribeCodeReviewResponse describeCodeReview(Consumer describeCodeReviewRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return describeCodeReview(DescribeCodeReviewRequest.builder().applyMutation(describeCodeReviewRequest).build()); } /** *

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

* * @param describeRecommendationFeedbackRequest * @return Result of the DescribeRecommendationFeedback operation returned by the service. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.DescribeRecommendationFeedback * @see AWS API Documentation */ default DescribeRecommendationFeedbackResponse describeRecommendationFeedback( DescribeRecommendationFeedbackRequest describeRecommendationFeedbackRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 software.amazon.awssdk.services.codegurureviewer.model.DescribeRecommendationFeedbackRequest.Builder} * to create a request. * @return Result of the DescribeRecommendationFeedback operation returned by the service. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.DescribeRecommendationFeedback * @see AWS API Documentation */ default DescribeRecommendationFeedbackResponse describeRecommendationFeedback( Consumer describeRecommendationFeedbackRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return describeRecommendationFeedback(DescribeRecommendationFeedbackRequest.builder() .applyMutation(describeRecommendationFeedbackRequest).build()); } /** *

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

* * @param describeRepositoryAssociationRequest * @return Result of the DescribeRepositoryAssociation operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.DescribeRepositoryAssociation * @see AWS API Documentation */ default DescribeRepositoryAssociationResponse describeRepositoryAssociation( DescribeRepositoryAssociationRequest describeRepositoryAssociationRequest) throws NotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 software.amazon.awssdk.services.codegurureviewer.model.DescribeRepositoryAssociationRequest.Builder} * to create a request. * @return Result of the DescribeRepositoryAssociation operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.DescribeRepositoryAssociation * @see AWS API Documentation */ default DescribeRepositoryAssociationResponse describeRepositoryAssociation( Consumer describeRepositoryAssociationRequest) throws NotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return describeRepositoryAssociation(DescribeRepositoryAssociationRequest.builder() .applyMutation(describeRepositoryAssociationRequest).build()); } /** *

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

* * @param disassociateRepositoryRequest * @return Result of the DisassociateRepository operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws 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. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.DisassociateRepository * @see AWS API Documentation */ default DisassociateRepositoryResponse disassociateRepository(DisassociateRepositoryRequest disassociateRepositoryRequest) throws NotFoundException, InternalServerException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 software.amazon.awssdk.services.codegurureviewer.model.DisassociateRepositoryRequest.Builder} to * create a request. * @return Result of the DisassociateRepository operation returned by the service. * @throws NotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws 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. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.DisassociateRepository * @see AWS API Documentation */ default DisassociateRepositoryResponse disassociateRepository( Consumer disassociateRepositoryRequest) throws NotFoundException, InternalServerException, ValidationException, AccessDeniedException, ConflictException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 Result of the ListCodeReviews operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListCodeReviews * @see AWS API Documentation */ default ListCodeReviewsResponse listCodeReviews(ListCodeReviewsRequest listCodeReviewsRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 software.amazon.awssdk.services.codegurureviewer.model.ListCodeReviewsRequest.Builder} to create a * request. * @return Result of the ListCodeReviews operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListCodeReviews * @see AWS API Documentation */ default ListCodeReviewsResponse listCodeReviews(Consumer listCodeReviewsRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return listCodeReviews(ListCodeReviewsRequest.builder().applyMutation(listCodeReviewsRequest).build()); } /** *

* This is a variant of * {@link #listCodeReviews(software.amazon.awssdk.services.codegurureviewer.model.ListCodeReviewsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListCodeReviewsIterable responses = client.listCodeReviewsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codegurureviewer.paginators.ListCodeReviewsIterable responses = client
     *             .listCodeReviewsPaginator(request);
     *     for (software.amazon.awssdk.services.codegurureviewer.model.ListCodeReviewsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListCodeReviewsIterable responses = client.listCodeReviewsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListCodeReviews * @see AWS API Documentation */ default ListCodeReviewsIterable listCodeReviewsPaginator(ListCodeReviewsRequest listCodeReviewsRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return new ListCodeReviewsIterable(this, listCodeReviewsRequest); } /** *

* This is a variant of * {@link #listCodeReviews(software.amazon.awssdk.services.codegurureviewer.model.ListCodeReviewsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListCodeReviewsIterable responses = client.listCodeReviewsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codegurureviewer.paginators.ListCodeReviewsIterable responses = client
     *             .listCodeReviewsPaginator(request);
     *     for (software.amazon.awssdk.services.codegurureviewer.model.ListCodeReviewsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListCodeReviewsIterable responses = client.listCodeReviewsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 software.amazon.awssdk.services.codegurureviewer.model.ListCodeReviewsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListCodeReviews * @see AWS API Documentation */ default ListCodeReviewsIterable listCodeReviewsPaginator(Consumer listCodeReviewsRequest) throws InternalServerException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 Result of the ListRecommendationFeedback operation returned by the service. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListRecommendationFeedback * @see AWS API Documentation */ default ListRecommendationFeedbackResponse listRecommendationFeedback( ListRecommendationFeedbackRequest listRecommendationFeedbackRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationFeedbackRequest.Builder} * to create a request. * @return Result of the ListRecommendationFeedback operation returned by the service. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListRecommendationFeedback * @see AWS API Documentation */ default ListRecommendationFeedbackResponse listRecommendationFeedback( Consumer listRecommendationFeedbackRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return listRecommendationFeedback(ListRecommendationFeedbackRequest.builder() .applyMutation(listRecommendationFeedbackRequest).build()); } /** *

* This is a variant of * {@link #listRecommendationFeedback(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationFeedbackRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationFeedbackIterable responses = client.listRecommendationFeedbackPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationFeedbackIterable responses = client
     *             .listRecommendationFeedbackPaginator(request);
     *     for (software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationFeedbackResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationFeedbackIterable responses = client.listRecommendationFeedbackPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListRecommendationFeedback * @see AWS API Documentation */ default ListRecommendationFeedbackIterable listRecommendationFeedbackPaginator( ListRecommendationFeedbackRequest listRecommendationFeedbackRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return new ListRecommendationFeedbackIterable(this, listRecommendationFeedbackRequest); } /** *

* This is a variant of * {@link #listRecommendationFeedback(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationFeedbackRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationFeedbackIterable responses = client.listRecommendationFeedbackPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationFeedbackIterable responses = client
     *             .listRecommendationFeedbackPaginator(request);
     *     for (software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationFeedbackResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationFeedbackIterable responses = client.listRecommendationFeedbackPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationFeedbackRequest.Builder} * to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListRecommendationFeedback * @see AWS API Documentation */ default ListRecommendationFeedbackIterable listRecommendationFeedbackPaginator( Consumer listRecommendationFeedbackRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return listRecommendationFeedbackPaginator(ListRecommendationFeedbackRequest.builder() .applyMutation(listRecommendationFeedbackRequest).build()); } /** *

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

* * @param listRecommendationsRequest * @return Result of the ListRecommendations operation returned by the service. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListRecommendations * @see AWS API Documentation */ default ListRecommendationsResponse listRecommendations(ListRecommendationsRequest listRecommendationsRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationsRequest.Builder} to * create a request. * @return Result of the ListRecommendations operation returned by the service. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListRecommendations * @see AWS API Documentation */ default ListRecommendationsResponse listRecommendations( Consumer listRecommendationsRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return listRecommendations(ListRecommendationsRequest.builder().applyMutation(listRecommendationsRequest).build()); } /** *

* This is a variant of * {@link #listRecommendations(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationsIterable responses = client
     *             .listRecommendationsPaginator(request);
     *     for (software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListRecommendations * @see AWS API Documentation */ default ListRecommendationsIterable listRecommendationsPaginator(ListRecommendationsRequest listRecommendationsRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return new ListRecommendationsIterable(this, listRecommendationsRequest); } /** *

* This is a variant of * {@link #listRecommendations(software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationsIterable responses = client
     *             .listRecommendationsPaginator(request);
     *     for (software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRecommendationsIterable responses = client.listRecommendationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 software.amazon.awssdk.services.codegurureviewer.model.ListRecommendationsRequest.Builder} to * create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListRecommendations * @see AWS API Documentation */ default ListRecommendationsIterable listRecommendationsPaginator( Consumer listRecommendationsRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 Result of the ListRepositoryAssociations operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListRepositoryAssociations * @see AWS API Documentation */ default ListRepositoryAssociationsResponse listRepositoryAssociations( ListRepositoryAssociationsRequest listRepositoryAssociationsRequest) throws InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 software.amazon.awssdk.services.codegurureviewer.model.ListRepositoryAssociationsRequest.Builder} * to create a request. * @return Result of the ListRepositoryAssociations operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListRepositoryAssociations * @see AWS API Documentation */ default ListRepositoryAssociationsResponse listRepositoryAssociations( Consumer listRepositoryAssociationsRequest) throws InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return listRepositoryAssociations(ListRepositoryAssociationsRequest.builder() .applyMutation(listRepositoryAssociationsRequest).build()); } /** *

* This is a variant of * {@link #listRepositoryAssociations(software.amazon.awssdk.services.codegurureviewer.model.ListRepositoryAssociationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRepositoryAssociationsIterable responses = client.listRepositoryAssociationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codegurureviewer.paginators.ListRepositoryAssociationsIterable responses = client
     *             .listRepositoryAssociationsPaginator(request);
     *     for (software.amazon.awssdk.services.codegurureviewer.model.ListRepositoryAssociationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRepositoryAssociationsIterable responses = client.listRepositoryAssociationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListRepositoryAssociations * @see AWS API Documentation */ default ListRepositoryAssociationsIterable listRepositoryAssociationsPaginator( ListRepositoryAssociationsRequest listRepositoryAssociationsRequest) throws InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return new ListRepositoryAssociationsIterable(this, listRepositoryAssociationsRequest); } /** *

* This is a variant of * {@link #listRepositoryAssociations(software.amazon.awssdk.services.codegurureviewer.model.ListRepositoryAssociationsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRepositoryAssociationsIterable responses = client.listRepositoryAssociationsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.codegurureviewer.paginators.ListRepositoryAssociationsIterable responses = client
     *             .listRepositoryAssociationsPaginator(request);
     *     for (software.amazon.awssdk.services.codegurureviewer.model.ListRepositoryAssociationsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.codegurureviewer.paginators.ListRepositoryAssociationsIterable responses = client.listRepositoryAssociationsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* 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 software.amazon.awssdk.services.codegurureviewer.model.ListRepositoryAssociationsRequest.Builder} * to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListRepositoryAssociations * @see AWS API Documentation */ default ListRepositoryAssociationsIterable listRepositoryAssociationsPaginator( Consumer listRepositoryAssociationsRequest) throws InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return listRepositoryAssociationsPaginator(ListRepositoryAssociationsRequest.builder() .applyMutation(listRepositoryAssociationsRequest).build()); } /** *

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

* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListTagsForResource * @see AWS API Documentation */ default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 software.amazon.awssdk.services.codegurureviewer.model.ListTagsForResourceRequest.Builder} to * create a request. * @return Result of the ListTagsForResource operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.ListTagsForResource * @see AWS API Documentation */ default ListTagsForResourceResponse listTagsForResource( Consumer listTagsForResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 Result of the PutRecommendationFeedback operation returned by the service. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.PutRecommendationFeedback * @see AWS API Documentation */ default PutRecommendationFeedbackResponse putRecommendationFeedback( PutRecommendationFeedbackRequest putRecommendationFeedbackRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 software.amazon.awssdk.services.codegurureviewer.model.PutRecommendationFeedbackRequest.Builder} to * create a request. * @return Result of the PutRecommendationFeedback operation returned by the service. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.PutRecommendationFeedback * @see AWS API Documentation */ default PutRecommendationFeedbackResponse putRecommendationFeedback( Consumer putRecommendationFeedbackRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return putRecommendationFeedback(PutRecommendationFeedbackRequest.builder() .applyMutation(putRecommendationFeedbackRequest).build()); } /** *

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

* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.TagResource * @see AWS * API Documentation */ default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 software.amazon.awssdk.services.codegurureviewer.model.TagResourceRequest.Builder} to create a * request. * @return Result of the TagResource operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.TagResource * @see AWS * API Documentation */ default TagResourceResponse tagResource(Consumer tagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Removes a tag from an associated repository. *

* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.UntagResource * @see AWS API Documentation */ default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeGuruReviewerException { 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 software.amazon.awssdk.services.codegurureviewer.model.UntagResourceRequest.Builder} to create a * request. * @return Result of the UntagResource operation returned by the service. * @throws InternalServerException * The server encountered an internal error and is unable to complete the request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ResourceNotFoundException * The resource specified in the request was not found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws CodeGuruReviewerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample CodeGuruReviewerClient.UntagResource * @see AWS API Documentation */ default UntagResourceResponse untagResource(Consumer untagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, CodeGuruReviewerException { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** * Create an instance of {@link CodeGuruReviewerWaiter} 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 CodeGuruReviewerWaiter} */ default CodeGuruReviewerWaiter waiter() { throw new UnsupportedOperationException(); } /** * Create a {@link CodeGuruReviewerClient} 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 CodeGuruReviewerClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link CodeGuruReviewerClient}. */ static CodeGuruReviewerClientBuilder builder() { return new DefaultCodeGuruReviewerClientBuilder(); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of(SERVICE_METADATA_ID); } @Override default CodeGuruReviewerServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy