in aws-codegurureviewer-repositoryassociation/src/main/java/software/amazon/codegurureviewer/repositoryassociation/BaseHandlerStd.java [48:77]
protected abstract ProgressEvent<ResourceModel, CallbackContext> handleRequest(
final AmazonWebServicesClientProxy proxy,
final ResourceHandlerRequest<ResourceModel> request,
final CallbackContext callbackContext,
final ProxyClient<CodeGuruReviewerClient> proxyClient,
final Logger logger);
protected DescribeRepositoryAssociationResponse describeRepositoryAssociation(
final DescribeRepositoryAssociationRequest describeRepositoryAssociationRequest,
final ProxyClient<CodeGuruReviewerClient> proxyClient,
final ResourceModel model) {
DescribeRepositoryAssociationResponse awsResponse = null;
try {
awsResponse = proxyClient.injectCredentialsAndInvokeV2(describeRepositoryAssociationRequest,
proxyClient.client()::describeRepositoryAssociation);
} catch (final NotFoundException e) {
throw new CfnNotFoundException(ResourceModel.TYPE_NAME, model.getName(), e);
} catch (final InternalServerException e) {
throw new CfnServiceInternalErrorException(ResourceModel.TYPE_NAME, e);
} catch (final ValidationException e) {
throw new CfnInvalidRequestException(ResourceModel.TYPE_NAME, e);
} catch (final AccessDeniedException e) {
throw new CfnAccessDeniedException(ResourceModel.TYPE_NAME, e);
} catch (final ThrottlingException e) {
throw new CfnThrottlingException(ResourceModel.TYPE_NAME, e);
}
return awsResponse;
}