code: public void marshall(ListCommandInvocationsRequest listCommandInvocationsRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (listCommandInvocationsRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(listCommandInvocationsRequest.getCommandId(), COMMANDID_BINDING);
              protocolMarshaller.marshall(listCommandInvocationsRequest.getInstanceId(), INSTANCEID_BINDING);
              protocolMarshaller.marshall(listCommandInvocationsRequest.getMaxResults(), MAXRESULTS_BINDING);
              protocolMarshaller.marshall(listCommandInvocationsRequest.getNextToken(), NEXTTOKEN_BINDING);
              protocolMarshaller.marshall(listCommandInvocationsRequest.getFilters(), FILTERS_BINDING);
              protocolMarshaller.marshall(listCommandInvocationsRequest.getDetails(), DETAILS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.