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