ObjectStateTermAggregation
The ObjectStateTermAggregation aggregates search results by the content item's object state.
Arguments
name - name of the Aggregation object
objectStateGroupIdentifier - string representing the identifier of the object state group to aggregate results by