public Optional<ShapeId> getListTagsForResourceOperation(ToShapeId serviceOrResourceId) {
        return Optional.ofNullable(shapeToListTagsOperation.get(serviceOrResourceId.toShapeId()));
    }
Gets the ShapeID of the ListTagsForResource operation on the service shape if one is found meeting the criteria.
If a resource ID is passed in, it will return the qualifiying service wide TagResource operation ID rather than
the operation ID specified by the tagApi property.

@param serviceOrResourceId ShapeID of the service shape to retrieve the qualifying ListTagsForResource
 operation for.
@return The ShapeID of a qualifying ListTagsForResource operation if one is found. Returns an empty optional
 otherwise.
smithy-aws-traits/src/main/java/software/amazon/smithy/aws/traits/tagging/AwsTagIndex.java