docs: public void marshall(BasePathMapping basePathMapping, ProtocolMarshaller protocolMarshaller) {
  
          if (basePathMapping == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(basePathMapping.getBasePath(), BASEPATH_BINDING);
              protocolMarshaller.marshall(basePathMapping.getRestApiId(), RESTAPIID_BINDING);
              protocolMarshaller.marshall(basePathMapping.getStage(), STAGE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }