mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
Several API-s, e.g. TagResource, UntagResource and ListTagsOfResource rely on identifying tables by their "Arn". According to the docs, an Arn should uniquely identify a resource, so it's implemented as: arn:KEYSPACE_NAME:TABLE_NAME which is a minimal set of information that uniquely identifies a table in Scylla. The `arn:` prefix is needed for compatibility purposes. This commit adds a simple function for generating the Arn string, and also includes it in DescribeTable result under the TableArn attribute. Refs #5066