code: public void marshall(Script script, ProtocolMarshaller protocolMarshaller) {
  
          if (script == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(script.getScriptId(), SCRIPTID_BINDING);
              protocolMarshaller.marshall(script.getName(), NAME_BINDING);
              protocolMarshaller.marshall(script.getVersion(), VERSION_BINDING);
              protocolMarshaller.marshall(script.getSizeOnDisk(), SIZEONDISK_BINDING);
              protocolMarshaller.marshall(script.getCreationTime(), CREATIONTIME_BINDING);
              protocolMarshaller.marshall(script.getStorageLocation(), STORAGELOCATION_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.