in aws-codegurureviewer-repositoryassociation/src/main/java/software/amazon/codegurureviewer/repositoryassociation/DeleteHandler.java [144:163]
protected boolean stabilizeOnHandle(
final AwsRequest awsRequest,
final AwsResponse awsResponse,
final ProxyClient<CodeGuruReviewerClient> proxyClient,
final ResourceModel model,
final CallbackContext callbackContext) {
boolean stabilized = false;
try {
describeRepositoryAssociation(Translator.translateToDescribeRepositoryAssociationRequest(model),
proxyClient, model);
} catch (final CfnNotFoundException e) {
stabilized = true;
} catch (final Exception e) {
logger.log(String.format("%s [%s] encounter exception when verifying stabilization",
ResourceModel.TYPE_NAME, model.getPrimaryIdentifier()));
}
return stabilized;
}