code: public void marshall(NamespaceSummary namespaceSummary, ProtocolMarshaller protocolMarshaller) {
  
          if (namespaceSummary == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(namespaceSummary.getId(), ID_BINDING);
              protocolMarshaller.marshall(namespaceSummary.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(namespaceSummary.getName(), NAME_BINDING);
              protocolMarshaller.marshall(namespaceSummary.getType(), TYPE_BINDING);
              protocolMarshaller.marshall(namespaceSummary.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(namespaceSummary.getServiceCount(), SERVICECOUNT_BINDING);
              protocolMarshaller.marshall(namespaceSummary.getProperties(), PROPERTIES_BINDING);
              protocolMarshaller.marshall(namespaceSummary.getCreateDate(), CREATEDATE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.