Accessing AppSync API from Kibana Plugin

Say, I have configured Kibana and Elasticsearch to use OpenID Connect Single Sign On (using AWS Cognito). Will I be able to access AppSync API from a custom Kibana plugin? How do I configure AWS Amplify to access AppSync from the plugin?