Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

248
Views
What is the purpose of @aws_subscribe annotation?

I am reading realtime data documentation but do not understandwhat is the purpose of @aws_subscribe. Could somebody explain this in simple English? Examples about how subscriptions works with/without annotation will help a lot.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Using the @aws_subscribe directive, you can declare the mutations a subscription is subscribed to. For example:

type Mutation {
  createPost(): Post
  editPost(): Post
  deletePost(): Post
}

type  Subscription {
  updatedPost(): Post
    @aws_subscribe(mutations: ["createPost","editPost","deletePost"])
}
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!