code: public void marshall(ActionState actionState, ProtocolMarshaller protocolMarshaller) {
  
          if (actionState == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(actionState.getActionName(), ACTIONNAME_BINDING);
              protocolMarshaller.marshall(actionState.getCurrentRevision(), CURRENTREVISION_BINDING);
              protocolMarshaller.marshall(actionState.getLatestExecution(), LATESTEXECUTION_BINDING);
              protocolMarshaller.marshall(actionState.getEntityUrl(), ENTITYURL_BINDING);
              protocolMarshaller.marshall(actionState.getRevisionUrl(), REVISIONURL_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.