@Override
    public void preprocess(ServiceModel serviceModel) {
        pruneShapesThatMatchConditions(serviceModel);
        doWhileShapesRemoved(serviceModel, () -> {
            pruneCollectionShapes(serviceModel);
            pruneShapeMembers(serviceModel);
        });
        pruneOperationsAndErrors(serviceModel);
    }
Prunes shapes that are explicitly not supported by Java SDK v1.
aws-java-sdk-code-generator/src/main/java/com/amazonaws/codegen/customization/processors/PruneUnsupportedShapesProcessor.java