title: Unable to upload large graphql schema to aws appsync
body: <p>I am trying to upload my graphql schema to aws appsync. My graphql schema is nearly 5000 lines long. I tried uploading using cli and gui, both. </p>
  
  <p>(1.) When using cli, I am continually getting error "Failed to parse schema document - ensure it's a valid SDL-formatted document."</p>
  
  <p>(2.) When using gui, the pipes in all the unions in my graphql schema ( eg. union UnionType = Type1 | Type2 | Type3 ) are replaced with whitespaces, causing syntax error. After solving this by manual replacement of whitespaces, the tab becomes unresponsive, and needs to be killed.</p>
  
  <p>I tried uploading a small graphql schema with a union from cli, and it worked successfully. However, from gui, it caused the same error of replacing pipes with whitespaces in union.</p>
  
  <p>I need help understanding this behaviour with aws cli and aws console. </p>