Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

[Question] Batch insert support with Aurora Data Source #17

Open
sandeepmistry opened this issue Jun 9, 2020 · 0 comments
Open

[Question] Batch insert support with Aurora Data Source #17

sandeepmistry opened this issue Jun 9, 2020 · 0 comments

Comments

@sandeepmistry
Copy link

Is it possible to perform a batch execution insert using AppSync with an Aurora Data Source?

There is a Tutorial: DynamoDB Transaction Resolvers but I could not find the same for Aurora.

Here's an example of a schema I would like to use:

        type LambdaMetric {
          id: ID!
          documentClassificationId: ID!
          timestamp: Int!
          isActive: Boolean!
          stackName: String!
          functionName: String!
          version: Int!
          elapsedTime: Int!
        }

        input LambdaMetricInput {
          documentClassificationId: ID!
          timestamp: Int!
          isActive: Boolean!
          stackName: String!
          functionName: String!
          version: Int!
          elapsedTime: Int!
        }

        type Mutation {
          addLambdaMetrics(input: [LambdaMetricInput!]!): [LambdaMetric!]!
        }

I'm currently using boto3's rds-data batch_execute_statement and would like to port my application to AppSync + Aurora.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant