I've published Feature layer (hosted) to ArcGIS Online from ArcGIS Pro (3.1.1). The feature layer contains a number of individual data layers for a large region. I'd like to create individual Feature layer (hosted, view) for some of the layers for each individual county within the region where the data is queried by county name. What I'm hoping is that someone can help me with a more efficient workflow than manually creating these view layers for each individual county. All of the view layers will end up being the same except in the attribute filter on the view layer the county name will be different.
I've seen in the ArcGIS Python API that you can copy various items from one organization to another for staging/production migrations and such, but I've not seen anything specifically for doing what I'm talking about with duplicating a view layer within an organization that keeps a reference to the same source hosted layer. I may just have been using the wrong search terms though. I'm ok manually updating the specific county name in the attribute queries if I need to, but I'd prefer to not have to manually duplicate the entire process including field settings, description, and other view layer customizations for every county if someone has an alternative.
Any suggestions would be appreciated.