amazon-archives/aws-appsync-rds-aurora-sample

[Question] Batch insert support with Aurora Data Source

sandeepmistry opened this issue · 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.