@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonCodeGuruReviewerClient extends AmazonWebServiceClient implements AmazonCodeGuruReviewer
This section provides documentation for the Amazon CodeGuru Reviewer API operations.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
AssociateRepositoryResult |
associateRepository(AssociateRepositoryRequest request)
Associates an AWS CodeCommit repository with Amazon CodeGuru Reviewer.
|
static AmazonCodeGuruReviewerClientBuilder |
builder() |
DescribeRepositoryAssociationResult |
describeRepositoryAssociation(DescribeRepositoryAssociationRequest request)
Describes a repository association.
|
DisassociateRepositoryResult |
disassociateRepository(DisassociateRepositoryRequest request)
Removes the association between Amazon CodeGuru Reviewer and a repository.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
ListRepositoryAssociationsResult |
listRepositoryAssociations(ListRepositoryAssociationsRequest request)
Lists repository associations.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutdown
public static AmazonCodeGuruReviewerClientBuilder builder()
public AssociateRepositoryResult associateRepository(AssociateRepositoryRequest request)
Associates an AWS CodeCommit repository with Amazon CodeGuru Reviewer. When you associate an AWS CodeCommit repository with Amazon CodeGuru Reviewer, Amazon CodeGuru Reviewer will provide recommendations for each pull request. You can view recommendations in the AWS CodeCommit repository.
You can associate a GitHub repository using the Amazon CodeGuru Reviewer console.
associateRepository
in interface AmazonCodeGuruReviewer
associateRepositoryRequest
- 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.public DescribeRepositoryAssociationResult describeRepositoryAssociation(DescribeRepositoryAssociationRequest request)
Describes a repository association.
describeRepositoryAssociation
in interface AmazonCodeGuruReviewer
describeRepositoryAssociationRequest
- 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.public DisassociateRepositoryResult disassociateRepository(DisassociateRepositoryRequest request)
Removes the association between Amazon CodeGuru Reviewer and a repository.
disassociateRepository
in interface AmazonCodeGuruReviewer
disassociateRepositoryRequest
- 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.public ListRepositoryAssociationsResult listRepositoryAssociations(ListRepositoryAssociationsRequest request)
Lists repository associations. You can optionally filter on one or more of the following recommendation properties: provider types, states, names, and owners.
listRepositoryAssociations
in interface AmazonCodeGuruReviewer
listRepositoryAssociationsRequest
- 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.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AmazonCodeGuruReviewer
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.