Skip to content

The DeleteType operation deletes a user-defined type (UDT)

Description

The delete_type operation deletes a user-defined type (UDT). You can only delete a type that is not used in a table or another UDT.

To configure the required permissions, see Permissions to delete a UDT in the Amazon Keyspaces Developer Guide.

Usage

keyspaces_delete_type(keyspaceName, typeName)

Arguments

  • keyspaceName

    [required] The name of the keyspace of the to be deleted type.

  • typeName

    [required] The name of the type to be deleted.

Value

A list with the following syntax:

list(
  keyspaceArn = "string",
  typeName = "string"
)

Request syntax

svc$delete_type(
  keyspaceName = "string",
  typeName = "string"
)