docs: public void marshall(Method method, ProtocolMarshaller protocolMarshaller) {
  
          if (method == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(method.getHttpMethod(), HTTPMETHOD_BINDING);
              protocolMarshaller.marshall(method.getAuthorizationType(), AUTHORIZATIONTYPE_BINDING);
              protocolMarshaller.marshall(method.getAuthorizerId(), AUTHORIZERID_BINDING);
              protocolMarshaller.marshall(method.getApiKeyRequired(), APIKEYREQUIRED_BINDING);
              protocolMarshaller.marshall(method.getRequestValidatorId(), REQUESTVALIDATORID_BINDING);
              protocolMarshaller.marshall(method.getOperationName(), OPERATIONNAME_BINDING);
              protocolMarshaller.marshall(method.getRequestParameters(), REQUESTPARAMETERS_BINDING);
              protocolMarshaller.marshall(method.getRequestModels(), REQUESTMODELS_BINDING);
              protocolMarshaller.marshall(method.getMethodResponses(), METHODRESPONSES_BINDING);
              protocolMarshaller.marshall(method.getMethodIntegration(), METHODINTEGRATION_BINDING);
              protocolMarshaller.marshall(method.getAuthorizationScopes(), AUTHORIZATIONSCOPES_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }