docs: public void marshall(BatchWriteOperation batchWriteOperation, ProtocolMarshaller protocolMarshaller) {
  
          if (batchWriteOperation == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(batchWriteOperation.getCreateObject(), CREATEOBJECT_BINDING);
              protocolMarshaller.marshall(batchWriteOperation.getAttachObject(), ATTACHOBJECT_BINDING);
              protocolMarshaller.marshall(batchWriteOperation.getDetachObject(), DETACHOBJECT_BINDING);
              protocolMarshaller.marshall(batchWriteOperation.getUpdateObjectAttributes(), UPDATEOBJECTATTRIBUTES_BINDING);
              protocolMarshaller.marshall(batchWriteOperation.getDeleteObject(), DELETEOBJECT_BINDING);
              protocolMarshaller.marshall(batchWriteOperation.getAddFacetToObject(), ADDFACETTOOBJECT_BINDING);
              protocolMarshaller.marshall(batchWriteOperation.getRemoveFacetFromObject(), REMOVEFACETFROMOBJECT_BINDING);
              protocolMarshaller.marshall(batchWriteOperation.getAttachPolicy(), ATTACHPOLICY_BINDING);
              protocolMarshaller.marshall(batchWriteOperation.getDetachPolicy(), DETACHPOLICY_BINDING);
              protocolMarshaller.marshall(batchWriteOperation.getCreateIndex(), CREATEINDEX_BINDING);
              protocolMarshaller.marshall(batchWriteOperation.getAttachToIndex(), ATTACHTOINDEX_BINDING);
              protocolMarshaller.marshall(batchWriteOperation.getDetachFromIndex(), DETACHFROMINDEX_BINDING);
              protocolMarshaller.marshall(batchWriteOperation.getAttachTypedLink(), ATTACHTYPEDLINK_BINDING);
              protocolMarshaller.marshall(batchWriteOperation.getDetachTypedLink(), DETACHTYPEDLINK_BINDING);
              protocolMarshaller.marshall(batchWriteOperation.getUpdateLinkAttributes(), UPDATELINKATTRIBUTES_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }