aws-appsync-rds-aurora-sample icon indicating copy to clipboard operation
aws-appsync-rds-aurora-sample copied to clipboard

[Question] Batch insert support with Aurora Data Source

Open sandeepmistry opened this issue 5 years ago • 0 comments

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.

sandeepmistry avatar Jun 09 '20 21:06 sandeepmistry