code: public void marshall(Resolver resolver, ProtocolMarshaller protocolMarshaller) {
  
          if (resolver == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(resolver.getTypeName(), TYPENAME_BINDING);
              protocolMarshaller.marshall(resolver.getFieldName(), FIELDNAME_BINDING);
              protocolMarshaller.marshall(resolver.getDataSourceName(), DATASOURCENAME_BINDING);
              protocolMarshaller.marshall(resolver.getResolverArn(), RESOLVERARN_BINDING);
              protocolMarshaller.marshall(resolver.getRequestMappingTemplate(), REQUESTMAPPINGTEMPLATE_BINDING);
              protocolMarshaller.marshall(resolver.getResponseMappingTemplate(), RESPONSEMAPPINGTEMPLATE_BINDING);
              protocolMarshaller.marshall(resolver.getKind(), KIND_BINDING);
              protocolMarshaller.marshall(resolver.getPipelineConfig(), PIPELINECONFIG_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.