code: public void marshall(GetAggregateDiscoveredResourceCountsRequest getAggregateDiscoveredResourceCountsRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (getAggregateDiscoveredResourceCountsRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(getAggregateDiscoveredResourceCountsRequest.getConfigurationAggregatorName(), CONFIGURATIONAGGREGATORNAME_BINDING);
              protocolMarshaller.marshall(getAggregateDiscoveredResourceCountsRequest.getFilters(), FILTERS_BINDING);
              protocolMarshaller.marshall(getAggregateDiscoveredResourceCountsRequest.getGroupByKey(), GROUPBYKEY_BINDING);
              protocolMarshaller.marshall(getAggregateDiscoveredResourceCountsRequest.getLimit(), LIMIT_BINDING);
              protocolMarshaller.marshall(getAggregateDiscoveredResourceCountsRequest.getNextToken(), NEXTTOKEN_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.