# 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 type TodoApiKey @model @auth(rules: [{ allow: public }]) { name: String description: String } type TodoIam @model @auth(rules: [{ allow: private, provider: iam }]) { name: String description: String }