DynamoDB key shape for relation edges.
Partition key encoding entity/relation/direction.
Sort key identifying the opposite entity id.
DynamoDB key shape for relation edges.