A GraphQL request document — either:
'query { me { id } }'
graphql
graphql-codegen
The shape of response.data.
response.data
The shape of the variables object.
A GraphQL request document — either:
'query { me { id } }'), in which case the response shape is whatever you say it is via the generic parameter to AppSyncClient.request;graphql;graphql-codegen), which lets the client infer both the response and variables types automatically.