code: public void marshall(GetResourcesRequest getResourcesRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (getResourcesRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(getResourcesRequest.getPaginationToken(), PAGINATIONTOKEN_BINDING);
              protocolMarshaller.marshall(getResourcesRequest.getTagFilters(), TAGFILTERS_BINDING);
              protocolMarshaller.marshall(getResourcesRequest.getResourcesPerPage(), RESOURCESPERPAGE_BINDING);
              protocolMarshaller.marshall(getResourcesRequest.getTagsPerPage(), TAGSPERPAGE_BINDING);
              protocolMarshaller.marshall(getResourcesRequest.getResourceTypeFilters(), RESOURCETYPEFILTERS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.