in packages/aws-appsync-subscription-link/src/realtime-subscription-handshake-link.ts [108:118]
query: print(query),
region: this.region,
graphql_headers: () => (headers),
variables,
apiKey: this.auth.type === AUTH_TYPE.API_KEY ? this.auth.apiKey : "",
credentials:
this.auth.type === AUTH_TYPE.AWS_IAM ? this.auth.credentials : null,
token
};
this._startSubscriptionWithAWSAppSyncRealTime({