Questions tagged with AWS AppSync
Content language: English
Select up to 5 tags to filter
Sort by most recent
Browse through the questions and answers listed below or filter and sort to narrow down your results.
I'm trying to setup an authorization function for a specific request (here: topic subscription for push notifications). The function should be invoked anytime when someone calls the corresponding...
1
answers
0
votes
918
views
asked a year agolg...
I'm trying to getUser with Id through Amplify.API
My schema :
```
type User @model @searchable @auth(rules: [{ allow: owner,ownerField: "id", operations: [create, read, delete, update]}, { allow:...
0
answers
0
votes
126
views
asked a year agolg...
Where has the option of configuring request and response mapping template gone when creating a resolver for your data source? The way it was done in VTL?
0
answers
0
votes
106
views
asked a year agolg...
I want to write some logic like fetch post with time limit 1 day(created date) and if the list of items are smaller then 20 then fetch the post within 2 days(created date).
like:
```
const params =...
1
answers
0
votes
266
views
asked a year agolg...
I just want to compare something like ```post tag ["bird","fruits","books"]``` with ```user interest ["cars","software","laptop","movies","books","coding"]``` look one element of each array is...
0
answers
0
votes
91
views
asked a year agolg...
I created several custom mutations and queries as below and set their output to non-@model type.
```
type someOutput {
a : Int
b: String
}
type Mutation {
someMutation(
input: someInput!
...
1
answers
0
votes
515
views
asked a year agolg...
I want to use Amplify Datastore only for caching the data, kind of fetching data through API and storing them in Datastore for a short period. I don't want any sync.
0
answers
0
votes
77
views
asked a year agolg...
I want to query data from dynamoDB using GSI and sort key through Amplify Datastore. Is this possible?
0
answers
0
votes
152
views
asked a year agolg...
Before It was easy to write queries in request template and response template using statements. Now appsync resolver is connected to pipeline where the code has to be written. I am unable to figure...
0
answers
0
votes
53
views
asked a year agolg...
I have the following models:
```
type Field @model {
id: ID!
fieldID: ID @index(name: "byField", sortKeyFields: ["name"])
name: String!
type: String!
required: Boolean
fields: [Field]...
0
answers
0
votes
81
views
asked a year agolg...
Hello,
The aws-mobile-appsync-sdk-js provides some tooling to let you use Apollo graphql client with Appsync. I'd like to use Apollo v3 client, but the docs say there's no offline support...
0
answers
0
votes
111
views
asked a year agolg...
I'm using lambda to query items my issues are:
```
const now = new Date();
const isoString = now.toISOString();
const params = {
TableName: 'Todo-xxxxxxxxxxxxxxxxxxxx-dev',
IndexName:...
1
answers
0
votes
371
views
asked a year agolg...