# This "input" configures a global authorization rule to enable public access to # all models in this schema. Learn more about authorization rules here: https://docs.amplify.aws/cli/graphql/authorization-rules input AMPLIFY { globalAuthRule: AuthRule = { allow: public } } # FOR TESTING ONLY! type Meeting @model(mutations: {create: "createMeetingGraphQL", delete: "deleteMeetingGraphQL"}, subscriptions: null) { meetingId: String! title: String! @primaryKey data: String! } type Attendee @model(mutations: {create: "createAttendeeGraphQL", delete: "deleteAttendeeGraphQL"}, subscriptions: null) { attendeeId: String! @primaryKey name: String! } type Query { createChimeMeeting(title: String, name: String, region: String): Response @function(name: "reactSampleLambda-${env}") joinChimeMeeting(meetingId: String, name: String): Response @function(name: "reactSampleLambda-${env}") endChimeMeeting(meetingId: String): Response @function(name: "reactSampleLambda-${env}") } type Response { statusCode: String! headers: String body: String isBase64Encoded: String }