docs: public void marshall(IndexFacesRequest indexFacesRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (indexFacesRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(indexFacesRequest.getCollectionId(), COLLECTIONID_BINDING);
              protocolMarshaller.marshall(indexFacesRequest.getImage(), IMAGE_BINDING);
              protocolMarshaller.marshall(indexFacesRequest.getExternalImageId(), EXTERNALIMAGEID_BINDING);
              protocolMarshaller.marshall(indexFacesRequest.getDetectionAttributes(), DETECTIONATTRIBUTES_BINDING);
              protocolMarshaller.marshall(indexFacesRequest.getMaxFaces(), MAXFACES_BINDING);
              protocolMarshaller.marshall(indexFacesRequest.getQualityFilter(), QUALITYFILTER_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }