code: public void marshall(UpdateGraphqlApiRequest updateGraphqlApiRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (updateGraphqlApiRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(updateGraphqlApiRequest.getApiId(), APIID_BINDING);
              protocolMarshaller.marshall(updateGraphqlApiRequest.getName(), NAME_BINDING);
              protocolMarshaller.marshall(updateGraphqlApiRequest.getLogConfig(), LOGCONFIG_BINDING);
              protocolMarshaller.marshall(updateGraphqlApiRequest.getAuthenticationType(), AUTHENTICATIONTYPE_BINDING);
              protocolMarshaller.marshall(updateGraphqlApiRequest.getUserPoolConfig(), USERPOOLCONFIG_BINDING);
              protocolMarshaller.marshall(updateGraphqlApiRequest.getOpenIDConnectConfig(), OPENIDCONNECTCONFIG_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.