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

177
Views
"Subscribe only available for AWS AppSync endpoint" for apollo-client version3.x

here is my refrence https://github.com/awslabs/aws-mobile-appsync-sdk-js#using-authorization-and-subscription-links-with-apollo-client-v3-no-offline-support I am using apollo client version3.x

Here is code.

const auth = {
    type: 'AMAZON_COGNITO_USER_POOLS',
    jwtToken: async () => getToken()
}
const region = 'xx-xxxx-1';
const httpLink = createHttpLink({
    uri: URL,
});
const authLink = createAuthLink({
    url: URL,
    region: region,
    auth: auth
})
const wsLink = createSubscriptionHandshakeLink({ URL, region, auth }, httpLink)

const splitLink = ApolloLink.from([
    authLink,
    wsLink,
  ]);

const apollo_client = new ApolloClient({
    link: splitLink,
    cache: new InMemoryCache(),
});
about 4 years ago · Juan Pablo Isaza
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!