Represents an operation to perform - either DeleteItem or PutItem . You can only specify one of these operations, not both, in a single WriteRequest . If you do need to perform both of these operations, you will need to specify two separate WriteRequest objects.