public StructureShape getOutputPropertiesShape(OperationShape operation) {
        Model model = getModel();
        return getPropertiesShape(operationIndex.getOutputMembers(operation).values(),
                model.expectShape(operation.getOutputShape(), StructureShape.class));
    }
Resolves and returns the output shape of an operation that contains the
top-level resource bound properties. Handles adjustments made with
@nestedProperties trait.

@param operation operation to retrieve output properties shape for.
@return the output shape of an operation that contains top-level resource
 properties.
smithy-model/src/main/java/software/amazon/smithy/model/knowledge/PropertyBindingIndex.java