Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A sample mutation for creating a new customer in the Customers table of an Aurora Serverless Data API enabled database as a datastore for AWS AppSync
mutation CreateCustomer {
createCustomers(createCustomersInput: {
id: 2,
name: "Customer Two",
phone: "206-555-xxxx",
email: "cust@customertwo.com"
}) {
id
name
phone
email
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.