To view or list all UDTs in a single-Region keyspace, you can query the table system_schema_mcs.types
in the system keyspace
using a statement in CQL, or use the get-type
and list-type
commands with the AWS CLI, or the console.
For either option, the IAM principal needs read permissions to the system keyspace. For more information, see Configure permissions to work with user-defined types (UDTs) in Amazon Keyspaces.
View user-defined types (UDT) with the Amazon Keyspaces console
-
Sign in to the AWS Management Console, and open the Amazon Keyspaces console at https://console.aws.amazon.com/keyspaces/home
. In the navigation pane, choose Keyspaces, and then choose a keyspace from the list.
Choose the UDTs tab to review the list of all UDTs in the keyspace.
To review one UDT in detail, choose a UDT from the list.
On the Schematab you can review the schema. On the Used in tab you can see if this UDT is used in tables or other UDTs. Note that you can only delete UDTs that are not in use by either tables or other UDTs.