code: public void marshall(ListAliasesRequest listAliasesRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (listAliasesRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(listAliasesRequest.getFunctionName(), FUNCTIONNAME_BINDING);
              protocolMarshaller.marshall(listAliasesRequest.getFunctionVersion(), FUNCTIONVERSION_BINDING);
              protocolMarshaller.marshall(listAliasesRequest.getMarker(), MARKER_BINDING);
              protocolMarshaller.marshall(listAliasesRequest.getMaxItems(), MAXITEMS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.