Skip to main content

Appsync python client for consuming the graphql endpoint

Project description



def callback(client, userdata, msg):
  #use the msg

appsyncClient = AppSyncClient()
query = json.dumps({"query": "mutation {\n  updateSecret(id:\"1234\",secretString:\"sdfsdf\") {\n    id\n    secretString\n  }\n}\n"})
response = appsyncClient.execute(region="us-east-2",url="https://..../graphql",method="POST",data=query,callback=callback)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

appsync-client-0.0.13.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

appsync_client-0.0.13-py3-none-any.whl (4.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page